arelle-release 2.36.32__py3-none-any.whl → 2.36.33__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.
Potentially problematic release.
This version of arelle-release might be problematic. Click here for more details.
- arelle/_version.py +2 -2
- arelle/logging/handlers/LogHandlerWithXml.py +12 -4
- {arelle_release-2.36.32.dist-info → arelle_release-2.36.33.dist-info}/METADATA +1 -1
- {arelle_release-2.36.32.dist-info → arelle_release-2.36.33.dist-info}/RECORD +8 -8
- {arelle_release-2.36.32.dist-info → arelle_release-2.36.33.dist-info}/WHEEL +0 -0
- {arelle_release-2.36.32.dist-info → arelle_release-2.36.33.dist-info}/entry_points.txt +0 -0
- {arelle_release-2.36.32.dist-info → arelle_release-2.36.33.dist-info}/licenses/LICENSE.md +0 -0
- {arelle_release-2.36.32.dist-info → arelle_release-2.36.33.dist-info}/top_level.txt +0 -0
arelle/_version.py
CHANGED
|
@@ -68,15 +68,23 @@ class LogHandlerWithXml(logging.Handler):
|
|
|
68
68
|
entityEncode(msg),
|
|
69
69
|
refs))
|
|
70
70
|
def recordToJson(self, logRec: logging.LogRecord) -> dict[str, Any]:
|
|
71
|
-
message = {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
71
|
+
message = {
|
|
72
|
+
"text": self.format(logRec),
|
|
73
|
+
"args": self._buildJsonMessageArgs(logRec),
|
|
74
|
+
}
|
|
75
75
|
return {"code": getattr(logRec, "messageCode", ""),
|
|
76
76
|
"level": logRec.levelname.lower(),
|
|
77
77
|
"refs": getattr(logRec, "refs", []),
|
|
78
78
|
"message": message}
|
|
79
79
|
|
|
80
|
+
def _buildJsonMessageArgs(self, logRec: logging.LogRecord) -> dict[str, Any]:
|
|
81
|
+
if logRec.args and isinstance(logRec.args, Mapping):
|
|
82
|
+
return {
|
|
83
|
+
n: str(v)
|
|
84
|
+
for n, v in logRec.args.items()
|
|
85
|
+
}
|
|
86
|
+
return {}
|
|
87
|
+
|
|
80
88
|
def recordToHtml(self, logRec: logging.LogRecord) -> str:
|
|
81
89
|
record = ["<tr>"]
|
|
82
90
|
record.append(f"<td>{getattr(logRec, 'messageCode', '')}</td>")
|
|
@@ -123,7 +123,7 @@ arelle/XmlValidateConst.py,sha256=U_wN0Q-nWKwf6dKJtcu_83FXPn9c6P8JjzGA5b0w7P0,33
|
|
|
123
123
|
arelle/XmlValidateParticles.py,sha256=Mn6vhFl0ZKC_vag1mBwn1rH_x2jmlusJYqOOuxFPO2k,9231
|
|
124
124
|
arelle/XmlValidateSchema.py,sha256=6frtZOc1Yrx_5yYF6V6oHbScnglWrVbWr6xW4EHtLQI,7428
|
|
125
125
|
arelle/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
126
|
-
arelle/_version.py,sha256=
|
|
126
|
+
arelle/_version.py,sha256=uG5D5wvoM-ih0Hv6B0NFCUifNZ7mZWV6Rd0Ox93XjQw,515
|
|
127
127
|
arelle/typing.py,sha256=Ct5lrNKRow_o9CraMEXNza8nFsJ_iGIKoUeGfPs2dxI,1084
|
|
128
128
|
arelle/api/Session.py,sha256=Vd09RAutWX7mxHSsrW7Bl8CsE1UzXpQpAJsZb55mqng,6188
|
|
129
129
|
arelle/archive/CustomLogger.py,sha256=v_JXOCQLDZcfaFWzxC9FRcEf9tQi4rCI4Sx7jCuAVQI,1231
|
|
@@ -285,7 +285,7 @@ arelle/locale/fr/LC_MESSAGES/fr.po,sha256=D2WHLI9NktcxgmGx91fRLNLoVjvO3Z0jjS9AJl
|
|
|
285
285
|
arelle/locale/ru/LC_MESSAGES/arelle.mo,sha256=i004xdiJMpXus5DnSz2y708H5vPt78Pu5ApkrdC9Fqw,375378
|
|
286
286
|
arelle/locale/ru/LC_MESSAGES/ru.po,sha256=pPACN6dXlimkr2KJ5l-B0fv4PhlijWAz3fVYJ5h3SaM,449579
|
|
287
287
|
arelle/logging/formatters/LogFormatter.py,sha256=bKZjW-HGhN6vaNvqyEHFaLIQjlnDgo1cBSZgl13H2c0,1876
|
|
288
|
-
arelle/logging/handlers/LogHandlerWithXml.py,sha256=
|
|
288
|
+
arelle/logging/handlers/LogHandlerWithXml.py,sha256=xj-m6aNh4gksxP9AjN0xkECxVdx9m7ElCC0lXkhFcUQ,4318
|
|
289
289
|
arelle/logging/handlers/LogToBufferHandler.py,sha256=tTzHRw9tn1Osrpc5rcKxk2iTEE3uIq5wb792z5RVYAs,612
|
|
290
290
|
arelle/logging/handlers/LogToPrintHandler.py,sha256=iT5eTZx5MXJRhI-vZjlenNOSDRgiNXSQhh398Njbje0,1299
|
|
291
291
|
arelle/logging/handlers/LogToXmlHandler.py,sha256=eQGI_AQ6XrfIN_wl4TKnbLw_5D1bZz1UaWvegV2qpQA,10489
|
|
@@ -706,7 +706,7 @@ arelle/utils/validate/ValidationPlugin.py,sha256=_WeRPXZUTCcSN3FLbFwiAe_2pAUTxZZ
|
|
|
706
706
|
arelle/utils/validate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
707
707
|
arelle/webserver/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
708
708
|
arelle/webserver/bottle.py,sha256=676nP8SOB42QscV0WIbXoSV9MwdgvbrzeIApxr6mlUI,171255
|
|
709
|
-
arelle_release-2.36.
|
|
709
|
+
arelle_release-2.36.33.dist-info/licenses/LICENSE.md,sha256=rMbWwFLGzPgLoEjEu8LCmkpWDTqsvfOI-wzLSfeJsis,4107
|
|
710
710
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
711
711
|
tests/integration_tests/download_cache.py,sha256=jVMIVICsZjcVc9DCPPu3fCjF9_cWSS3tqSynhFs3oAM,4097
|
|
712
712
|
tests/integration_tests/integration_test_util.py,sha256=H7mncbv0T9ZeVyrtk9Hohe3k6jgcYykHkt-LGE-Q9aQ,10270
|
|
@@ -1554,8 +1554,8 @@ tests/unit_tests/arelle/oim/test_load.py,sha256=NxiUauQwJVfWAHbbpsMHGSU2d3Br8Pki
|
|
|
1554
1554
|
tests/unit_tests/arelle/plugin/test_plugin_imports.py,sha256=bdhIs9frAnFsdGU113yBk09_jis-z43dwUItMFYuSYM,1064
|
|
1555
1555
|
tests/unit_tests/arelle/plugin/validate/ESEF/ESEF_Current/test_validate_css_url.py,sha256=XHABmejQt7RlZ0udh7v42f2Xb2STGk_fSaIaJ9i2xo0,878
|
|
1556
1556
|
tests/unit_tests/arelle/utils/validate/test_decorator.py,sha256=ZS8FqIY1g-2FCbjF4UYm609dwViax6qBMRJSi0vfuhY,2482
|
|
1557
|
-
arelle_release-2.36.
|
|
1558
|
-
arelle_release-2.36.
|
|
1559
|
-
arelle_release-2.36.
|
|
1560
|
-
arelle_release-2.36.
|
|
1561
|
-
arelle_release-2.36.
|
|
1557
|
+
arelle_release-2.36.33.dist-info/METADATA,sha256=H_HCZ8brfvqRp7oFJpT7E7jz_uc1G9R5uu8m2qQKEo4,9032
|
|
1558
|
+
arelle_release-2.36.33.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
1559
|
+
arelle_release-2.36.33.dist-info/entry_points.txt,sha256=Uj5niwfwVsx3vaQ3fYj8hrZ1xpfCJyTUA09tYKWbzpo,111
|
|
1560
|
+
arelle_release-2.36.33.dist-info/top_level.txt,sha256=ZYmYGmhW5Jvo3vJ4iXBZPUI29LvYhntom04w90esJvU,13
|
|
1561
|
+
arelle_release-2.36.33.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|