generated from pyiron/pyiron_module_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I think it would help readability if _to_node_dict_entry were complete and returned a full node-dict entry. This would make it easier to draw a connection to a Function dataclass. By the same token, it appears to specifically mean a function node dict entry, as the composite workflow entries are handled in the previous clause, so a more specific name would help.
Also, the second if hasattr(func, "_semantikon_metadata"): should be redundant -- we can move it's body inside the first clause.
Metadata
Metadata
Assignees
Labels
No labels