Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ Model
Class
Model
t/unit/app/test_app.py:888–889 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
886
""
"Test a pydantic task with where Pydantic has to apply non-strict validation."
""
887
888
class
Model(BaseModel):
889
value: timedelta
890
891
with
self.Celery()
as
app:
892
check = Mock()
Callers
4
foo
Method · 0.85
test_task_with_pydantic_with_non_strict_validation
Method · 0.85
task
Method · 0.85
test_task_with_pydantic_with_models_passed_by_caller_eager
Method · 0.85
Calls
no outgoing calls
Tested by
4
foo
Method · 0.68
test_task_with_pydantic_with_non_strict_validation
Method · 0.68
task
Method · 0.68
test_task_with_pydantic_with_models_passed_by_caller_eager
Method · 0.68