forked from ci4s/pipeline-convert
数据和模型导出增加is_public字段
This commit is contained in:
parent
4beee720ee
commit
974ab11dd7
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue