Skip to content

Commit

Permalink
v0.4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
denisneuf committed Sep 1, 2023
1 parent cb39b56 commit 8545a40
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ad_api/base/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import zipfile
from urllib.parse import urlparse, quote
from ad_api.base.credential_provider import CredentialProvider
import ad_api.version as vd

log = logging.getLogger(__name__)
role_cache = TTLCache(maxsize=int(os.environ.get('AD_API_AUTH_CACHE_SIZE', 10)), ttl=3200)
Expand Down Expand Up @@ -51,6 +52,9 @@ def __init__(
self.proxies = proxies
self.verify = verify

version = vd.__version__
self.user_agent += f'-{version}'

@property
def headers(self):
return {
Expand Down
2 changes: 1 addition & 1 deletion ad_api/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.8"
__version__ = "0.4.9"
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = python-amazon-ad-api
version = 0.4.8
version = 0.4.9
author = Daniel Alvaro
author_email = [email protected]
description = Python wrapper for the Amazon Advertising API
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='python-amazon-ad-api',
version='0.4.8',
version='0.4.9',
install_requires=[
"requests>=2.27.1,<2.32.0",
"six~=1.16.0",
Expand Down

0 comments on commit 8545a40

Please sign in to comment.