数据和模型导出增加is_public字段

This commit is contained in:
somunslotus 2025-05-13 10:58:35 +08:00
parent 4beee720ee
commit 974ab11dd7
2 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@ type DatasetVersionReq struct {
VersionDesc string `json:"version_desc"`
Owner string `json:"owner"`
DatasetSource string `json:"dataset_source"`
IsPublic bool `json:"is_public" default:"false"`
}
func main() {

View File

@ -32,6 +32,7 @@ type ModelVersionReq struct {
VersionDesc string `json:"version_desc"`
Owner string `json:"owner"`
ModelSource string `json:"model_source"`
IsPublic bool `json:"is_public" default:"false"`
}
func main() {