Skip to content

Commit 71f6264

Browse files
committed
fix: handle string-format query params and unblock dependabot updates
1 parent 877f6a1 commit 71f6264

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

hostinger_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
""" # noqa: E501
1313

1414

15-
__version__ = "3.20.0"
15+
__version__ = "3.20.1"
1616

1717
# import apis into sdk package
1818
from hostinger_api.api.agency_hosting_cache_api import AgencyHostingCacheApi

hostinger_api/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 = 'hostinger_api-python/3.20.0'
91+
self.user_agent = 'hostinger_api-python/3.20.1'
9292
self.client_side_validation = configuration.client_side_validation
9393

9494
def __enter__(self):

hostinger_api/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def to_debug_report(self) -> str:
508508
"OS: {env}\n"\
509509
"Python Version: {pyversion}\n"\
510510
"Version of the API: 1.22.0\n"\
511-
"SDK Package Version: 3.20.0".\
511+
"SDK Package Version: 3.20.1".\
512512
format(env=sys.platform, pyversion=sys.version)
513513

514514
def get_host_settings(self) -> List[HostSetting]:

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "hostinger_api"
3-
version = "3.20.0"
3+
version = "3.20.1"
44
description = "Hostinger API"
55
authors = ["Hostinger <devs@hostinger.com>"]
66
license = "MIT"
@@ -10,7 +10,7 @@ keywords = ["hostinger", "openapi", "python", "sdk", "rest", "api"]
1010
include = ["hostinger_api/py.typed"]
1111

1212
[tool.poetry.dependencies]
13-
python = "^3.9"
13+
python = "^3.10"
1414
urllib3 = ">= 2.7.0, < 3.0.0"
1515
python-dateutil = ">= 2.8.2"
1616
pydantic = ">= 2"

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ def read(filename):
2222
# prerequisite: setuptools
2323
# http://pypi.python.org/pypi/setuptools
2424
NAME = "hostinger_api"
25-
VERSION = "3.20.0"
26-
PYTHON_REQUIRES = ">= 3.9"
25+
VERSION = "3.20.1"
26+
PYTHON_REQUIRES = ">= 3.10"
2727
REQUIRES = [
2828
"urllib3 >= 2.7.0, < 3.0.0",
2929
"python-dateutil >= 2.8.2",

0 commit comments

Comments
 (0)