Skip to content

Commit

Permalink
fix!: Changing Bearer token to Sdk
Browse files Browse the repository at this point in the history
version bump to v0.1.5
  • Loading branch information
ilkergzlkkr committed Apr 1, 2021
1 parent a4f5ea6 commit 9e5345b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dclist/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
__author__ = 'ilkergzlkkr'
__copyright__ = 'Copyright 2021-present ilkergzlkkr'
__license__ = 'MIT'
__version__ = '0.1.2'
__version__ = '0.1.5'

from collections import namedtuple
VersionInfo = namedtuple('VersionInfo', 'major minor micro releaselevel serial')
version_info = VersionInfo(major=0, minor=1, micro=2, releaselevel='final', serial=0)
version_info = VersionInfo(major=0, minor=1, micro=5, releaselevel='final', serial=0)

version_info = f'{version_info.major}.{version_info.minor}.{version_info.micro}'

Expand Down
2 changes: 1 addition & 1 deletion dclist/gqlhttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class GQLHTTPClient:
def __init__(self, api_token, *args, **kwargs):
self.loop = kwargs.get('loop') or asyncio.get_event_loop()
self.token_provided = api_token is not None
self.__auth = 'Bearer '+ (api_token or os.getenv('DCLIST_TOKEN') or '')
self.__auth = 'Sdk '+ (api_token or os.getenv('DCLIST_TOKEN') or '')

self._transporter = kwargs.get('transporter') or AIOHTTPTransport(url=self.BASE, headers={'Authorization': self.__auth})

Expand Down

0 comments on commit 9e5345b

Please sign in to comment.