eba-xbridge 1.5.1rc2__py3-none-any.whl → 1.5.2rc2__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.
- {eba_xbridge-1.5.1rc2.dist-info → eba_xbridge-1.5.2rc2.dist-info}/METADATA +1 -1
- {eba_xbridge-1.5.1rc2.dist-info → eba_xbridge-1.5.2rc2.dist-info}/RECORD +8 -8
- xbridge/__init__.py +1 -1
- xbridge/converter.py +4 -1
- xbridge/instance.py +8 -7
- {eba_xbridge-1.5.1rc2.dist-info → eba_xbridge-1.5.2rc2.dist-info}/WHEEL +0 -0
- {eba_xbridge-1.5.1rc2.dist-info → eba_xbridge-1.5.2rc2.dist-info}/entry_points.txt +0 -0
- {eba_xbridge-1.5.1rc2.dist-info → eba_xbridge-1.5.2rc2.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
xbridge/__init__.py,sha256=
|
|
1
|
+
xbridge/__init__.py,sha256=cRgehtsC2Xho3NXqQj1BC2i9Nx0hn_jD1AREMnzwcCk,68
|
|
2
2
|
xbridge/__main__.py,sha256=trtFEv7TRJgrLL84leIapPvgC_iVTj05qLHRRS1Olts,2219
|
|
3
3
|
xbridge/api.py,sha256=NCBz7VRJWE3gID6ndgL4Awoxw0w1yMIIf_OTLRuZyyQ,1559
|
|
4
|
-
xbridge/converter.py,sha256=
|
|
4
|
+
xbridge/converter.py,sha256=aJY7lL5wfy_EKaPUtAJYNht6PrMt1f6s3Dm5WzBZmf4,25120
|
|
5
5
|
xbridge/exceptions.py,sha256=v219QGAjcO4--7wS0bBRtm2TdccX9RhExV7gAhnEfgE,1285
|
|
6
|
-
xbridge/instance.py,sha256=
|
|
6
|
+
xbridge/instance.py,sha256=TCch1gIj3NdNpfTawLhl37RbujP7E6WaG21EIa9a82o,33849
|
|
7
7
|
xbridge/modules/ae_ae_4.2.json,sha256=Ee2xY5H-0i3CaFhXjG6-Cf2xH9qH1gbHEKdzdwyjQSw,460878
|
|
8
8
|
xbridge/modules/ae_con_cir-680-2014_2017-04-04.json,sha256=zgpNuKApUBzlNE4ihBUmwqp3xD_5ghBidBfb5TliKtg,363986
|
|
9
9
|
xbridge/modules/ae_con_cir-680-2014_2018-03-31.json,sha256=_vvwV0Hbtx-MiBbJOgUeaCjkVo6w8EovD96t3AP_1zM,364251
|
|
@@ -384,8 +384,8 @@ xbridge/modules/sepa_ipr_pay_4.2.json,sha256=0NItBVtcZXL81Uipn1iflGyCaLHULT4it8k
|
|
|
384
384
|
xbridge/modules.py,sha256=M0WeKw4n2F3H9-o64off0RLiUz8DdIardUUJQZ1K2ck,23423
|
|
385
385
|
xbridge/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
386
386
|
xbridge/taxonomy_loader.py,sha256=K0lnJVryvkKsaoK3fMis-L2JpmwLO6z3Ruq3yj9FxDY,9317
|
|
387
|
-
eba_xbridge-1.5.
|
|
388
|
-
eba_xbridge-1.5.
|
|
389
|
-
eba_xbridge-1.5.
|
|
390
|
-
eba_xbridge-1.5.
|
|
391
|
-
eba_xbridge-1.5.
|
|
387
|
+
eba_xbridge-1.5.2rc2.dist-info/METADATA,sha256=xcS8sLQgKZswxzeKGcZLDVKV4r0xlHgbgTl-ATdlhP4,12082
|
|
388
|
+
eba_xbridge-1.5.2rc2.dist-info/WHEEL,sha256=kJCRJT_g0adfAJzTx2GUMmS80rTJIVHRCfG0DQgLq3o,88
|
|
389
|
+
eba_xbridge-1.5.2rc2.dist-info/entry_points.txt,sha256=FATct4icSewM04cegjhybtm7xcQWhaSahL-DTtuFdZw,49
|
|
390
|
+
eba_xbridge-1.5.2rc2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
391
|
+
eba_xbridge-1.5.2rc2.dist-info/RECORD,,
|
xbridge/__init__.py
CHANGED
xbridge/converter.py
CHANGED
|
@@ -590,9 +590,12 @@ class Converter:
|
|
|
590
590
|
parameters: Dict[str, Any] = {
|
|
591
591
|
"entityID": self.instance.entity,
|
|
592
592
|
"refPeriod": self.instance.period,
|
|
593
|
-
"baseCurrency": self.instance.base_currency,
|
|
594
593
|
}
|
|
595
594
|
|
|
595
|
+
# Only include baseCurrency if it is present in the instance
|
|
596
|
+
if self.instance.base_currency is not None:
|
|
597
|
+
parameters["baseCurrency"] = self.instance.base_currency
|
|
598
|
+
|
|
596
599
|
for data_type, decimals in self._decimals_parameters.items():
|
|
597
600
|
parameters[data_type] = decimals
|
|
598
601
|
|
xbridge/instance.py
CHANGED
|
@@ -483,17 +483,18 @@ class Instance:
|
|
|
483
483
|
if self.root is None:
|
|
484
484
|
raise AttributeError("XML root not loaded.")
|
|
485
485
|
|
|
486
|
-
|
|
486
|
+
nodes_f_indicators = self.root.findall(
|
|
487
487
|
"{http://www.eurofiling.info/xbrl/ext/filing-indicators}fIndicators"
|
|
488
488
|
)
|
|
489
|
-
if
|
|
489
|
+
if not nodes_f_indicators:
|
|
490
490
|
return
|
|
491
|
-
all_ind = node_f_indicators.findall(
|
|
492
|
-
"{http://www.eurofiling.info/xbrl/ext/filing-indicators}filingIndicator"
|
|
493
|
-
)
|
|
494
491
|
filing_indicators: List[FilingIndicator] = []
|
|
495
|
-
for
|
|
496
|
-
|
|
492
|
+
for node_f_indicators in nodes_f_indicators:
|
|
493
|
+
all_ind = node_f_indicators.findall(
|
|
494
|
+
"{http://www.eurofiling.info/xbrl/ext/filing-indicators}filingIndicator"
|
|
495
|
+
)
|
|
496
|
+
for fil_ind in all_ind:
|
|
497
|
+
filing_indicators.append(FilingIndicator(fil_ind))
|
|
497
498
|
|
|
498
499
|
if filing_indicators:
|
|
499
500
|
self._filing_indicators = filing_indicators
|
|
File without changes
|
|
File without changes
|
|
File without changes
|