Skip to content

Commit

Permalink
Add basic logging on when process is called on a node
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Oct 21, 2022
1 parent 1822c49 commit 0b2a727
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plottr/node/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ def validateOptions(self, data: DataDictBase) -> bool:
# TODO: should think about nodes with multiple inputs -- how would this look then?
# FIXME: return should only be Optional[Dict[str, DataDictBase]]
def process(self, dataIn: Optional[DataDictBase]=None) -> Optional[Dict[str, Optional[DataDictBase]]]:
self.node_logger.debug(f"Processing data with node: {self.nodeName}")
if dataIn is None:
return None

Expand Down

0 comments on commit 0b2a727

Please sign in to comment.