MCPcopy
hub / github.com/celery/celery / task

Method task

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

Source from the content-addressed store, hash-verified

701
702 @app.task(pydantic=True)
703 def task(arg: ArgModel):
704 check(arg)
705 return 1
706
707 assert task({'value': 1}) == 1
708

Callers 8

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

Calls 1

RetModelClass · 0.85

Tested by

no test coverage detected