genai.deployment.deployment_service module#
- class genai.deployment.deployment_service.DeploymentService[source]#
Bases:
BaseService
[BaseServiceConfig
,BaseServiceServices
]- create(*, tune_id)[source]#
- Raises:
ApiResponseException – In case of a known API error.
ApiNetworkException – In case of unhandled network error.
- Parameters:
tune_id (str) –
- Return type:
- delete(id)[source]#
- Raises:
ApiResponseException – In case of a known API error.
ApiNetworkException – In case of unhandled network error.
- Parameters:
id (str) –
- Return type:
None
- list(*, id=None, limit=None, offset=None)[source]#
- Raises:
ApiResponseException – In case of a known API error.
ApiNetworkException – In case of unhandled network error.
- Parameters:
id (list[str] | None) –
limit (int | None) –
offset (int | None) –
- Return type:
- retrieve(id)[source]#
- Raises:
ApiResponseException – In case of a known API error.
ApiNetworkException – In case of unhandled network error.
- Parameters:
id (str) –
- Return type: