Skip to content

Commit

Permalink
upgrade SDK to v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ladybugbot committed Jan 3, 2024
1 parent 839a45a commit 74bee6c
Show file tree
Hide file tree
Showing 574 changed files with 951 additions and 586 deletions.
2 changes: 1 addition & 1 deletion .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2023-12-30 12:32:29.313885",
"regenerated": "2024-01-03 17:20:51.668010",
"spec_repo_commit": null
}
}
Expand Down
3 changes: 3 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ docs/DependencyKind.md
docs/DeploymentConfig.md
docs/DockerConfig.md
docs/FileMeta.md
docs/FileMetaList.md
docs/FileReference.md
docs/FolderReference.md
docs/Function.md
Expand Down Expand Up @@ -388,6 +389,7 @@ pollination_sdk/models/dependency_kind.py
pollination_sdk/models/deployment_config.py
pollination_sdk/models/docker_config.py
pollination_sdk/models/file_meta.py
pollination_sdk/models/file_meta_list.py
pollination_sdk/models/file_reference.py
pollination_sdk/models/folder_reference.py
pollination_sdk/models/function.py
Expand Down Expand Up @@ -660,6 +662,7 @@ test/test_dependency_kind.py
test/test_deployment_config.py
test/test_docker_config.py
test/test_file_meta.py
test/test_file_meta_list.py
test/test_file_reference.py
test/test_folder_reference.py
test/test_function.py
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pollination Server OpenAPI Definition

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.47.0
- API version: 1.0.0
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://pollination.cloud](https://pollination.cloud)
Expand Down Expand Up @@ -285,6 +285,7 @@ Class | Method | HTTP request | Description
- [DeploymentConfig](https://github.com/pollination/python-sdk/blob/master/docs/DeploymentConfig.md)
- [DockerConfig](https://github.com/pollination/python-sdk/blob/master/docs/DockerConfig.md)
- [FileMeta](https://github.com/pollination/python-sdk/blob/master/docs/FileMeta.md)
- [FileMetaList](https://github.com/pollination/python-sdk/blob/master/docs/FileMetaList.md)
- [FileReference](https://github.com/pollination/python-sdk/blob/master/docs/FileReference.md)
- [FolderReference](https://github.com/pollination/python-sdk/blob/master/docs/FolderReference.md)
- [Function](https://github.com/pollination/python-sdk/blob/master/docs/Function.md)
Expand Down
4 changes: 2 additions & 2 deletions docs/ArtifactsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **list_artifacts**
> list[FileMeta] list_artifacts(owner, name, path=path, page=page, per_page=per_page)
> FileMetaList list_artifacts(owner, name, path=path, page=page, per_page=per_page)
List artifacts in a project folder

Expand Down Expand Up @@ -541,7 +541,7 @@ Name | Type | Description | Notes

### Return type

[**list[FileMeta]**](FileMeta.md)
[**FileMetaList**](FileMetaList.md)

### Authorization

Expand Down
16 changes: 16 additions & 0 deletions docs/FileMetaList.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# FileMetaList

A list response from a pagination request
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**next_page** | **int** | The next page, if this on is not the last | [optional]
**page** | **int** | The current page the pagination request is on |
**page_count** | **int** | The total number of pages |
**per_page** | **int** | The number of pages per pagination request |
**resources** | [**list[FileMeta]**](FileMeta.md) | |
**total_count** | **int** | The total number of resources matching the list request |

[[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: 2 additions & 2 deletions docs/JobsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **search_job_folder**
> list[FileMeta] search_job_folder(owner, name, job_id, path=path, page=page, per_page=per_page)
> object search_job_folder(owner, name, job_id, path=path, page=page, per_page=per_page)
List files/folders in a job folder

Expand Down Expand Up @@ -1123,7 +1123,7 @@ Name | Type | Description | Notes

### Return type

[**list[FileMeta]**](FileMeta.md)
**object**

### Authorization

Expand Down
4 changes: 2 additions & 2 deletions docs/RunsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **list_run_artifacts**
> list[FileMeta] list_run_artifacts(owner, name, run_id, path=path, page=page, per_page=per_page)
> object list_run_artifacts(owner, name, run_id, path=path, page=page, per_page=per_page)
List artifacts in a run folder

Expand Down Expand Up @@ -1130,7 +1130,7 @@ Name | Type | Description | Notes

### Return type

[**list[FileMeta]**](FileMeta.md)
**object**

### Authorization

Expand Down
5 changes: 3 additions & 2 deletions pollination_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

__version__ = "0.47.0"
__version__ = "1.0.0"

# import apis into sdk package
from pollination_sdk.api.api_tokens_api import APITokensApi
Expand Down Expand Up @@ -128,6 +128,7 @@
from pollination_sdk.models.deployment_config import DeploymentConfig
from pollination_sdk.models.docker_config import DockerConfig
from pollination_sdk.models.file_meta import FileMeta
from pollination_sdk.models.file_meta_list import FileMetaList
from pollination_sdk.models.file_reference import FileReference
from pollination_sdk.models.folder_reference import FolderReference
from pollination_sdk.models.function import Function
Expand Down
2 changes: 1 addition & 1 deletion pollination_sdk/api/accounts_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion pollination_sdk/api/api_tokens_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion pollination_sdk/api/applications_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
8 changes: 4 additions & 4 deletions pollination_sdk/api/artifacts_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -537,7 +537,7 @@ def list_artifacts(self, owner, name, **kwargs): # noqa: E501
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: list[FileMeta]
:rtype: FileMetaList
"""
kwargs['_return_http_data_only'] = True
return self.list_artifacts_with_http_info(owner, name, **kwargs) # noqa: E501
Expand Down Expand Up @@ -581,7 +581,7 @@ def list_artifacts_with_http_info(self, owner, name, **kwargs): # noqa: E501
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: tuple(list[FileMeta], status_code(int), headers(HTTPHeaderDict))
:rtype: tuple(FileMetaList, status_code(int), headers(HTTPHeaderDict))
"""

local_var_params = locals()
Expand Down Expand Up @@ -662,7 +662,7 @@ def list_artifacts_with_http_info(self, owner, name, **kwargs): # noqa: E501
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='list[FileMeta]', # noqa: E501
response_type='FileMetaList', # 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
Expand Down
8 changes: 4 additions & 4 deletions pollination_sdk/api/jobs_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -1219,7 +1219,7 @@ def search_job_folder(self, owner, name, job_id, **kwargs): # noqa: E501
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: list[FileMeta]
:rtype: object
"""
kwargs['_return_http_data_only'] = True
return self.search_job_folder_with_http_info(owner, name, job_id, **kwargs) # noqa: E501
Expand Down Expand Up @@ -1266,7 +1266,7 @@ def search_job_folder_with_http_info(self, owner, name, job_id, **kwargs): # no
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: tuple(list[FileMeta], status_code(int), headers(HTTPHeaderDict))
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
"""

local_var_params = locals()
Expand Down Expand Up @@ -1354,7 +1354,7 @@ def search_job_folder_with_http_info(self, owner, name, job_id, **kwargs): # no
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='list[FileMeta]', # noqa: E501
response_type='object', # 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
Expand Down
2 changes: 1 addition & 1 deletion pollination_sdk/api/licenses_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion pollination_sdk/api/orgs_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion pollination_sdk/api/plugins_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion pollination_sdk/api/projects_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion pollination_sdk/api/recipes_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion pollination_sdk/api/registries_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
8 changes: 4 additions & 4 deletions pollination_sdk/api/runs_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -1219,7 +1219,7 @@ def list_run_artifacts(self, owner, name, run_id, **kwargs): # noqa: E501
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: list[FileMeta]
:rtype: object
"""
kwargs['_return_http_data_only'] = True
return self.list_run_artifacts_with_http_info(owner, name, run_id, **kwargs) # noqa: E501
Expand Down Expand Up @@ -1266,7 +1266,7 @@ def list_run_artifacts_with_http_info(self, owner, name, run_id, **kwargs): # n
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: tuple(list[FileMeta], status_code(int), headers(HTTPHeaderDict))
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
"""

local_var_params = locals()
Expand Down Expand Up @@ -1354,7 +1354,7 @@ def list_run_artifacts_with_http_info(self, owner, name, run_id, **kwargs): # n
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='list[FileMeta]', # noqa: E501
response_type='object', # 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
Expand Down
2 changes: 1 addition & 1 deletion pollination_sdk/api/subscription_plans_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion pollination_sdk/api/subscriptions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion pollination_sdk/api/teams_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion pollination_sdk/api/user_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion pollination_sdk/api/users_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
4 changes: 2 additions & 2 deletions pollination_sdk/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Pollination Server OpenAPI Definition # noqa: E501
The version of the OpenAPI document: 0.47.0
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -79,7 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'pollination/0.47.0/python'
self.user_agent = 'pollination/1.0.0/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
Loading

0 comments on commit 74bee6c

Please sign in to comment.