MCPcopy
hub / github.com/celery/celery / Thread

Class Thread

celery/bin/graph.py:64–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 return self.label()
63
64 class Thread(Node):
65 scheme = {
66 'fillcolor': 'lightcyan4',
67 'fontcolor': 'yellow',
68 'shape': 'oval',
69 'fontsize': 10,
70 'width': 0.3,
71 'color': 'black',
72 }
73
74 def __init__(self, label, **kwargs):
75 self.real_label = label
76 super().__init__(
77 label=f'thr-{next(tids)}',
78 pos=0,
79 )
80
81 class Formatter(GraphFormatter):
82

Callers 2

workersFunction · 0.85

Calls

no outgoing calls

Tested by 1