Skip to content

Commit

Permalink
Merge pull request #17 from onepanelio/feat/version.update
Browse files Browse the repository at this point in the history
feat: update to v0.14.0
  • Loading branch information
Vafilor authored Oct 20, 2020
2 parents 2b10eca + cb20a72 commit 6d84205
Show file tree
Hide file tree
Showing 149 changed files with 943 additions and 404 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Onepanel API

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

- API version: 0.13.0
- Package version: v0.13.0
- API version: 0.14.0
- Package version: 0.14.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://github.com/onepanelio/core](https://github.com/onepanelio/core)

Expand Down Expand Up @@ -185,6 +185,7 @@ Class | Method | HTTP request | Description
- [GrpcGatewayRuntimeStreamError](docs/GrpcGatewayRuntimeStreamError.md)
- [IsAuthorized](docs/IsAuthorized.md)
- [IsAuthorizedResponse](docs/IsAuthorizedResponse.md)
- [IsValidTokenRequest](docs/IsValidTokenRequest.md)
- [IsValidTokenResponse](docs/IsValidTokenResponse.md)
- [KeyValue](docs/KeyValue.md)
- [Labels](docs/Labels.md)
Expand Down Expand Up @@ -212,7 +213,6 @@ Class | Method | HTTP request | Description
- [Statistics](docs/Statistics.md)
- [StreamResultOfLogEntry](docs/StreamResultOfLogEntry.md)
- [StreamResultOfWorkflowExecution](docs/StreamResultOfWorkflowExecution.md)
- [TokenWrapper](docs/TokenWrapper.md)
- [UpdateSecretKeyValueResponse](docs/UpdateSecretKeyValueResponse.md)
- [UpdateWorkspaceBody](docs/UpdateWorkspaceBody.md)
- [WorkflowExecution](docs/WorkflowExecution.md)
Expand Down
4 changes: 2 additions & 2 deletions docs/AuthServiceApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ configuration = onepanel.core.api.Configuration(
with onepanel.core.api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = onepanel.core.api.AuthServiceApi(api_client)
body = onepanel.core.api.TokenWrapper() # TokenWrapper |
body = onepanel.core.api.IsValidTokenRequest() # IsValidTokenRequest |

try:
api_response = api_instance.is_valid_token(body)
Expand All @@ -135,7 +135,7 @@ with onepanel.core.api.ApiClient(configuration) as api_client:

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**body** | [**TokenWrapper**](TokenWrapper.md)| |
**body** | [**IsValidTokenRequest**](IsValidTokenRequest.md)| |

### Return type

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**username** | **str** | | [optional]
**token** | **str** | | [optional]

[[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/IsValidTokenResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**domain** | **str** | | [optional]
**token** | **str** | | [optional]
**username** | **str** | | [optional]

[[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
6 changes: 3 additions & 3 deletions onepanel/core/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

__version__ = "v0.13.0"
__version__ = "0.14.0"

# import apis into sdk package
from onepanel.core.api.api.auth_service_api import AuthServiceApi
Expand Down Expand Up @@ -58,6 +58,7 @@
from onepanel.core.api.models.grpc_gateway_runtime_stream_error import GrpcGatewayRuntimeStreamError
from onepanel.core.api.models.is_authorized import IsAuthorized
from onepanel.core.api.models.is_authorized_response import IsAuthorizedResponse
from onepanel.core.api.models.is_valid_token_request import IsValidTokenRequest
from onepanel.core.api.models.is_valid_token_response import IsValidTokenResponse
from onepanel.core.api.models.key_value import KeyValue
from onepanel.core.api.models.labels import Labels
Expand Down Expand Up @@ -85,7 +86,6 @@
from onepanel.core.api.models.statistics import Statistics
from onepanel.core.api.models.stream_result_of_log_entry import StreamResultOfLogEntry
from onepanel.core.api.models.stream_result_of_workflow_execution import StreamResultOfWorkflowExecution
from onepanel.core.api.models.token_wrapper import TokenWrapper
from onepanel.core.api.models.update_secret_key_value_response import UpdateSecretKeyValueResponse
from onepanel.core.api.models.update_workspace_body import UpdateWorkspaceBody
from onepanel.core.api.models.workflow_execution import WorkflowExecution
Expand Down
6 changes: 3 additions & 3 deletions onepanel/core/api/api/auth_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -161,7 +161,7 @@ def is_valid_token(self, body, **kwargs): # noqa: E501
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param TokenWrapper body: (required)
:param IsValidTokenRequest body: (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
Expand All @@ -185,7 +185,7 @@ def is_valid_token_with_http_info(self, body, **kwargs): # noqa: E501
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param TokenWrapper body: (required)
:param IsValidTokenRequest body: (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/api/config_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/api/cron_workflow_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/api/label_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/api/namespace_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/api/secret_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/api/service_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/api/workflow_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/api/workflow_template_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/api/workspace_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/api/workspace_template_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
4 changes: 2 additions & 2 deletions onepanel/core/api/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -78,7 +78,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 = 'OpenAPI-Generator/v0.13.0/python'
self.user_agent = 'OpenAPI-Generator/0.14.0/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
6 changes: 3 additions & 3 deletions onepanel/core/api/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -351,8 +351,8 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 0.13.0\n"\
"SDK Package Version: v0.13.0".\
"Version of the API: 0.14.0\n"\
"SDK Package Version: 0.14.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
4 changes: 2 additions & 2 deletions onepanel/core/api/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -34,6 +34,7 @@
from onepanel.core.api.models.grpc_gateway_runtime_stream_error import GrpcGatewayRuntimeStreamError
from onepanel.core.api.models.is_authorized import IsAuthorized
from onepanel.core.api.models.is_authorized_response import IsAuthorizedResponse
from onepanel.core.api.models.is_valid_token_request import IsValidTokenRequest
from onepanel.core.api.models.is_valid_token_response import IsValidTokenResponse
from onepanel.core.api.models.key_value import KeyValue
from onepanel.core.api.models.labels import Labels
Expand Down Expand Up @@ -61,7 +62,6 @@
from onepanel.core.api.models.statistics import Statistics
from onepanel.core.api.models.stream_result_of_log_entry import StreamResultOfLogEntry
from onepanel.core.api.models.stream_result_of_workflow_execution import StreamResultOfWorkflowExecution
from onepanel.core.api.models.token_wrapper import TokenWrapper
from onepanel.core.api.models.update_secret_key_value_response import UpdateSecretKeyValueResponse
from onepanel.core.api.models.update_workspace_body import UpdateWorkspaceBody
from onepanel.core.api.models.workflow_execution import WorkflowExecution
Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/models/add_secret_key_value_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/models/artifact_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/models/create_workflow_execution_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/models/create_workspace_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/models/cron_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/models/delete_secret_key_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/models/delete_secret_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/models/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/models/get_config_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion onepanel/core/api/models/get_labels_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Onepanel API # noqa: E501
The version of the OpenAPI document: 0.13.0
The version of the OpenAPI document: 0.14.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Loading

0 comments on commit 6d84205

Please sign in to comment.