We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f44899 commit a85d544Copy full SHA for a85d544
packages/service-library/src/servicelib/celery/models.py
@@ -69,10 +69,10 @@ def _check_valid_filters(self) -> Self:
69
if any(x in f"{value}" for x in _FORBIDDEN_VALUES):
70
raise ValueError(f"Invalid filter value for key '{key}': '{value}'")
71
72
- class _ValidationModel(BaseModel):
+ class _TypeValidationModel(BaseModel):
73
filters: dict[str, AllowedTypes]
74
75
- _ValidationModel.model_validate({"filters": self.model_dump()})
+ _TypeValidationModel.model_validate({"filters": self.model_dump()})
76
return self
77
78
def model_dump_task_id(self, task_uuid: TaskUUID | Wildcard) -> TaskID:
0 commit comments