Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
digitalearth
DASF Data Analytics Software Framework
dasf-progress-api
Commits
cb674f51
Commit
cb674f51
authored
Feb 04, 2022
by
Philipp Sommer
Browse files
minor type checking fix
parent
f5d8a983
Pipeline
#38150
failed with stage
in 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
deprogressapi/base.py
View file @
cb674f51
...
...
@@ -107,7 +107,7 @@ class BaseReport(BaseModel):
"""
combined_type
:
Any
=
cls
combined_type
=
cls
.
_combine_subclasses
(
combined_type
)
Model
:
Type
[
Base
Model
]
=
create_model
(
Model
:
Type
[
Base
Report
]
=
create_model
(
"Report"
,
__root__
=
(
combined_type
,
Field
(
description
=
"Report type"
)),
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment