Skip to content

Commit cc833a6

Browse files
committed
FIX(OP) fakse also __qualname__ as funcs
1 parent c1f75c2 commit cc833a6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

graphtik/fnop.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,8 @@ def __init__(
340340
#: any "parents split by dots(``.``)".
341341
#: :seealso: :ref:`operation-nesting`
342342
self.name = name
343+
#: Fake function attributes.
344+
self.__qualname__ = name
343345

344346
#: The :term:`needs` almost as given by the user
345347
#: (which may contain MULTI-sideffecteds and dupes),

graphtik/pipeline.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ def __init__(
173173

174174
## Set data asap, for debugging, although `net.withset()` will reset them.
175175
self.name = name
176+
#: Fake function attributes.
177+
self.__qualname__ = name
176178
# Remember Outputs for future `compute()`?
177179
self.outputs = outputs
178180
self.predicate = predicate

0 commit comments

Comments
 (0)