Skip to content

Commit

Permalink
ci: jenkins push
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins_job committed Nov 16, 2023
1 parent 14b6212 commit d9752de
Show file tree
Hide file tree
Showing 15 changed files with 12 additions and 439 deletions.
2 changes: 0 additions & 2 deletions v1/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ Class | Method | HTTP request | Description
*BuildsApi* | [**get_build**](docs/BuildsApi.md#get_build) | **GET** /builds/{uuid} | Fetch a build
*BuildsApi* | [**get_builds**](docs/BuildsApi.md#get_builds) | **GET** /builds | Fetch builds
*ModelProgramRunsApi* | [**create_model_program_run**](docs/ModelProgramRunsApi.md#create_model_program_run) | **POST** /model_program_runs | Run a model program to alter your models
*ModelProgramRunsApi* | [**create_model_program_run_typed_params**](docs/ModelProgramRunsApi.md#create_model_program_run_typed_params) | **POST** /model_program_runs_typed_params | Run a model program to alter your models with typed params
*ModelProgramRunsApi* | [**get_model_program_run**](docs/ModelProgramRunsApi.md#get_model_program_run) | **GET** /model_program_runs/{uuid} | Get a model program run by UUID
*ModelProgramRunsApi* | [**get_model_program_runs**](docs/ModelProgramRunsApi.md#get_model_program_runs) | **GET** /model_program_runs | Get a list of model program runs based on their uuids
*ModelsApi* | [**download_model**](docs/ModelsApi.md#download_model) | **GET** /models/{uuid}/download | Download a model by UUID
Expand Down Expand Up @@ -149,7 +148,6 @@ Class | Method | HTTP request | Description
- [ModelProgramRunAllOf](docs/ModelProgramRunAllOf.md)
- [ModelProgramRunRequest](docs/ModelProgramRunRequest.md)
- [ModelProgramRunStatusInfo](docs/ModelProgramRunStatusInfo.md)
- [ModelProgramRunTypedRequest](docs/ModelProgramRunTypedRequest.md)
- [ModelProgramRuns](docs/ModelProgramRuns.md)
- [ModelResolveUploadRequest](docs/ModelResolveUploadRequest.md)
- [ModelsResponse](docs/ModelsResponse.md)
Expand Down
1 change: 0 additions & 1 deletion v1/python/carbon3d/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
from carbon3d.models.model_program_run_all_of import ModelProgramRunAllOf
from carbon3d.models.model_program_run_request import ModelProgramRunRequest
from carbon3d.models.model_program_run_status_info import ModelProgramRunStatusInfo
from carbon3d.models.model_program_run_typed_request import ModelProgramRunTypedRequest
from carbon3d.models.model_program_runs import ModelProgramRuns
from carbon3d.models.model_resolve_upload_request import ModelResolveUploadRequest
from carbon3d.models.models_response import ModelsResponse
Expand Down
114 changes: 0 additions & 114 deletions v1/python/carbon3d/api/model_program_runs_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,120 +151,6 @@ def create_model_program_run_with_http_info(self, **kwargs): # noqa: E501
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)

def create_model_program_run_typed_params(self, **kwargs): # noqa: E501
"""Run a model program to alter your models with typed params # noqa: E501
Create a new model program run with typed params # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_model_program_run_typed_params(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param ModelProgramRunTypedRequest model_program_run_typed_request:
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: ModelProgramRun
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.create_model_program_run_typed_params_with_http_info(**kwargs) # noqa: E501

def create_model_program_run_typed_params_with_http_info(self, **kwargs): # noqa: E501
"""Run a model program to alter your models with typed params # noqa: E501
Create a new model program run with typed params # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_model_program_run_typed_params_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param ModelProgramRunTypedRequest model_program_run_typed_request:
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(ModelProgramRun, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""

local_var_params = locals()

all_params = [
'model_program_run_typed_request'
]
all_params.extend(
[
'async_req',
'_return_http_data_only',
'_preload_content',
'_request_timeout'
]
)

for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method create_model_program_run_typed_params" % key
)
local_var_params[key] = val
del local_var_params['kwargs']

collection_formats = {}

path_params = {}

query_params = []

header_params = {}

form_params = []
local_var_files = {}

body_params = None
if 'model_program_run_typed_request' in local_var_params:
body_params = local_var_params['model_program_run_typed_request']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['bearerAuth'] # noqa: E501

return self.api_client.call_api(
'/model_program_runs_typed_params', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ModelProgramRun', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)

def get_model_program_run(self, uuid, **kwargs): # noqa: E501
"""Get a model program run by UUID # noqa: E501
Expand Down
1 change: 0 additions & 1 deletion v1/python/carbon3d/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
from carbon3d.models.model_program_run_all_of import ModelProgramRunAllOf
from carbon3d.models.model_program_run_request import ModelProgramRunRequest
from carbon3d.models.model_program_run_status_info import ModelProgramRunStatusInfo
from carbon3d.models.model_program_run_typed_request import ModelProgramRunTypedRequest
from carbon3d.models.model_program_runs import ModelProgramRuns
from carbon3d.models.model_resolve_upload_request import ModelResolveUploadRequest
from carbon3d.models.models_response import ModelsResponse
Expand Down
2 changes: 1 addition & 1 deletion v1/python/carbon3d/models/model_program_operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def status(self, status):
"""
if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501
raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501
allowed_values = ["complete", "failed", "preparing", "pending"] # noqa: E501
allowed_values = ["complete", "failed", "preparing", "pending", "invalid"] # noqa: E501
if self.local_vars_configuration.client_side_validation and status not in allowed_values: # noqa: E501
raise ValueError(
"Invalid value for `status` ({0}), must be one of {1}" # noqa: E501
Expand Down
2 changes: 1 addition & 1 deletion v1/python/carbon3d/models/model_program_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def status(self, status):
"""
if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501
raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501
allowed_values = ["complete", "failed", "preparing", "pending"] # noqa: E501
allowed_values = ["complete", "failed", "preparing", "pending", "invalid"] # noqa: E501
if self.local_vars_configuration.client_side_validation and status not in allowed_values: # noqa: E501
raise ValueError(
"Invalid value for `status` ({0}), must be one of {1}" # noqa: E501
Expand Down
10 changes: 5 additions & 5 deletions v1/python/carbon3d/models/model_program_run_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ModelProgramRunRequest(object):
"""
openapi_types = {
'model_program_uuid': 'str',
'parameters': 'dict(str, str)'
'parameters': 'OneOfarraymap'
}

attribute_map = {
Expand Down Expand Up @@ -85,21 +85,21 @@ def model_program_uuid(self, model_program_uuid):
def parameters(self):
"""Gets the parameters of this ModelProgramRunRequest. # noqa: E501
parameters for the model program # noqa: E501
Parameters for the model program. Use either `TypedReplacements` or `TokenReplacements` # noqa: E501
:return: The parameters of this ModelProgramRunRequest. # noqa: E501
:rtype: dict(str, str)
:rtype: OneOfarraymap
"""
return self._parameters

@parameters.setter
def parameters(self, parameters):
"""Sets the parameters of this ModelProgramRunRequest.
parameters for the model program # noqa: E501
Parameters for the model program. Use either `TypedReplacements` or `TokenReplacements` # noqa: E501
:param parameters: The parameters of this ModelProgramRunRequest. # noqa: E501
:type: dict(str, str)
:type: OneOfarraymap
"""
if self.local_vars_configuration.client_side_validation and parameters is None: # noqa: E501
raise ValueError("Invalid value for `parameters`, must not be `None`") # noqa: E501
Expand Down
2 changes: 1 addition & 1 deletion v1/python/carbon3d/models/model_program_run_status_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def status(self, status):
"""
if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501
raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501
allowed_values = ["complete", "failed", "preparing", "pending"] # noqa: E501
allowed_values = ["complete", "failed", "preparing", "pending", "invalid"] # noqa: E501
if self.local_vars_configuration.client_side_validation and status not in allowed_values: # noqa: E501
raise ValueError(
"Invalid value for `status` ({0}), must be one of {1}" # noqa: E501
Expand Down
153 changes: 0 additions & 153 deletions v1/python/carbon3d/models/model_program_run_typed_request.py

This file was deleted.

4 changes: 2 additions & 2 deletions v1/python/docs/ModelProgramRunRequest.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# ModelProgramRunRequest

This schema is deprecated. Please Use the 'ModelProgramRunTypedRequest' schema instead.
Start a ModelProgramRun with replacement parameters
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**model_program_uuid** | **str** | uuid for a model program |
**parameters** | **dict(str, str)** | parameters for the model program |
**parameters** | [**OneOfarraymap**](OneOfarraymap.md) | Parameters for the model program. Use either `TypedReplacements` or `TokenReplacements` |

[[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
11 changes: 0 additions & 11 deletions v1/python/docs/ModelProgramRunTypedRequest.md

This file was deleted.

Loading

0 comments on commit d9752de

Please sign in to comment.