Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ def unmarshal_Deployment(data: Any) -> Deployment:
if field is not None:
args["model_name"] = field

field = data.get("model_id", None)
if field is not None:
args["model_id"] = field

field = data.get("region", None)
if field is not None:
args["region"] = field
Expand Down
5 changes: 5 additions & 0 deletions scaleway-async/scaleway_async/inference/v1beta1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,11 @@ class Deployment:
The inference model used for the deployment.
"""

model_id: str
"""
ID of the model used for the deployment.
"""

region: Region
"""
Region of the deployment.
Expand Down
4 changes: 4 additions & 0 deletions scaleway/scaleway/inference/v1beta1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ def unmarshal_Deployment(data: Any) -> Deployment:
if field is not None:
args["model_name"] = field

field = data.get("model_id", None)
if field is not None:
args["model_id"] = field

field = data.get("region", None)
if field is not None:
args["region"] = field
Expand Down
5 changes: 5 additions & 0 deletions scaleway/scaleway/inference/v1beta1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,11 @@ class Deployment:
The inference model used for the deployment.
"""

model_id: str
"""
ID of the model used for the deployment.
"""

region: Region
"""
Region of the deployment.
Expand Down