wbportfolio 1.51.6__py2.py3-none-any.whl → 1.51.7__py2.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 wbportfolio might be problematic. Click here for more details.

@@ -36,7 +36,9 @@ class AssetPositionImportHandler(ImportExportHandler):
36
36
  portfolio_data = data.pop("portfolio", None)
37
37
  underlying_quote_data = data.pop("underlying_quote", data.pop("underlying_instrument", None))
38
38
  if "currency" in data:
39
- data["currency"] = self.currency_handler.process_object(data["currency"], read_only=True)[0]
39
+ data["currency"] = self.currency_handler.process_object(
40
+ data["currency"], read_only=True, raise_exception=False
41
+ )[0]
40
42
  data["date"] = datetime.strptime(data["date"], "%Y-%m-%d").date()
41
43
  if data.get("asset_valuation_date", None):
42
44
  data["asset_valuation_date"] = datetime.strptime(data["asset_valuation_date"], "%Y-%m-%d").date()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wbportfolio
3
- Version: 1.51.6
3
+ Version: 1.51.7
4
4
  Author-email: Christopher Wittlinger <c.wittlinger@stainly.com>
5
5
  License-File: LICENSE
6
6
  Requires-Dist: cryptography==3.4.*
@@ -110,7 +110,7 @@ wbportfolio/import_export/backends/wbfdm/dividend.py,sha256=iAQXnYPXmtG_Jrc8THAJ
110
110
  wbportfolio/import_export/backends/wbfdm/mixin.py,sha256=JNtjgqGLson1nu_Chqb8MWyuiF3Ws8ox2vapxIRBYKE,400
111
111
  wbportfolio/import_export/handlers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
112
112
  wbportfolio/import_export/handlers/adjustment.py,sha256=6bdTIYFmc8_HFxcdwtnYwglMyCfAD8XrTIrEb2zWY0g,1757
113
- wbportfolio/import_export/handlers/asset_position.py,sha256=5wFnHcbq_zGp9rBUec_JEpzjCA0_v17VrV9F8Ps1ETs,8645
113
+ wbportfolio/import_export/handlers/asset_position.py,sha256=UZBDlEK5mxtGu9cZvwiQS6J8GNkMJqDZb7KZ3uwex0g,8698
114
114
  wbportfolio/import_export/handlers/dividend.py,sha256=lnQj6zcXoNN0xMYgP8A69a4r9yXc039iEvj8UItlPa0,4480
115
115
  wbportfolio/import_export/handlers/fees.py,sha256=K1iA7qWVQzHN1hrY22OEt3LN0N1qd57ZJnQB55_FfFA,3221
116
116
  wbportfolio/import_export/handlers/portfolio_cash_flow.py,sha256=W7QPNqEvvsq0RS016EAFBp1ezvc6G9Rk-hviRZh8o6Y,2737
@@ -528,7 +528,7 @@ wbportfolio/viewsets/transactions/rebalancing.py,sha256=6rIrdK0rtKL1afJ-tYfAGdQV
528
528
  wbportfolio/viewsets/transactions/trade_proposals.py,sha256=Uk-K-x4MWKzsciRveALA5Fup6zBkin0z4bIedCIqolM,5988
529
529
  wbportfolio/viewsets/transactions/trades.py,sha256=-yJ4j8NJTu2VWyhCq5BXGNND_925Ietoxx9k07SLVh0,21634
530
530
  wbportfolio/viewsets/transactions/transactions.py,sha256=ixDp-nsNA8t_A06rBCT19hOMJHy0iRmdz1XKdV1OwAs,4450
531
- wbportfolio-1.51.6.dist-info/METADATA,sha256=zF_DWez266r5urp156oXanS6YnY-Slvc95zJZREW77Q,702
532
- wbportfolio-1.51.6.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
533
- wbportfolio-1.51.6.dist-info/licenses/LICENSE,sha256=jvfVH0SY8_YMHlsJHKe_OajiscQDz4lpTlqT6x24sVw,172
534
- wbportfolio-1.51.6.dist-info/RECORD,,
531
+ wbportfolio-1.51.7.dist-info/METADATA,sha256=moZcu_SHrW9LRziehHN88kJ2lz0TLahopNfiSDuG380,702
532
+ wbportfolio-1.51.7.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
533
+ wbportfolio-1.51.7.dist-info/licenses/LICENSE,sha256=jvfVH0SY8_YMHlsJHKe_OajiscQDz4lpTlqT6x24sVw,172
534
+ wbportfolio-1.51.7.dist-info/RECORD,,