diff --git a/CHANGELOG.md b/CHANGELOG.md index 973e4ff8..cba3a0f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## [2.5.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/compare/v2.4.0...v2.5.0) (2023-08-10) + + +### Features + +* make SDK more independent from environment ([1d017c1](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/1d017c158849d9125ca6ba01f414ec0948458769)), closes [#31](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/issues/31) + + +### Bug Fixes + +* fix `multiprocessing.pool` detection fro Lambda ([9373a93](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9373a9360bc6111fe362ea39ea1eea1a86d9bfcf)) + # Changelog @@ -111,4 +123,3 @@ ## v0.0.2-beta.4 (2022-08-12) - diff --git a/README.md b/README.md index a6bb0ed4..34752f73 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Fingerprint Pro Server API allows you to get information about visitors and abou This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: 3 -- Package version: 2.4.0 +- Package version: 2.5.0 - Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen ## Requirements. diff --git a/fingerprint_pro_server_api_sdk/api/fingerprint_api.py b/fingerprint_pro_server_api_sdk/api/fingerprint_api.py index 45ac8ffd..780e13ee 100644 --- a/fingerprint_pro_server_api_sdk/api/fingerprint_api.py +++ b/fingerprint_pro_server_api_sdk/api/fingerprint_api.py @@ -99,7 +99,7 @@ def get_event_with_http_info(self, request_id, **kwargs): # noqa: E501 path_params['request_id'] = params['request_id'] # noqa: E501 query_params = [] - query_params.append(('ii', 'fingerprint-pro-server-python-sdk/2.4.0')) + query_params.append(('ii', 'fingerprint-pro-server-python-sdk/2.5.0')) header_params = {} @@ -214,7 +214,7 @@ def get_visits_with_http_info(self, visitor_id, **kwargs): # noqa: E501 path_params['visitor_id'] = params['visitor_id'] # noqa: E501 query_params = [] - query_params.append(('ii', 'fingerprint-pro-server-python-sdk/2.4.0')) + query_params.append(('ii', 'fingerprint-pro-server-python-sdk/2.5.0')) if 'request_id' in params: query_params.append(('request_id', params['request_id'])) # noqa: E501 if 'linked_id' in params: diff --git a/fingerprint_pro_server_api_sdk/api_client.py b/fingerprint_pro_server_api_sdk/api_client.py index 59299b6b..1d032bcc 100644 --- a/fingerprint_pro_server_api_sdk/api_client.py +++ b/fingerprint_pro_server_api_sdk/api_client.py @@ -79,7 +79,7 @@ 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/2.4.0/python' + self.user_agent = 'Swagger-Codegen/2.5.0/python' def __del__(self): self.pool.close() diff --git a/fingerprint_pro_server_api_sdk/configuration.py b/fingerprint_pro_server_api_sdk/configuration.py index 42d3bac5..63a157c9 100644 --- a/fingerprint_pro_server_api_sdk/configuration.py +++ b/fingerprint_pro_server_api_sdk/configuration.py @@ -263,5 +263,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 3\n"\ - "SDK Package Version: 2.4.0".\ + "SDK Package Version: 2.5.0".\ format(env=sys.platform, pyversion=sys.version) \ No newline at end of file diff --git a/generate.sh b/generate.sh index 4f4e7262..ede4d41b 100755 --- a/generate.sh +++ b/generate.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION='2.4.0' +VERSION='2.5.0' while getopts "v:" arg; do case $arg in diff --git a/test/test_fingerprint_api.py b/test/test_fingerprint_api.py index 7497a381..2e5a4cfa 100644 --- a/test/test_fingerprint_api.py +++ b/test/test_fingerprint_api.py @@ -24,7 +24,7 @@ API_KEY = 'private_key' -VERSION = '2.4.0' +VERSION = '2.5.0' class MockPoolManager(object):