in pythonflow/core.py [0:0]
def __init__(self, *args, length=None, graph=None, name=None, dependencies=None, **kwargs):
self.args = args
self.kwargs = kwargs
self.length = length
self.graph = Graph.get_active_graph(graph)
# Choose a name for the operation and add the operation to the graph
self._name = None
self.name = name or uuid.uuid4().hex
# Get a list of all dependencies relevant to this operation
self.dependencies = [] if dependencies is None else dependencies
self.dependencies.extend(self.graph.dependencies)
# Get the stack context so we can report where the operation was defined
self._stack = traceback.extract_stack()