wbfdm 1.49.0__py2.py3-none-any.whl → 1.49.1__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 wbfdm might be problematic. Click here for more details.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from typing import Any, Dict, Optional
|
|
2
2
|
|
|
3
3
|
from django.db import models
|
|
4
|
+
from django.utils.translation import gettext_lazy as _
|
|
4
5
|
from django_fsm import FSMField, transition
|
|
5
6
|
from wbcore.contrib.authentication.models import User
|
|
6
7
|
from wbcore.contrib.currency.models import Currency
|
|
@@ -112,7 +113,7 @@ class InstrumentRequest(WBModel):
|
|
|
112
113
|
|
|
113
114
|
def can_approve(self):
|
|
114
115
|
if self._check_already_existing_instrument():
|
|
115
|
-
return {"non_field_errors": "An instrument already exists with the proposed identifier"}
|
|
116
|
+
return {"non_field_errors": [_("An instrument already exists with the proposed identifier")]}
|
|
116
117
|
|
|
117
118
|
@transition(
|
|
118
119
|
field=status,
|
|
@@ -178,7 +179,7 @@ class InstrumentRequest(WBModel):
|
|
|
178
179
|
|
|
179
180
|
def can_submit(self) -> Dict[str, Any]:
|
|
180
181
|
if self._check_already_existing_instrument():
|
|
181
|
-
return {"non_field_errors": "An instrument already exists with the proposed identifier"}
|
|
182
|
+
return {"non_field_errors": [_("An instrument already exists with the proposed identifier")]}
|
|
182
183
|
|
|
183
184
|
@classmethod
|
|
184
185
|
def get_representation_endpoint(cls) -> str:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wbfdm
|
|
3
|
-
Version: 1.49.
|
|
3
|
+
Version: 1.49.1
|
|
4
4
|
Summary: The workbench module ensures rapid access to diverse financial data (market, fundamental, forecasts, ESG), with features for storing instruments, classifying them, and conducting financial analysis.
|
|
5
5
|
Author-email: Christopher Wittlinger <c.wittlinger@stainly.com>
|
|
6
6
|
Requires-Dist: roman==4.*
|
|
@@ -230,7 +230,7 @@ wbfdm/models/instruments/classifications.py,sha256=EeZ_P8f1F1NfjUmLf9fDMF0iPM73q
|
|
|
230
230
|
wbfdm/models/instruments/instrument_lists.py,sha256=GxfFyfYxEcJS36LAarHja49TOM8ffhIivpZX2-tPtZg,4234
|
|
231
231
|
wbfdm/models/instruments/instrument_prices.py,sha256=WCaFMZ9sF7xeGTp9jkq7TA8RfYHrwvTjujzqgCKj9SI,22070
|
|
232
232
|
wbfdm/models/instruments/instrument_relationships.py,sha256=zpCZCnt5CqIg5bd6le_6TyirsSwGV2NaqTVKw3bd5vM,10660
|
|
233
|
-
wbfdm/models/instruments/instrument_requests.py,sha256=
|
|
233
|
+
wbfdm/models/instruments/instrument_requests.py,sha256=XbpofRS8WHadHlTFjvXJyd0o7K9r2pzJtnpjVQZOLdI,7832
|
|
234
234
|
wbfdm/models/instruments/instruments.py,sha256=jbk3rsTIddstWi6DfFPt_UHtthQb0BUtOZUwA2gocJA,39573
|
|
235
235
|
wbfdm/models/instruments/options.py,sha256=hFprq7B5t4ctz8nVqzFsBEzftq_KDUSsSXl1zJyh7tE,7094
|
|
236
236
|
wbfdm/models/instruments/private_equities.py,sha256=uzwZi8IkmCKAHVTxnuFya9tehx7kh57sTlTEi1ieDaM,2198
|
|
@@ -352,6 +352,6 @@ wbfdm/viewsets/statements/__init__.py,sha256=odxtFYUDICPmz8WCE3nx93EvKZLSPBEI4d7
|
|
|
352
352
|
wbfdm/viewsets/statements/statements.py,sha256=kmtM0uZ3f7eJJe5gVmd-iVra9dHwTB9x12p7f5qTEx8,4084
|
|
353
353
|
wbfdm/viewsets/technical_analysis/__init__.py,sha256=qtCIBg0uSiZeJq_1tEQFilnorMBkMe6uCMfqar6-cLE,77
|
|
354
354
|
wbfdm/viewsets/technical_analysis/monthly_performances.py,sha256=O1j8CGfOranL74LqVvcf7jERaDIboEJZiBf_AbbVDQ8,3974
|
|
355
|
-
wbfdm-1.49.
|
|
356
|
-
wbfdm-1.49.
|
|
357
|
-
wbfdm-1.49.
|
|
355
|
+
wbfdm-1.49.1.dist-info/METADATA,sha256=CRBxSPPraUiOZsZ1eDYMa8pc5-A3n0uj-DoPAC8_bKk,737
|
|
356
|
+
wbfdm-1.49.1.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
|
|
357
|
+
wbfdm-1.49.1.dist-info/RECORD,,
|
|
File without changes
|