From d54364178f2b8c86d88115a88375fa6f6c9f6c2c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 14 May 2020 20:13:42 -0700 Subject: version bump fatcat_openapi_client This is to push a new package version to pypi with the newer codegen. The immediate motivation for this is to fix keyword errors with "async" parameters conflicting with "async" as a keyword in Python 3.7. I guess that means this is probably actually a breaking change to the python API, though not to the API itself? Hrm. All the other changes are typo corrections from the fatcat-openapi2.yml spec document. --- python_openapi_client/README.md | 2 +- python_openapi_client/codegen_python_client.sh | 2 +- python_openapi_client/fatcat_openapi_client/__init__.py | 2 +- python_openapi_client/fatcat_openapi_client/__version__.py | 2 +- python_openapi_client/fatcat_openapi_client/api/default_api.py | 8 ++++---- python_openapi_client/fatcat_openapi_client/api_client.py | 2 +- python_openapi_client/fatcat_openapi_client/configuration.py | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/python_openapi_client/README.md b/python_openapi_client/README.md index 4682a596..fd739e5b 100644 --- a/python_openapi_client/README.md +++ b/python_openapi_client/README.md @@ -4,7 +4,7 @@ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 0.3.1 -- Package version: 0.3.1 +- Package version: 0.3.2 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [https://fatcat.wiki](https://fatcat.wiki) diff --git a/python_openapi_client/codegen_python_client.sh b/python_openapi_client/codegen_python_client.sh index 80a7f698..0f70db74 100755 --- a/python_openapi_client/codegen_python_client.sh +++ b/python_openapi_client/codegen_python_client.sh @@ -20,7 +20,7 @@ docker run \ --input-spec /tmp/swagger/api.yml \ --output /tmp/swagger/ \ --package-name=fatcat_openapi_client \ - -p packageVersion="0.3.1" + -p packageVersion="0.3.2" sudo chown -R `whoami`:`whoami` $OUTPUT mkdir -p fatcat_openapi_client diff --git a/python_openapi_client/fatcat_openapi_client/__init__.py b/python_openapi_client/fatcat_openapi_client/__init__.py index 82ea68f7..5d05953b 100644 --- a/python_openapi_client/fatcat_openapi_client/__init__.py +++ b/python_openapi_client/fatcat_openapi_client/__init__.py @@ -15,7 +15,7 @@ from __future__ import absolute_import -__version__ = "0.3.1" +__version__ = "0.3.2" # import apis into sdk package from fatcat_openapi_client.api.default_api import DefaultApi diff --git a/python_openapi_client/fatcat_openapi_client/__version__.py b/python_openapi_client/fatcat_openapi_client/__version__.py index 0c7a00a9..e855ccb2 100644 --- a/python_openapi_client/fatcat_openapi_client/__version__.py +++ b/python_openapi_client/fatcat_openapi_client/__version__.py @@ -1,3 +1,3 @@ -VERSION = (0, 3, 1) # eg, (0, 2, '0dev0') +VERSION = (0, 3, 2) # eg, (0, 2, '0dev0') __version__ = '.'.join(map(str, VERSION)) diff --git a/python_openapi_client/fatcat_openapi_client/api/default_api.py b/python_openapi_client/fatcat_openapi_client/api/default_api.py index bb6ffbac..43ca78c1 100644 --- a/python_openapi_client/fatcat_openapi_client/api/default_api.py +++ b/python_openapi_client/fatcat_openapi_client/api/default_api.py @@ -484,7 +484,7 @@ class DefaultApi(object): def create_container(self, editgroup_id, entity, **kwargs): # noqa: E501 """create_container # noqa: E501 - Create a single Container entity as part of an existing editgroup. Editgroup must be mutable (aka, not accepted) and editor must have permission (aka, have created the editgrou p or have `admin` role). # noqa: E501 + Create a single Container entity as part of an existing editgroup. Editgroup must be mutable (aka, not accepted) and editor must have permission (aka, have created the editgroup or have `admin` role). # 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_container(editgroup_id, entity, async_req=True) @@ -510,7 +510,7 @@ class DefaultApi(object): def create_container_with_http_info(self, editgroup_id, entity, **kwargs): # noqa: E501 """create_container # noqa: E501 - Create a single Container entity as part of an existing editgroup. Editgroup must be mutable (aka, not accepted) and editor must have permission (aka, have created the editgrou p or have `admin` role). # noqa: E501 + Create a single Container entity as part of an existing editgroup. Editgroup must be mutable (aka, not accepted) and editor must have permission (aka, have created the editgroup or have `admin` role). # 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_container_with_http_info(editgroup_id, entity, async_req=True) @@ -9986,7 +9986,7 @@ class DefaultApi(object): def update_container(self, editgroup_id, ident, entity, **kwargs): # noqa: E501 """update_container # noqa: E501 - Updates an existing entity as part of a specific (existing) editgroup. The editgroup must be open for updates (aka, not accepted/merged), and the editor making the requiest must have permissions (aka, must have created the editgroup or have `admin` role). This method can also be used to update an existing entity edit as part of an editgroup. For example, if an entity was created in this editgroup, an editor could make changes to the new entity's metadata before merging. # noqa: E501 + Updates an existing entity as part of a specific (existing) editgroup. The editgroup must be open for updates (aka, not accepted/merged), and the editor making the request must have permissions (aka, must have created the editgroup or have `admin` role). This method can also be used to update an existing entity edit as part of an editgroup. For example, if an entity was created in this editgroup, an editor could make changes to the new entity's metadata before merging. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.update_container(editgroup_id, ident, entity, async_req=True) @@ -10013,7 +10013,7 @@ class DefaultApi(object): def update_container_with_http_info(self, editgroup_id, ident, entity, **kwargs): # noqa: E501 """update_container # noqa: E501 - Updates an existing entity as part of a specific (existing) editgroup. The editgroup must be open for updates (aka, not accepted/merged), and the editor making the requiest must have permissions (aka, must have created the editgroup or have `admin` role). This method can also be used to update an existing entity edit as part of an editgroup. For example, if an entity was created in this editgroup, an editor could make changes to the new entity's metadata before merging. # noqa: E501 + Updates an existing entity as part of a specific (existing) editgroup. The editgroup must be open for updates (aka, not accepted/merged), and the editor making the request must have permissions (aka, must have created the editgroup or have `admin` role). This method can also be used to update an existing entity edit as part of an editgroup. For example, if an entity was created in this editgroup, an editor could make changes to the new entity's metadata before merging. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.update_container_with_http_info(editgroup_id, ident, entity, async_req=True) diff --git a/python_openapi_client/fatcat_openapi_client/api_client.py b/python_openapi_client/fatcat_openapi_client/api_client.py index 12cb98ca..d156560a 100644 --- a/python_openapi_client/fatcat_openapi_client/api_client.py +++ b/python_openapi_client/fatcat_openapi_client/api_client.py @@ -77,7 +77,7 @@ class ApiClient(object): self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/0.3.1/python' + self.user_agent = 'OpenAPI-Generator/0.3.2/python' def __del__(self): if self._pool: diff --git a/python_openapi_client/fatcat_openapi_client/configuration.py b/python_openapi_client/fatcat_openapi_client/configuration.py index b4aeff09..cf75cc8a 100644 --- a/python_openapi_client/fatcat_openapi_client/configuration.py +++ b/python_openapi_client/fatcat_openapi_client/configuration.py @@ -268,7 +268,7 @@ class Configuration(object): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 0.3.1\n"\ - "SDK Package Version: 0.3.1".\ + "SDK Package Version: 0.3.2".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): -- cgit v1.2.3