Commit 5ce5330e authored by Philipp Sommer's avatar Philipp Sommer
Browse files

Resolve "Job Failed #297484"

parent cb76b4ad
......@@ -72,6 +72,8 @@ class BaseReport(BaseModel):
repr=False,
)
__root__: BaseReport
def __init__(
self,
*args,
......@@ -105,7 +107,7 @@ class BaseReport(BaseModel):
"""
combined_type: Any = cls
combined_type = cls._combine_subclasses(combined_type)
Model: Type[BaseModel] = create_model(
Model: Type[BaseReport] = create_model( # type: ignore
"Report",
__root__=(combined_type, Field(description="Report type")),
)
......
......@@ -53,13 +53,8 @@ dev =
mypy
[options.package_data]
demessaging =
deprogressapi =
py.typed
templates/*.py.jinja2
[options.entry_points]
console_scripts =
de-backend = demessaging.__main__:_main
[mypy]
......
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