支持增加 删除行

This commit is contained in:
leo
2024-03-07 20:48:30 +08:00
parent 71068f00dd
commit d785084cfd
2 changed files with 40 additions and 4 deletions

View File

@@ -25,3 +25,16 @@ class BatchDataRead(BatchDataBase):
orm_mode = True
class BatchDataCreate(BatchDataBase):
year: int | None = 2024
census_batch: str | None = '' # 普查批次
id_code: str | None = '' # 编号
precision: str | None = '' # 精度
is_train: bool | None = True
is_validation: bool | None = False
ann_file: str | None = ''
ann_file_lbs: str | None = ''
img_prefix: str | None = ''
filter_empty_gt: bool | None = False
update_cache: bool | None = False