Skip to content

Commit 6d23a0b

Browse files
committed
fix: fixed the package to ensure compatibility with newer python versions
1 parent deb36de commit 6d23a0b

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

zitadel_client/configuration.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ class Configuration:
1919
USER_AGENT = " ".join(
2020
[
2121
f"zitadel-client/{Version.VERSION}",
22-
f"({
23-
'; '.join(
24-
[
25-
'lang=python',
26-
f'lang_version={platform.python_version()}',
27-
f'os={platform.system()}',
28-
f'arch={platform.machine()}',
29-
]
30-
)
31-
})",
22+
"("
23+
+ "; ".join(
24+
[
25+
"lang=python",
26+
f"lang_version={platform.python_version()}",
27+
f"os={platform.system()}",
28+
f"arch={platform.machine()}",
29+
]
30+
)
31+
+ ")",
3232
]
3333
).lower()
3434

@@ -65,6 +65,7 @@ def __init__(
6565
self.assert_hostname = None
6666
self.tls_server_name = None
6767

68+
# noinspection PyUnresolvedReferences
6869
self.connection_pool_maxsize = multiprocessing.cpu_count() * 5
6970
"""urllib3 connection pool's maximum number of connections saved
7071
per pool. urllib3 uses 1 connection as default value, but this is

zitadel_client/zitadel.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ class Zitadel:
2727
2828
Attributes:
2929
configuration (Configuration): The configuration instance containing authentication and endpoint details.
30-
client (ApiClient): The API client used for making HTTP requests to the Zitadel API.
3130
actions (ActionServiceApi): Service API for actions management.
3231
features (FeatureServiceApi): Service API for feature management.
3332
idps (IdentityProviderServiceApi): Service API for identity provider operations.

0 commit comments

Comments
 (0)