MCPcopy Create free account
hub / github.com/celery/celery / _get_prefix

Method _get_prefix

celery/bootsteps.py:57–62  ·  view source on GitHub ↗
(self, step)

Source from the content-addressed store, hash-verified

55 )
56
57 def _get_prefix(self, step):
58 if step.last:
59 return self.blueprint_prefix
60 if step.conditional:
61 return self.conditional_prefix
62 return ''
63
64 def node(self, obj, **attrs):
65 scheme = self.blueprint_scheme if obj.last else self.node_scheme

Callers 2

test_get_prefixMethod · 0.95
labelMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_get_prefixMethod · 0.76