MCPcopy
hub / github.com/celery/celery / __init__

Method __init__

celery/utils/graph.py:42–46  ·  view source on GitHub ↗
(self, it=None, formatter=None)

Source from the content-addressed store, hash-verified

40 """
41
42 def __init__(self, it=None, formatter=None):
43 self.formatter = formatter or GraphFormatter()
44 self.adjacent = {}
45 if it is not None:
46 self.update(it)
47
48 def add_arc(self, obj):
49 """Add an object to the graph."""

Callers

nothing calls this directly

Calls 2

updateMethod · 0.95
GraphFormatterClass · 0.85

Tested by

no test coverage detected