lsrestclient 3.3.0__py3-none-any.whl → 3.3.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lsrestclient/lsfastapi.py +2 -2
- {lsrestclient-3.3.0.dist-info → lsrestclient-3.3.1.dist-info}/METADATA +1 -1
- {lsrestclient-3.3.0.dist-info → lsrestclient-3.3.1.dist-info}/RECORD +5 -5
- {lsrestclient-3.3.0.dist-info → lsrestclient-3.3.1.dist-info}/WHEEL +0 -0
- {lsrestclient-3.3.0.dist-info → lsrestclient-3.3.1.dist-info}/entry_points.txt +0 -0
lsrestclient/lsfastapi.py
CHANGED
@@ -24,10 +24,10 @@ class LsFastApiClientBase(ABC):
|
|
24
24
|
return cls._client
|
25
25
|
|
26
26
|
@classmethod
|
27
|
-
def register(cls, base_url: str = None) -> LsRestClient:
|
27
|
+
def register(cls, base_url: str = None, **kwargs) -> LsRestClient:
|
28
28
|
# noinspection PyArgumentList
|
29
29
|
log.debug(f"Registering {cls.client_name} API client at {base_url}")
|
30
|
-
cls._client = LsRestClient(name=cls.client_name, base_url=base_url or cls.base_url())
|
30
|
+
cls._client = LsRestClient(name=cls.client_name, base_url=base_url or cls.base_url(), **kwargs)
|
31
31
|
return cls._client
|
32
32
|
|
33
33
|
@classmethod
|
@@ -5,11 +5,11 @@ lsrestclient/contexts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
5
5
|
lsrestclient/contexts/bearer_token.py,sha256=GZZOzAI2Ng_9DvFCbhv1Wwb8wJ1AYCca3fQeNtt2NaU,753
|
6
6
|
lsrestclient/exceptions.py,sha256=exJd1BfygNkkAqekmWepVXvXlMiOInVzPRnq7TmPURs,2149
|
7
7
|
lsrestclient/fixtures.py,sha256=dFkAYQXL6xqTOwRofb03Nsu_cIjq1sG10Rh8dxWfz9s,239
|
8
|
-
lsrestclient/lsfastapi.py,sha256=
|
8
|
+
lsrestclient/lsfastapi.py,sha256=Hn-PgV8RKifa0BbNZzbuK-FCVbJpFmUIpItxZbivd0A,1084
|
9
9
|
lsrestclient/mock.py,sha256=Ya12F0t5sXHTSt-X4jDDj5ILJx6y6QaBAMXutQMsIRI,1376
|
10
10
|
lsrestclient/response.py,sha256=4DYeN9e7phcrbm0QwwQS7uBI-sTDq7bKkP28BRWCzqA,2704
|
11
11
|
lsrestclient/settings.py,sha256=qRhQYFCOA8sKhejrd7r47Q4Vo6mQjLbXko7jv3_889A,350
|
12
|
-
lsrestclient-3.3.
|
13
|
-
lsrestclient-3.3.
|
14
|
-
lsrestclient-3.3.
|
15
|
-
lsrestclient-3.3.
|
12
|
+
lsrestclient-3.3.1.dist-info/METADATA,sha256=x_Ca7Z50UAD3AN5V_hldTVtxGDvfRSKZlVitlJasZmw,6816
|
13
|
+
lsrestclient-3.3.1.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
14
|
+
lsrestclient-3.3.1.dist-info/entry_points.txt,sha256=7lN1XN3lq5Jv5PlpOdIlFrLlFlwzE5MaEWSgMhKASOM,47
|
15
|
+
lsrestclient-3.3.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|