Commit dc99466d authored by Wei Shoulin's avatar Wei Shoulin
Browse files

update cols

parent 71125392
Pipeline #4316 passed with stage
...@@ -12,10 +12,6 @@ class Observation(BaseModel): ...@@ -12,10 +12,6 @@ class Observation(BaseModel):
obs_type: str="" obs_type: str=""
facility_status_id: int = 0 facility_status_id: int = 0
module_status_id: int = 0 module_status_id: int = 0
qc0_status: int = 0
qc0_time: str=""
prc_status: int = 0
prc_time: str=""
create_time: str="" create_time: str=""
import_status: int = 0 import_status: int = 0
...@@ -126,7 +122,6 @@ class Level0Record(BaseModel): ...@@ -126,7 +122,6 @@ class Level0Record(BaseModel):
prc_status: int = 0 prc_status: int = 0
prc_time: str="" prc_time: str=""
create_time: str="" create_time: str=""
header: Dict[str,object] = default_field({})
@dataclasses.dataclass @dataclasses.dataclass
class Level0PrcRecord(BaseModel): class Level0PrcRecord(BaseModel):
...@@ -143,11 +138,9 @@ class Level0PrcRecord(BaseModel): ...@@ -143,11 +138,9 @@ class Level0PrcRecord(BaseModel):
class Level1Record(BaseModel): class Level1Record(BaseModel):
id: int = 0 id: int = 0
level0_id : str = "" level0_id : str = ""
level1_id : str = ""
file_type: str="" file_type: str=""
cor_sci_id: int = 0
module_id: str = "" module_id: str = ""
prc_params: str=""
filter: str=""
filename : str="" filename : str=""
file_path: str="" file_path: str=""
qc1_status: int = 0 qc1_status: int = 0
...@@ -159,7 +152,6 @@ class Level1Record(BaseModel): ...@@ -159,7 +152,6 @@ class Level1Record(BaseModel):
detector_no: str="" detector_no: str=""
pmapname: str="" pmapname: str=""
build: int=0 build: int=0
header: Dict[str,object] = default_field({})
refs: Dict[str,str] = default_field({}) refs: Dict[str,str] = default_field({})
@dataclasses.dataclass @dataclasses.dataclass
......
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