Skip to content

Commit

Permalink
Updated Python SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
jv-asana authored and actions-user committed Jul 31, 2023
1 parent 964e82b commit 937ee9b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Python client library for Asana

- API version: 1.0
- Package version: 4.0.0
- Package version: 4.0.1

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions asana/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ 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 = 'Swagger-Codegen/4.0.0/python'
self.user_agent = 'Swagger-Codegen/4.0.1/python'
# Add custom header
self.default_headers['X-Asana-Client-Lib'] = urlencode(
{
'language': 'Python',
'version': 4.0.0,
'version': '4.0.1',
'language_version': platform.python_version(),
'os': platform.system(),
'os_version': platform.release()
Expand Down
2 changes: 1 addition & 1 deletion asana/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,5 +249,5 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 1.0\n"\
"SDK Package Version: 4.0.0".\
"SDK Package Version: 4.0.1".\
format(env=sys.platform, pyversion=sys.version)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from setuptools import setup, find_packages # noqa: H301

NAME = "asana"
VERSION = "4.0.0"
VERSION = "4.0.1"
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
LONG_DESCRIPTION = readme.read()
# To install the library, run the following
Expand Down

0 comments on commit 937ee9b

Please sign in to comment.