We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de70be9 commit f1234a5Copy full SHA for f1234a5
1 file changed
mpt_api_client/mptclient.py
@@ -3,8 +3,8 @@
3
from mpt_api_client.resources import OrderCollectionClient
4
5
6
-class MPTClient:
7
- """MPT API Client."""
+class MPTClientBase:
+ """MPT API Client Base."""
8
9
def __init__(
10
self,
@@ -19,6 +19,10 @@ def __init__(
19
def __getattr__(self, name): # type: ignore[no-untyped-def]
20
return self.registry.get(name)(client=self.mpt_client)
21
22
+
23
+class MPTClient(MPTClientBase):
24
+ """MPT API Client."""
25
26
@property
27
def commerce(self) -> "CommerceMpt":
28
"""Commerce MPT API Client.
@@ -30,7 +34,7 @@ def commerce(self) -> "CommerceMpt":
30
34
return CommerceMpt(mpt_client=self.mpt_client, registry=commerce)
31
35
32
36
33
-class CommerceMpt(MPTClient):
37
+class CommerceMpt(MPTClientBase):
38
"""Commerce MPT API Client."""
39
40
0 commit comments