Skip to content

Commit db3ca82

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for ml_platform-Python-2024-07-01-online-1779-2025_11_04_16_50_19
1 parent cbb2069 commit db3ca82

File tree

144 files changed

+8492
-13127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+8492
-13127
lines changed

meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "4.0.31",
3-
"meta_commit": "8724fb294f8c22b4dbe5c1dd0430a9e286f03fb7"
2+
"lasted": "4.0.32",
3+
"meta_commit": "c3b90836529fc8b2bae4d810f89fa0a81ca60d51"
44
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "volcengine-python-sdk"
3-
version = "4.0.31"
3+
version = "4.0.32"
44
authors = [
55
{name = "volc-engine", email = "[email protected]"},
66
]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from setuptools import setup, find_packages # noqa: H301
44

55
NAME = "volcengine-python-sdk"
6-
VERSION = "4.0.31"
6+
VERSION = "4.0.32"
77
# To install the library, run the following
88
#
99
# python setup.py install

volcenginesdkcore/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
6464
self.default_headers[header_name] = header_value
6565
self.cookie = cookie
6666
# Set default User-Agent.
67-
self.user_agent = 'volcstack-python-sdk/4.0.31'
67+
self.user_agent = 'volcstack-python-sdk/4.0.32'
6868
self.client_side_validation = configuration.client_side_validation
6969

7070
self.interceptor_chain = InterceptorChain()

volcenginesdkcore/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def to_debug_report(self):
272272
"OS: {env}\n" \
273273
"Python Version: {pyversion}\n" \
274274
"Version of the API: 0.1.0\n" \
275-
"SDK Package Version: 4.0.31".\
275+
"SDK Package Version: 4.0.32".\
276276
format(env=sys.platform, pyversion=sys.version)
277277

278278
@property

volcenginesdkmlplatform20240701/__init__.py

Lines changed: 30 additions & 73 deletions
Large diffs are not rendered by default.

volcenginesdkmlplatform20240701/api/ml_platform20240701_api.py

Lines changed: 0 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1876,103 +1876,6 @@ def get_instance_type_with_http_info(self, body, **kwargs): # noqa: E501
18761876
_request_timeout=params.get('_request_timeout'),
18771877
collection_formats=collection_formats)
18781878

1879-
def get_job(self, body, **kwargs): # noqa: E501
1880-
"""get_job # noqa: E501
1881-
1882-
This method makes a synchronous HTTP request by default. To make an
1883-
asynchronous HTTP request, please pass async_req=True
1884-
>>> thread = api.get_job(body, async_req=True)
1885-
>>> result = thread.get()
1886-
1887-
:param async_req bool
1888-
:param GetJobRequest body: (required)
1889-
:return: GetJobResponse
1890-
If the method is called asynchronously,
1891-
returns the request thread.
1892-
"""
1893-
kwargs['_return_http_data_only'] = True
1894-
if kwargs.get('async_req'):
1895-
return self.get_job_with_http_info(body, **kwargs) # noqa: E501
1896-
else:
1897-
(data) = self.get_job_with_http_info(body, **kwargs) # noqa: E501
1898-
return data
1899-
1900-
def get_job_with_http_info(self, body, **kwargs): # noqa: E501
1901-
"""get_job # noqa: E501
1902-
1903-
This method makes a synchronous HTTP request by default. To make an
1904-
asynchronous HTTP request, please pass async_req=True
1905-
>>> thread = api.get_job_with_http_info(body, async_req=True)
1906-
>>> result = thread.get()
1907-
1908-
:param async_req bool
1909-
:param GetJobRequest body: (required)
1910-
:return: GetJobResponse
1911-
If the method is called asynchronously,
1912-
returns the request thread.
1913-
"""
1914-
1915-
all_params = ['body'] # noqa: E501
1916-
all_params.append('async_req')
1917-
all_params.append('_return_http_data_only')
1918-
all_params.append('_preload_content')
1919-
all_params.append('_request_timeout')
1920-
1921-
params = locals()
1922-
for key, val in six.iteritems(params['kwargs']):
1923-
if key not in all_params:
1924-
raise TypeError(
1925-
"Got an unexpected keyword argument '%s'"
1926-
" to method get_job" % key
1927-
)
1928-
params[key] = val
1929-
del params['kwargs']
1930-
# verify the required parameter 'body' is set
1931-
if self.api_client.client_side_validation and ('body' not in params or
1932-
params['body'] is None): # noqa: E501
1933-
raise ValueError("Missing the required parameter `body` when calling `get_job`") # noqa: E501
1934-
1935-
collection_formats = {}
1936-
1937-
path_params = {}
1938-
1939-
query_params = []
1940-
1941-
header_params = {}
1942-
1943-
form_params = []
1944-
local_var_files = {}
1945-
1946-
body_params = None
1947-
if 'body' in params:
1948-
body_params = params['body']
1949-
# HTTP header `Accept`
1950-
header_params['Accept'] = self.api_client.select_header_accept(
1951-
['application/json']) # noqa: E501
1952-
1953-
# HTTP header `Content-Type`
1954-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
1955-
['application/json']) # noqa: E501
1956-
1957-
# Authentication setting
1958-
auth_settings = ['volcengineSign'] # noqa: E501
1959-
1960-
return self.api_client.call_api(
1961-
'/GetJob/2024-07-01/ml_platform/post/application_json/', 'POST',
1962-
path_params,
1963-
query_params,
1964-
header_params,
1965-
body=body_params,
1966-
post_params=form_params,
1967-
files=local_var_files,
1968-
response_type='GetJobResponse', # noqa: E501
1969-
auth_settings=auth_settings,
1970-
async_req=params.get('async_req'),
1971-
_return_http_data_only=params.get('_return_http_data_only'),
1972-
_preload_content=params.get('_preload_content', True),
1973-
_request_timeout=params.get('_request_timeout'),
1974-
collection_formats=collection_formats)
1975-
19761879
def get_resource_group(self, body, **kwargs): # noqa: E501
19771880
"""get_resource_group # noqa: E501
19781881

0 commit comments

Comments
 (0)