eba-xbridge 1.5.1rc2__py3-none-any.whl → 1.5.2rc1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eba-xbridge
3
- Version: 1.5.1rc2
3
+ Version: 1.5.2rc1
4
4
  Summary: XBRL-XML to XBRL-CSV converter for EBA Taxonomy (version 4.2)
5
5
  License: Apache 2.0
6
6
  License-File: LICENSE
@@ -1,7 +1,7 @@
1
- xbridge/__init__.py,sha256=g-41YqPxdxmSKCDBU24bb3lddhqDST3YwbfrZVly_Co,68
1
+ xbridge/__init__.py,sha256=vSHpgBhCSUtUgcniNUtNIakT3QZ8O77gUMGOPIlKQJo,68
2
2
  xbridge/__main__.py,sha256=trtFEv7TRJgrLL84leIapPvgC_iVTj05qLHRRS1Olts,2219
3
3
  xbridge/api.py,sha256=NCBz7VRJWE3gID6ndgL4Awoxw0w1yMIIf_OTLRuZyyQ,1559
4
- xbridge/converter.py,sha256=ZZFi_yqYjgJvslJ45XD8Srgz7gsBucMVp24uh_qfBA0,24986
4
+ xbridge/converter.py,sha256=aJY7lL5wfy_EKaPUtAJYNht6PrMt1f6s3Dm5WzBZmf4,25120
5
5
  xbridge/exceptions.py,sha256=v219QGAjcO4--7wS0bBRtm2TdccX9RhExV7gAhnEfgE,1285
6
6
  xbridge/instance.py,sha256=6Mv-g4lWfCoyEs5nbZaiTdIXJJSEKB1Do5KP3go_Ag0,33775
7
7
  xbridge/modules/ae_ae_4.2.json,sha256=Ee2xY5H-0i3CaFhXjG6-Cf2xH9qH1gbHEKdzdwyjQSw,460878
@@ -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.1rc2.dist-info/METADATA,sha256=XJiZoeridbffNUBPUAbabnmh0dKUQ4S3V8U4u68hNxU,12082
388
- eba_xbridge-1.5.1rc2.dist-info/WHEEL,sha256=kJCRJT_g0adfAJzTx2GUMmS80rTJIVHRCfG0DQgLq3o,88
389
- eba_xbridge-1.5.1rc2.dist-info/entry_points.txt,sha256=FATct4icSewM04cegjhybtm7xcQWhaSahL-DTtuFdZw,49
390
- eba_xbridge-1.5.1rc2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
391
- eba_xbridge-1.5.1rc2.dist-info/RECORD,,
387
+ eba_xbridge-1.5.2rc1.dist-info/METADATA,sha256=OnHRkIO1MbNalLOfBKPmvekBLosCsOX_SSTwZCsY7-M,12082
388
+ eba_xbridge-1.5.2rc1.dist-info/WHEEL,sha256=kJCRJT_g0adfAJzTx2GUMmS80rTJIVHRCfG0DQgLq3o,88
389
+ eba_xbridge-1.5.2rc1.dist-info/entry_points.txt,sha256=FATct4icSewM04cegjhybtm7xcQWhaSahL-DTtuFdZw,49
390
+ eba_xbridge-1.5.2rc1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
391
+ eba_xbridge-1.5.2rc1.dist-info/RECORD,,
xbridge/__init__.py CHANGED
@@ -2,4 +2,4 @@
2
2
  Init file for eba-xbridge library
3
3
  """
4
4
 
5
- __version__ = "1.5.1rc2"
5
+ __version__ = "1.5.2rc1"
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