Skip to content

Commit 41379bb

Browse files
authored
Merge pull request #25 from fireblocks/fireblocks-api-spec/generated/3804
version 1.0.2
2 parents 533eeb1 + 0881b64 commit 41379bb

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

fireblocks/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
""" # noqa: E501
1616

1717

18-
__version__ = "1.0.0"
18+
__version__ = "1.0.2"
1919

2020
# import apis into sdk package
2121
from fireblocks.api.api_user_api import ApiUserApi

fireblocks/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def __init__(
8888
self.default_headers[header_name] = header_value
8989
self.cookie = cookie
9090
# Set default User-Agent.
91-
self.user_agent = "OpenAPI-Generator/1.0.0/python"
91+
self.user_agent = "OpenAPI-Generator/1.0.2/python"
9292
self.client_side_validation = configuration.client_side_validation
9393

9494
def __enter__(self):

fireblocks/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def to_debug_report(self):
424424
"OS: {env}\n"
425425
"Python Version: {pyversion}\n"
426426
"Version of the API: 1.6.2\n"
427-
"SDK Package Version: 1.0.0".format(env=sys.platform, pyversion=sys.version)
427+
"SDK Package Version: 1.0.2".format(env=sys.platform, pyversion=sys.version)
428428
)
429429

430430
def get_host_settings(self):

fireblocks/user_agent_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
class UserAgentUtil:
1717
@staticmethod
1818
def get_user_agent(is_anonymous_platform: bool, custom_user_agent: str) -> str:
19-
user_agent = "fireblocks/sdk/python/1.0.0"
19+
user_agent = "fireblocks/sdk/python/1.0.2"
2020
if not is_anonymous_platform:
2121
os_type = platform.system()
2222
os_version = platform.release()

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "fireblocks"
3-
version = "1.0.0"
3+
version = "1.0.2"
44
description = "Fireblocks API"
55
authors = ["Fireblocks <[email protected]>"]
66
license = "MIT License"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# prerequisite: setuptools
2323
# http://pypi.python.org/pypi/setuptools
2424
NAME = "fireblocks"
25-
VERSION = "1.0.0"
25+
VERSION = "1.0.2"
2626
PYTHON_REQUIRES = ">=3.8"
2727
REQUIRES = [
2828
"urllib3 >= 1.25.3, < 2.1.0",

test/fireblocks/test_user_agent_util.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ def mock_platform(mocker):
2121
mocker.patch('platform.machine', return_value="x86_64")
2222

2323
@pytest.mark.parametrize("is_anonymous_platform, user_agent, expected", [
24-
(False, "customUserAgent", "customUserAgent fireblocks/sdk/python/1.0.0 (Linux 5.4.0-42-generic; x86_64)"),
25-
(True, "customUserAgent", "customUserAgent fireblocks/sdk/python/1.0.0"),
26-
(False, None, "fireblocks/sdk/python/1.0.0 (Linux 5.4.0-42-generic; x86_64)"),
27-
(True, None, "fireblocks/sdk/python/1.0.0")])
24+
(False, "customUserAgent", "customUserAgent fireblocks/sdk/python/1.0.2 (Linux 5.4.0-42-generic; x86_64)"),
25+
(True, "customUserAgent", "customUserAgent fireblocks/sdk/python/1.0.2"),
26+
(False, None, "fireblocks/sdk/python/1.0.2 (Linux 5.4.0-42-generic; x86_64)"),
27+
(True, None, "fireblocks/sdk/python/1.0.2")])
2828
def test_get_user_agent(mock_platform, is_anonymous_platform, user_agent, expected):
2929
# Create an instance of UserAgentUtil
3030
util = UserAgentUtil()

0 commit comments

Comments
 (0)