Commit cb674f51 authored by Philipp Sommer's avatar Philipp Sommer
Browse files

minor type checking fix

parent f5d8a983
Pipeline #38150 failed with stage
in 35 seconds
...@@ -107,7 +107,7 @@ class BaseReport(BaseModel): ...@@ -107,7 +107,7 @@ class BaseReport(BaseModel):
""" """
combined_type: Any = cls combined_type: Any = cls
combined_type = cls._combine_subclasses(combined_type) combined_type = cls._combine_subclasses(combined_type)
Model: Type[BaseModel] = create_model( Model: Type[BaseReport] = create_model(
"Report", "Report",
__root__=(combined_type, Field(description="Report type")), __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