Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ prepare
Function
prepare
celery/local.py:527–530 ·
view source on GitHub ↗
(attr)
Source
from the content-addressed store, hash-verified
525
526
def
get_compat_module(pkg, name):
527
def
prepare(attr):
528
if
isinstance(attr, str):
529
return
Proxy(getappattr, (attr,))
530
return
attr
531
532
attrs = COMPAT_MODULES[pkg.__name__][name]
533
if
isinstance(attrs, str):
Callers
nothing calls this directly
Calls
1
Proxy
Class · 0.85
Tested by
no test coverage detected