MCPcopy
hub / github.com/celery/celery / DOT

Class DOT

celery/utils/graph.py:10–22  ·  view source on GitHub ↗

Constants related to the dot format.

Source from the content-addressed store, hash-verified

8
9
10class DOT:
11 """Constants related to the dot format."""
12
13 HEAD = dedent("""
14 {IN}{type} {id} {{
15 {INp}graph [{attrs}]
16 """)
17 ATTR = '{name}={value}'
18 NODE = '{INp}"{0}" [{attrs}]'
19 EDGE = '{INp}"{0}" {dir} "{1}" [{attrs}]'
20 ATTRSEP = ', '
21 DIRS = {'graph': '--', 'digraph': '->'}
22 TAIL = '{IN}}}'
23
24
25class CycleError(Exception):

Callers

nothing calls this directly

Calls 1

dedentFunction · 0.85

Tested by

no test coverage detected