Commit 29035ec1 authored by Philipp Sommer's avatar Philipp Sommer
Browse files

minor type checking fix

parent cb674f51
Pipeline #38162 passed with stage
in 37 seconds
......@@ -107,7 +107,7 @@ class BaseReport(BaseModel):
"""
combined_type: Any = cls
combined_type = cls._combine_subclasses(combined_type)
Model: Type[BaseReport] = create_model(
Model: Type[BaseReport] = create_model( # type: ignore
"Report",
__root__=(combined_type, Field(description="Report type")),
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment