mms-client 1.3.0__py3-none-any.whl → 1.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.
- mms_client/types/base.py +1 -1
- {mms_client-1.3.0.dist-info → mms_client-1.3.1.dist-info}/METADATA +3 -3
- {mms_client-1.3.0.dist-info → mms_client-1.3.1.dist-info}/RECORD +5 -5
- {mms_client-1.3.0.dist-info → mms_client-1.3.1.dist-info}/LICENSE +0 -0
- {mms_client-1.3.0.dist-info → mms_client-1.3.1.dist-info}/WHEEL +0 -0
mms_client/types/base.py
CHANGED
|
@@ -115,7 +115,7 @@ class SchemaType(Enum):
|
|
|
115
115
|
OMI = "omi.xsd"
|
|
116
116
|
|
|
117
117
|
|
|
118
|
-
class PayloadBase(BaseXmlModel, nsmap={"xsi": "http://www.w3.org/2001/XMLSchema"}):
|
|
118
|
+
class PayloadBase(BaseXmlModel, nsmap={"xsi": "http://www.w3.org/2001/XMLSchema-instance"}):
|
|
119
119
|
"""Represents the base fields for an MMS request payload."""
|
|
120
120
|
|
|
121
121
|
# The XML schema to use for validation
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mms-client
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.1
|
|
4
4
|
Summary: API client for accessing the MMS
|
|
5
5
|
Home-page: https://github.com/ElectroRoute-Japan/mms-client
|
|
6
6
|
Author: Ryan Wood
|
|
@@ -174,14 +174,14 @@ There's a lot of code here but it's not terribly difficult to understand. All th
|
|
|
174
174
|
If you want to test your MMS connection, you can try using the test server:
|
|
175
175
|
|
|
176
176
|
```python
|
|
177
|
-
client = MmsClient(participant="F100", user="FAKEUSER", client_type=ClientType.BSP, cert,
|
|
177
|
+
client = MmsClient(participant="F100", user="FAKEUSER", client_type=ClientType.BSP, cert, test=True)
|
|
178
178
|
```
|
|
179
179
|
|
|
180
180
|
## Connecting as a Market Admin
|
|
181
181
|
If you're connecting as a market operator (MO), you can connect in admin mode:
|
|
182
182
|
|
|
183
183
|
```python
|
|
184
|
-
client = MmsClient(participant="F100", user="FAKEUSER", client_type=ClientType.BSP, cert,
|
|
184
|
+
client = MmsClient(participant="F100", user="FAKEUSER", client_type=ClientType.BSP, cert, is_admin=True)
|
|
185
185
|
```
|
|
186
186
|
|
|
187
187
|
## Log Settings
|
|
@@ -19,7 +19,7 @@ mms_client/services/registration.py,sha256=46Scntwlc9CtCO-tV6uEnr4NrVGJiUqhvksII
|
|
|
19
19
|
mms_client/services/report.py,sha256=HYVJNwEHo6ZC6497UqO5y1IqZ2ga3kVH5AepdxhYfug,537
|
|
20
20
|
mms_client/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
21
|
mms_client/types/award.py,sha256=BWE9V_KHXpg_cW1LZsetVrPs2hZDOklvRpNnoZtmR3k,14139
|
|
22
|
-
mms_client/types/base.py,sha256=
|
|
22
|
+
mms_client/types/base.py,sha256=VQCr50CL1SnnPcO1EYGHa4rrkHBtXs-J8psWLJWoHJY,9710
|
|
23
23
|
mms_client/types/enums.py,sha256=YJ58FbhyQ0TVlf8Z-Dg1UfVu8CurY5b21Cy5-WYkJ0I,1629
|
|
24
24
|
mms_client/types/fields.py,sha256=pa5qvQVwEr8dh44IGHyYqgJYTYyTIeAjBW6CylXrkP0,14785
|
|
25
25
|
mms_client/types/market.py,sha256=IbXsH4Q5MJI-CEvGvZlzv2S36mX_Ea02U11Ik-NwSxQ,2706
|
|
@@ -31,7 +31,7 @@ mms_client/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
|
|
|
31
31
|
mms_client/utils/errors.py,sha256=jYdlG4OPI82s0fJcXCRNlKeEixDUSSAxjs_7C16qVL4,2306
|
|
32
32
|
mms_client/utils/serialization.py,sha256=vTJZSjhfTph2tDAYbLAhnz89i0qXJ8FINGdve67cJOU,29534
|
|
33
33
|
mms_client/utils/web.py,sha256=fcdCtdDrHBPyhIlTcyiuAk3D3TlW8HmUw-wGfpG4KTA,9653
|
|
34
|
-
mms_client-1.3.
|
|
35
|
-
mms_client-1.3.
|
|
36
|
-
mms_client-1.3.
|
|
37
|
-
mms_client-1.3.
|
|
34
|
+
mms_client-1.3.1.dist-info/LICENSE,sha256=awOCsWJ58m_2kBQwBUGWejVqZm6wuRtCL2hi9rfa0X4,1211
|
|
35
|
+
mms_client-1.3.1.dist-info/METADATA,sha256=oSdqfUgW01Tr2ZRcCUd4SedQzQZrvNLY5fWmNmlMviY,14774
|
|
36
|
+
mms_client-1.3.1.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
37
|
+
mms_client-1.3.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|