Skip to content
Open
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.1.0
- Package version: 4.23.1
- Package version: 4.24.0
- Generator version: 7.9.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

Expand Down Expand Up @@ -171,14 +171,14 @@ Class | Method | HTTP request | Description
- [ClusterRegistrationRequest](docs/ClusterRegistrationRequest.md)
- [ClusterRegistrationResponse](docs/ClusterRegistrationResponse.md)
- [ConfigFileMount](docs/ConfigFileMount.md)
- [CreateBlockVolumeRequest](docs/CreateBlockVolumeRequest.md)
- [CreateCServeV2DeploymentResponse](docs/CreateCServeV2DeploymentResponse.md)
- [CreateCServeV3DeploymentRequest](docs/CreateCServeV3DeploymentRequest.md)
- [CreateCServeV3DeploymentResponse](docs/CreateCServeV3DeploymentResponse.md)
- [CreateComputeDeploymentRequest](docs/CreateComputeDeploymentRequest.md)
- [CreateComputeDeploymentResponse](docs/CreateComputeDeploymentResponse.md)
- [CreateDynamoDeploymentRequest](docs/CreateDynamoDeploymentRequest.md)
- [CreateDynamoDeploymentResponse](docs/CreateDynamoDeploymentResponse.md)
- [CreateFilesystemVolumeRequest](docs/CreateFilesystemVolumeRequest.md)
- [CreateHardwareInstanceRequest](docs/CreateHardwareInstanceRequest.md)
- [CreateInferenceDeploymentResponse](docs/CreateInferenceDeploymentResponse.md)
- [CreateInferenceV3DeploymentRequest](docs/CreateInferenceV3DeploymentRequest.md)
Expand All @@ -205,7 +205,6 @@ Class | Method | HTTP request | Description
- [FinalStack](docs/FinalStack.md)
- [FluentBit](docs/FluentBit.md)
- [GenerateServiceAccountSecretResponse](docs/GenerateServiceAccountSecretResponse.md)
- [GetBlockVolumeResponse](docs/GetBlockVolumeResponse.md)
- [GetCServeV2DeploymentResponse](docs/GetCServeV2DeploymentResponse.md)
- [GetCServeV3DeploymentResponse](docs/GetCServeV3DeploymentResponse.md)
- [GetClusterResponse](docs/GetClusterResponse.md)
Expand All @@ -215,6 +214,7 @@ Class | Method | HTTP request | Description
- [GetDeploymentRevisionResponse](docs/GetDeploymentRevisionResponse.md)
- [GetDeploymentUsageResponse](docs/GetDeploymentUsageResponse.md)
- [GetDynamoDeploymentResponse](docs/GetDynamoDeploymentResponse.md)
- [GetFilesystemVolumeResponse](docs/GetFilesystemVolumeResponse.md)
- [GetInferenceDeploymentResponse](docs/GetInferenceDeploymentResponse.md)
- [GetInferenceV3DeploymentResponse](docs/GetInferenceV3DeploymentResponse.md)
- [GetJobDeploymentResponse](docs/GetJobDeploymentResponse.md)
Expand Down
33 changes: 0 additions & 33 deletions docs/CreateBlockVolumeRequest.md

This file was deleted.

33 changes: 33 additions & 0 deletions docs/CreateFilesystemVolumeRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# CreateFilesystemVolumeRequest


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | |
**cluster_id** | **int** | |
**backend** | **str** | |
**size_gb** | **int** | | [optional] [default to 100]
**storage_class** | **str** | | [optional]

## Example

```python
from platform_api_python_client.models.create_filesystem_volume_request import CreateFilesystemVolumeRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CreateFilesystemVolumeRequest from a JSON string
create_filesystem_volume_request_instance = CreateFilesystemVolumeRequest.from_json(json)
# print the JSON string representation of the object
print(CreateFilesystemVolumeRequest.to_json())

# convert the object into a dict
create_filesystem_volume_request_dict = create_filesystem_volume_request_instance.to_dict()
# create an instance of CreateFilesystemVolumeRequest from a dict
create_filesystem_volume_request_from_dict = CreateFilesystemVolumeRequest.from_dict(create_filesystem_volume_request_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


2 changes: 2 additions & 0 deletions docs/DeploymentComponentType.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@
* `EPP` (value: `'epp'`)

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


2 changes: 1 addition & 1 deletion docs/EXTERNALApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ Name | Type | Description | Notes

Create Volume Endpoint

Create a volume. Only the block backend is provisioned; object lands in CCL-147.
Create a volume. Only the filesystem backend is provisioned; object lands in CCL-147.

### Example

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# GetBlockVolumeResponse
# GetFilesystemVolumeResponse


## Properties
Expand All @@ -14,24 +14,25 @@ Name | Type | Description | Notes
**pvc_name** | **str** | |
**created_at** | **datetime** | |
**size_gb** | **int** | |
**storage_class** | **str** | |
**storage_class** | **str** | |

## Example

```python
from platform_api_python_client.models.get_block_volume_response import GetBlockVolumeResponse
from platform_api_python_client.models.get_filesystem_volume_response import GetFilesystemVolumeResponse

# TODO update the JSON string below
json = "{}"
# create an instance of GetBlockVolumeResponse from a JSON string
get_block_volume_response_instance = GetBlockVolumeResponse.from_json(json)
# create an instance of GetFilesystemVolumeResponse from a JSON string
get_filesystem_volume_response_instance = GetFilesystemVolumeResponse.from_json(json)
# print the JSON string representation of the object
print(GetBlockVolumeResponse.to_json())
print(GetFilesystemVolumeResponse.to_json())

# convert the object into a dict
get_block_volume_response_dict = get_block_volume_response_instance.to_dict()
# create an instance of GetBlockVolumeResponse from a dict
get_block_volume_response_from_dict = GetBlockVolumeResponse.from_dict(get_block_volume_response_dict)
get_filesystem_volume_response_dict = get_filesystem_volume_response_instance.to_dict()
# create an instance of GetFilesystemVolumeResponse from a dict
get_filesystem_volume_response_from_dict = GetFilesystemVolumeResponse.from_dict(get_filesystem_volume_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


3 changes: 2 additions & 1 deletion docs/GetVolumeResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Name | Type | Description | Notes
**pvc_name** | **str** | |
**created_at** | **datetime** | |
**size_gb** | **int** | |
**storage_class** | **str** | |
**storage_class** | **str** | |
**provider** | [**ObjectStorageProvider**](ObjectStorageProvider.md) | |
**bucket** | **str** | |
**region** | **str** | |
Expand Down Expand Up @@ -42,3 +42,4 @@ get_volume_response_from_dict = GetVolumeResponse.from_dict(get_volume_response_
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


4 changes: 3 additions & 1 deletion docs/PodDetails.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | | [optional]
**revision_number** | **int** | | [optional]
**component_type** | [**DeploymentComponentType**](DeploymentComponentType.md) | | [optional]
**component_type** | [**DeploymentComponentType**](DeploymentComponentType.md) | | [optional]
**status** | [**PodStatus**](PodStatus.md) | |
**error_message** | **str** | | [optional]

Expand All @@ -29,3 +29,5 @@ pod_details_dict = pod_details_instance.to_dict()
pod_details_from_dict = PodDetails.from_dict(pod_details_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


2 changes: 0 additions & 2 deletions docs/VolumeAccessMode.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

## Enum

* `READWRITEONCE` (value: `'ReadWriteOnce'`)

* `READWRITEMANY` (value: `'ReadWriteMany'`)

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/VolumeBackend.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## Enum

* `BLOCK` (value: `'block'`)
* `FILESYSTEM` (value: `'filesystem'`)

* `OBJECT` (value: `'object'`)

Expand Down
6 changes: 3 additions & 3 deletions platform_api_python_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
""" # noqa: E501


__version__ = "4.23.1"
__version__ = "4.24.0"

# import apis into sdk package
from platform_api_python_client.api.external_api import EXTERNALApi
Expand Down Expand Up @@ -45,14 +45,14 @@
from platform_api_python_client.models.cluster_registration_request import ClusterRegistrationRequest
from platform_api_python_client.models.cluster_registration_response import ClusterRegistrationResponse
from platform_api_python_client.models.config_file_mount import ConfigFileMount
from platform_api_python_client.models.create_block_volume_request import CreateBlockVolumeRequest
from platform_api_python_client.models.create_c_serve_v2_deployment_response import CreateCServeV2DeploymentResponse
from platform_api_python_client.models.create_c_serve_v3_deployment_request import CreateCServeV3DeploymentRequest
from platform_api_python_client.models.create_c_serve_v3_deployment_response import CreateCServeV3DeploymentResponse
from platform_api_python_client.models.create_compute_deployment_request import CreateComputeDeploymentRequest
from platform_api_python_client.models.create_compute_deployment_response import CreateComputeDeploymentResponse
from platform_api_python_client.models.create_dynamo_deployment_request import CreateDynamoDeploymentRequest
from platform_api_python_client.models.create_dynamo_deployment_response import CreateDynamoDeploymentResponse
from platform_api_python_client.models.create_filesystem_volume_request import CreateFilesystemVolumeRequest
from platform_api_python_client.models.create_hardware_instance_request import CreateHardwareInstanceRequest
from platform_api_python_client.models.create_inference_deployment_response import CreateInferenceDeploymentResponse
from platform_api_python_client.models.create_inference_v3_deployment_request import CreateInferenceV3DeploymentRequest
Expand All @@ -79,7 +79,6 @@
from platform_api_python_client.models.final_stack import FinalStack
from platform_api_python_client.models.fluent_bit import FluentBit
from platform_api_python_client.models.generate_service_account_secret_response import GenerateServiceAccountSecretResponse
from platform_api_python_client.models.get_block_volume_response import GetBlockVolumeResponse
from platform_api_python_client.models.get_c_serve_v2_deployment_response import GetCServeV2DeploymentResponse
from platform_api_python_client.models.get_c_serve_v3_deployment_response import GetCServeV3DeploymentResponse
from platform_api_python_client.models.get_cluster_response import GetClusterResponse
Expand All @@ -89,6 +88,7 @@
from platform_api_python_client.models.get_deployment_revision_response import GetDeploymentRevisionResponse
from platform_api_python_client.models.get_deployment_usage_response import GetDeploymentUsageResponse
from platform_api_python_client.models.get_dynamo_deployment_response import GetDynamoDeploymentResponse
from platform_api_python_client.models.get_filesystem_volume_response import GetFilesystemVolumeResponse
from platform_api_python_client.models.get_inference_deployment_response import GetInferenceDeploymentResponse
from platform_api_python_client.models.get_inference_v3_deployment_response import GetInferenceV3DeploymentResponse
from platform_api_python_client.models.get_job_deployment_response import GetJobDeploymentResponse
Expand Down
24 changes: 15 additions & 9 deletions platform_api_python_client/api/external_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3073,7 +3073,7 @@ def create_volume_endpoint_volumes_post(
) -> GetVolumeResponse:
"""Create Volume Endpoint

Create a volume. Only the block backend is provisioned; object lands in CCL-147.
Create a volume. Only the filesystem backend is provisioned; object lands in CCL-147.

:param create_volume_request: (required)
:type create_volume_request: CreateVolumeRequest
Expand Down Expand Up @@ -3141,7 +3141,7 @@ def create_volume_endpoint_volumes_post_with_http_info(
) -> ApiResponse[GetVolumeResponse]:
"""Create Volume Endpoint

Create a volume. Only the block backend is provisioned; object lands in CCL-147.
Create a volume. Only the filesystem backend is provisioned; object lands in CCL-147.

:param create_volume_request: (required)
:type create_volume_request: CreateVolumeRequest
Expand Down Expand Up @@ -3209,7 +3209,7 @@ def create_volume_endpoint_volumes_post_without_preload_content(
) -> RESTResponseType:
"""Create Volume Endpoint

Create a volume. Only the block backend is provisioned; object lands in CCL-147.
Create a volume. Only the filesystem backend is provisioned; object lands in CCL-147.

:param create_volume_request: (required)
:type create_volume_request: CreateVolumeRequest
Expand Down Expand Up @@ -5965,7 +5965,7 @@ def get_credits_credits_get(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> CreditsResponse:
"""Get Credits
"""(Deprecated) Get Credits


:param _request_timeout: timeout setting for this request. If one
Expand All @@ -5989,6 +5989,7 @@ def get_credits_credits_get(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /credits is deprecated.", DeprecationWarning)

_param = self._get_credits_credits_get_serialize(
_request_auth=_request_auth,
Expand Down Expand Up @@ -6027,7 +6028,7 @@ def get_credits_credits_get_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[CreditsResponse]:
"""Get Credits
"""(Deprecated) Get Credits


:param _request_timeout: timeout setting for this request. If one
Expand All @@ -6051,6 +6052,7 @@ def get_credits_credits_get_with_http_info(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /credits is deprecated.", DeprecationWarning)

_param = self._get_credits_credits_get_serialize(
_request_auth=_request_auth,
Expand Down Expand Up @@ -6089,7 +6091,7 @@ def get_credits_credits_get_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Get Credits
"""(Deprecated) Get Credits


:param _request_timeout: timeout setting for this request. If one
Expand All @@ -6113,6 +6115,7 @@ def get_credits_credits_get_without_preload_content(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /credits is deprecated.", DeprecationWarning)

_param = self._get_credits_credits_get_serialize(
_request_auth=_request_auth,
Expand Down Expand Up @@ -10668,7 +10671,7 @@ def get_usage_daily_bills_get(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ListDailyBillResponse:
"""Get Usage
"""(Deprecated) Get Usage


:param start_date: (required)
Expand Down Expand Up @@ -10696,6 +10699,7 @@ def get_usage_daily_bills_get(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /daily_bills is deprecated.", DeprecationWarning)

_param = self._get_usage_daily_bills_get_serialize(
start_date=start_date,
Expand Down Expand Up @@ -10739,7 +10743,7 @@ def get_usage_daily_bills_get_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[ListDailyBillResponse]:
"""Get Usage
"""(Deprecated) Get Usage


:param start_date: (required)
Expand Down Expand Up @@ -10767,6 +10771,7 @@ def get_usage_daily_bills_get_with_http_info(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /daily_bills is deprecated.", DeprecationWarning)

_param = self._get_usage_daily_bills_get_serialize(
start_date=start_date,
Expand Down Expand Up @@ -10810,7 +10815,7 @@ def get_usage_daily_bills_get_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Get Usage
"""(Deprecated) Get Usage


:param start_date: (required)
Expand Down Expand Up @@ -10838,6 +10843,7 @@ def get_usage_daily_bills_get_without_preload_content(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /daily_bills is deprecated.", DeprecationWarning)

_param = self._get_usage_daily_bills_get_serialize(
start_date=start_date,
Expand Down
2 changes: 1 addition & 1 deletion platform_api_python_client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/4.23.1/python'
self.user_agent = 'OpenAPI-Generator/4.24.0/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion platform_api_python_client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 0.1.0\n"\
"SDK Package Version: 4.23.1".\
"SDK Package Version: 4.24.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
Loading
Loading