File tree Expand file tree Collapse file tree 4 files changed +18
-0
lines changed
scaleway-async/scaleway_async/inference/v1beta1
scaleway/scaleway/inference/v1beta1 Expand file tree Collapse file tree 4 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,10 @@ def unmarshal_Deployment(data: Any) -> Deployment:
153153 if field is not None :
154154 args ["model_name" ] = field
155155
156+ field = data .get ("model_id" , None )
157+ if field is not None :
158+ args ["model_id" ] = field
159+
156160 field = data .get ("region" , None )
157161 if field is not None :
158162 args ["region" ] = field
Original file line number Diff line number Diff line change @@ -220,6 +220,11 @@ class Deployment:
220220 The inference model used for the deployment.
221221 """
222222
223+ model_id : str
224+ """
225+ ID of the model used for the deployment.
226+ """
227+
223228 region : Region
224229 """
225230 Region of the deployment.
Original file line number Diff line number Diff line change @@ -153,6 +153,10 @@ def unmarshal_Deployment(data: Any) -> Deployment:
153153 if field is not None :
154154 args ["model_name" ] = field
155155
156+ field = data .get ("model_id" , None )
157+ if field is not None :
158+ args ["model_id" ] = field
159+
156160 field = data .get ("region" , None )
157161 if field is not None :
158162 args ["region" ] = field
Original file line number Diff line number Diff line change @@ -220,6 +220,11 @@ class Deployment:
220220 The inference model used for the deployment.
221221 """
222222
223+ model_id : str
224+ """
225+ ID of the model used for the deployment.
226+ """
227+
223228 region : Region
224229 """
225230 Region of the deployment.
You can’t perform that action at this time.
0 commit comments