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

Function appstr

celery/app/utils.py:63–65  ·  view source on GitHub ↗

String used in __repr__ etc, to id app instances.

(app)

Source from the content-addressed store, hash-verified

61
62
63def appstr(app):
64 """String used in __repr__ etc, to id app instances."""
65 return f'{app.main or "__main__"} at {id(app):#x}'
66
67
68class Settings(ConfigurationView):

Callers 2

_reprtaskFunction · 0.85
__repr__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected