You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/python/src/mr_openapi/models/model_artifact.py
+35
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,31 @@ class ModelArtifact(BaseModel):
70
70
service_account_name: StrictStr|None=Field(
71
71
default=None, description="Name of the service account with storage secret.", alias="serviceAccountName"
72
72
)
73
+
model_source_kind: StrictStr|None=Field(
74
+
default=None,
75
+
description="A string identifier describing the source kind. It differentiates various sources of model artifacts. This identifier should be agreed upon by producers and consumers of source model metadata. It is not an enumeration to keep the source of model metadata open ended. E.g. Kubeflow pipelines could use `pipelines` to identify models it produces.",
76
+
alias="modelSourceKind",
77
+
)
78
+
model_source_class: StrictStr|None=Field(
79
+
default=None,
80
+
description="A subgroup within the source kind. It is a specific sub-component or instance within the source kind. E.g. `pipelinerun` for a Kubeflow pipeline run.",
81
+
alias="modelSourceClass",
82
+
)
83
+
model_source_group: StrictStr|None=Field(
84
+
default=None,
85
+
description="Unique identifier for a source group for models from source class. It maps to a physical group of source models. E.g. a Kubernetes namespace where the pipeline run was executed.",
86
+
alias="modelSourceGroup",
87
+
)
88
+
model_source_id: StrictStr|None=Field(
89
+
default=None,
90
+
description="A unique identifier for a source model within kind, class, and group. It should be a url friendly string if source supports using URLs to locate source models. E.g. a pipeline run ID.",
91
+
alias="modelSourceId",
92
+
)
93
+
model_source_name: StrictStr|None=Field(
94
+
default=None,
95
+
description="A human-readable name for the source model. E.g. `my-project/1`, `ibm-granite/granite-3.1-8b-base:2.1.2`.",
96
+
alias="modelSourceName",
97
+
)
73
98
__properties: ClassVar[list[str]] = [
74
99
"customProperties",
75
100
"description",
@@ -86,6 +111,11 @@ class ModelArtifact(BaseModel):
Copy file name to clipboardExpand all lines: clients/python/src/mr_openapi/models/model_artifact_create.py
+35
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,31 @@ class ModelArtifactCreate(BaseModel):
59
59
service_account_name: StrictStr|None=Field(
60
60
default=None, description="Name of the service account with storage secret.", alias="serviceAccountName"
61
61
)
62
+
model_source_kind: StrictStr|None=Field(
63
+
default=None,
64
+
description="A string identifier describing the source kind. It differentiates various sources of model artifacts. This identifier should be agreed upon by producers and consumers of source model metadata. It is not an enumeration to keep the source of model metadata open ended. E.g. Kubeflow pipelines could use `pipelines` to identify models it produces.",
65
+
alias="modelSourceKind",
66
+
)
67
+
model_source_class: StrictStr|None=Field(
68
+
default=None,
69
+
description="A subgroup within the source kind. It is a specific sub-component or instance within the source kind. E.g. `pipelinerun` for a Kubeflow pipeline run.",
70
+
alias="modelSourceClass",
71
+
)
72
+
model_source_group: StrictStr|None=Field(
73
+
default=None,
74
+
description="Unique identifier for a source group for models from source class. It maps to a physical group of source models. E.g. a Kubernetes namespace where the pipeline run was executed.",
75
+
alias="modelSourceGroup",
76
+
)
77
+
model_source_id: StrictStr|None=Field(
78
+
default=None,
79
+
description="A unique identifier for a source model within kind, class, and group. It should be a url friendly string if source supports using URLs to locate source models. E.g. a pipeline run ID.",
80
+
alias="modelSourceId",
81
+
)
82
+
model_source_name: StrictStr|None=Field(
83
+
default=None,
84
+
description="A human-readable name for the source model. E.g. `my-project/1`, `ibm-granite/granite-3.1-8b-base:2.1.2`.",
85
+
alias="modelSourceName",
86
+
)
62
87
__properties: ClassVar[list[str]] = [
63
88
"customProperties",
64
89
"description",
@@ -72,6 +97,11 @@ class ModelArtifactCreate(BaseModel):
Copy file name to clipboardExpand all lines: clients/python/src/mr_openapi/models/model_artifact_update.py
+35
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,31 @@ class ModelArtifactUpdate(BaseModel):
55
55
service_account_name: StrictStr|None=Field(
56
56
default=None, description="Name of the service account with storage secret.", alias="serviceAccountName"
57
57
)
58
+
model_source_kind: StrictStr|None=Field(
59
+
default=None,
60
+
description="A string identifier describing the source kind. It differentiates various sources of model artifacts. This identifier should be agreed upon by producers and consumers of source model metadata. It is not an enumeration to keep the source of model metadata open ended. E.g. Kubeflow pipelines could use `pipelines` to identify models it produces.",
61
+
alias="modelSourceKind",
62
+
)
63
+
model_source_class: StrictStr|None=Field(
64
+
default=None,
65
+
description="A subgroup within the source kind. It is a specific sub-component or instance within the source kind. E.g. `pipelinerun` for a Kubeflow pipeline run.",
66
+
alias="modelSourceClass",
67
+
)
68
+
model_source_group: StrictStr|None=Field(
69
+
default=None,
70
+
description="Unique identifier for a source group for models from source class. It maps to a physical group of source models. E.g. a Kubernetes namespace where the pipeline run was executed.",
71
+
alias="modelSourceGroup",
72
+
)
73
+
model_source_id: StrictStr|None=Field(
74
+
default=None,
75
+
description="A unique identifier for a source model within kind, class, and group. It should be a url friendly string if source supports using URLs to locate source models. E.g. a pipeline run ID.",
76
+
alias="modelSourceId",
77
+
)
78
+
model_source_name: StrictStr|None=Field(
79
+
default=None,
80
+
description="A human-readable name for the source model. E.g. `my-project/1`, `ibm-granite/granite-3.1-8b-base:2.1.2`.",
81
+
alias="modelSourceName",
82
+
)
58
83
__properties: ClassVar[list[str]] = [
59
84
"customProperties",
60
85
"description",
@@ -67,6 +92,11 @@ class ModelArtifactUpdate(BaseModel):
0 commit comments