mpcontribs-client 5.5.0__py3-none-any.whl → 5.5.2__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.
- mpcontribs/client/__init__.py +6 -2
- {mpcontribs_client-5.5.0.dist-info → mpcontribs_client-5.5.2.dist-info}/METADATA +1 -1
- mpcontribs_client-5.5.2.dist-info/RECORD +6 -0
- mpcontribs_client-5.5.0.dist-info/RECORD +0 -6
- {mpcontribs_client-5.5.0.dist-info → mpcontribs_client-5.5.2.dist-info}/LICENSE +0 -0
- {mpcontribs_client-5.5.0.dist-info → mpcontribs_client-5.5.2.dist-info}/WHEEL +0 -0
- {mpcontribs_client-5.5.0.dist-info → mpcontribs_client-5.5.2.dist-info}/top_level.txt +0 -0
mpcontribs/client/__init__.py
CHANGED
|
@@ -2018,7 +2018,11 @@ class Client(SwaggerClient):
|
|
|
2018
2018
|
logger.warning("storing structure properties not supported, yet!")
|
|
2019
2019
|
del dct["properties"]
|
|
2020
2020
|
elif is_table:
|
|
2021
|
-
table = element
|
|
2021
|
+
table = element
|
|
2022
|
+
if not isinstance(table, Table):
|
|
2023
|
+
table = Table(element)
|
|
2024
|
+
table.attrs = element.attrs
|
|
2025
|
+
|
|
2022
2026
|
table._clean()
|
|
2023
2027
|
dct = table.to_dict(orient="split")
|
|
2024
2028
|
elif is_attachment:
|
|
@@ -2102,7 +2106,7 @@ class Client(SwaggerClient):
|
|
|
2102
2106
|
if post_chunk:
|
|
2103
2107
|
payload = ujson.dumps(post_chunk).encode("utf-8")
|
|
2104
2108
|
futures.append(post_future(idx, payload))
|
|
2105
|
-
post_chunk
|
|
2109
|
+
post_chunk = []
|
|
2106
2110
|
idx += 1
|
|
2107
2111
|
else:
|
|
2108
2112
|
logger.error(f"SKIPPED: contrib {project_name}/{n} too large.")
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
mpcontribs/client/__init__.py,sha256=yBr0o01srpIY363hSje6ncczb7pn-qhDtw72QEb75m8,89603
|
|
2
|
+
mpcontribs_client-5.5.2.dist-info/LICENSE,sha256=5tG0Niaqw2hnuyZZYkRXLSnfVrZA47COwduU_6caPLM,1074
|
|
3
|
+
mpcontribs_client-5.5.2.dist-info/METADATA,sha256=i4MODkxRrCCq-fIFN5MHX_hjrluFfF6sPOZJQRsrNjM,2522
|
|
4
|
+
mpcontribs_client-5.5.2.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
5
|
+
mpcontribs_client-5.5.2.dist-info/top_level.txt,sha256=t8R5L_Dg9oDQMh2gyRFdZGnrzZsr7OjCBTrhTcmimC8,11
|
|
6
|
+
mpcontribs_client-5.5.2.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
mpcontribs/client/__init__.py,sha256=hJAl9LHSe3_DysEEky-CyNKgl300km8GFASLn_NG9Js,89491
|
|
2
|
-
mpcontribs_client-5.5.0.dist-info/LICENSE,sha256=5tG0Niaqw2hnuyZZYkRXLSnfVrZA47COwduU_6caPLM,1074
|
|
3
|
-
mpcontribs_client-5.5.0.dist-info/METADATA,sha256=DAJBo0SnPLAMS25YyTKI70_Wl_4LEvfPBLZxEGGo-eE,2522
|
|
4
|
-
mpcontribs_client-5.5.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
5
|
-
mpcontribs_client-5.5.0.dist-info/top_level.txt,sha256=t8R5L_Dg9oDQMh2gyRFdZGnrzZsr7OjCBTrhTcmimC8,11
|
|
6
|
-
mpcontribs_client-5.5.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|