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
csst-dfs
csst-dfs-commons
Commits
8098354c
Commit
8098354c
authored
Jul 05, 2023
by
Wei Shoulin
Browse files
update sls 2
parent
55f60a37
Changes
1
Show whitespace changes
Inline
Side-by-side
csst_dfs_commons/models/sls.py
View file @
8098354c
import
dataclasses
from
typing
import
Dict
from
.common
import
BaseModel
,
default_field
from
.common
import
BaseModel
@
dataclasses
.
dataclass
class
Level2Spectra
(
BaseModel
):
id
:
int
=
0
level0_id
:
str
=
''
spectra_id
:
str
=
""
level1_id
:
int
=
0
region
:
str
=
""
file_type
:
str
=
""
filename
:
str
=
""
file_path
:
str
=
""
qc2_status
:
int
=
0
...
...
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