MCPcopy
hub / github.com/celery/celery / setup

Function setup

docs/_ext/celerydocs.py:151–180  ·  view source on GitHub ↗
(app)

Source from the content-addressed store, hash-verified

149
150
151def setup(app):
152 app.connect(
153 'missing-reference',
154 maybe_resolve_abbreviations,
155 )
156
157 app.add_crossref_type(
158 directivename='sig',
159 rolename='sig',
160 indextemplate='pair: %s; sig',
161 )
162 app.add_crossref_type(
163 directivename='state',
164 rolename='state',
165 indextemplate='pair: %s; state',
166 )
167 app.add_crossref_type(
168 directivename='control',
169 rolename='control',
170 indextemplate='pair: %s; control',
171 )
172 app.add_crossref_type(
173 directivename='event',
174 rolename='event',
175 indextemplate='pair: %s; event',
176 )
177
178 return {
179 'parallel_read_safe': True
180 }

Callers 2

_chord_contextMethod · 0.50
setup.pyFile · 0.50

Calls 1

connectMethod · 0.45

Tested by 1

_chord_contextMethod · 0.40