Skip to content

Commit b911925

Browse files
committed
Version 4.0.0
1 parent d3f608d commit b911925

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

rtbhouse_sdk/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.3.7"
1+
__version__ = "4.0.0"

rtbhouse_sdk/reports_api.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@ def _validate_response(self, res):
117117
def _make_request(self, method, path, *args, **kwargs):
118118
base_url = '{}/{}'.format(API_BASE_URL, API_VERSION)
119119
kwargs['timeout'] = self._timeout
120-
kwargs.setdefault('headers', {})[
121-
'user-agent'] = 'rtbhouse-python-sdk/{}'.format(sdk_version)
120+
kwargs.setdefault('headers', {})['user-agent'] = 'rtbhouse-python-sdk/{}'.format(sdk_version)
122121

123122
res = request(method, base_url + path, *args, **kwargs)
124123
self._validate_response(res)

0 commit comments

Comments
 (0)