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

Method task

t/unit/app/test_app.py:968–970  ·  view source on GitHub ↗
(arg: ArgModel)

Source from the content-addressed store, hash-verified

966
967 @app.task(pydantic=True)
968 def task(arg: ArgModel):
969 check(arg)
970 return 1
971
972 assert task({'value': 1}) == 1
973

Callers 8

test_taskMethod · 0.45
test_not_implementedMethod · 0.45
test_taskMethod · 0.45
setup_methodMethod · 0.45

Calls 2

RetModelClass · 0.85
ModelClass · 0.85

Tested by

no test coverage detected