wbfdm 1.50.12__py2.py3-none-any.whl → 1.50.14__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.
- wbfdm/contrib/metric/backends/statistics.py +44 -10
- wbfdm/contrib/metric/filters.py +10 -0
- wbfdm/filters/instruments.py +1 -0
- wbfdm/models/instruments/instrument_prices.py +5 -0
- wbfdm/models/instruments/llm/create_instrument_news_relationships.py +2 -2
- wbfdm/viewsets/instruments/instruments.py +1 -1
- {wbfdm-1.50.12.dist-info → wbfdm-1.50.14.dist-info}/METADATA +1 -1
- {wbfdm-1.50.12.dist-info → wbfdm-1.50.14.dist-info}/RECORD +9 -10
- wbfdm/menu.py +0 -11
- {wbfdm-1.50.12.dist-info → wbfdm-1.50.14.dist-info}/WHEEL +0 -0
|
@@ -3,7 +3,7 @@ from datetime import date
|
|
|
3
3
|
from typing import Generator
|
|
4
4
|
|
|
5
5
|
import pandas as pd
|
|
6
|
-
from django.db.models import
|
|
6
|
+
from django.db.models import Sum
|
|
7
7
|
from wbcore.serializers.fields.number import DisplayMode
|
|
8
8
|
|
|
9
9
|
from wbfdm.enums import Financial, PeriodType, SeriesType
|
|
@@ -21,7 +21,6 @@ STATISTICS_METRIC = MetricKey(
|
|
|
21
21
|
MetricField(
|
|
22
22
|
key="revenue_y_1",
|
|
23
23
|
label="Revenue Y-1",
|
|
24
|
-
aggregate=Sum,
|
|
25
24
|
list_display_kwargs={"show": "open"},
|
|
26
25
|
decorators=[{"position": "left", "value": "{{currency_symbol}}"}],
|
|
27
26
|
serializer_kwargs={"display_mode": DisplayMode.SHORTENED},
|
|
@@ -29,14 +28,12 @@ STATISTICS_METRIC = MetricKey(
|
|
|
29
28
|
MetricField(
|
|
30
29
|
key="revenue_y0",
|
|
31
30
|
label="Revenue Y0",
|
|
32
|
-
aggregate=Sum,
|
|
33
31
|
decorators=[{"position": "left", "value": "{{currency_symbol}}"}],
|
|
34
32
|
serializer_kwargs={"display_mode": DisplayMode.SHORTENED},
|
|
35
33
|
),
|
|
36
34
|
MetricField(
|
|
37
35
|
key="revenue_y1",
|
|
38
36
|
label="Revenue Y1",
|
|
39
|
-
aggregate=Sum,
|
|
40
37
|
list_display_kwargs={"show": "open"},
|
|
41
38
|
decorators=[{"position": "left", "value": "{{currency_symbol}}"}],
|
|
42
39
|
serializer_kwargs={"display_mode": DisplayMode.SHORTENED},
|
|
@@ -44,20 +41,17 @@ STATISTICS_METRIC = MetricKey(
|
|
|
44
41
|
MetricField(
|
|
45
42
|
key="market_capitalization",
|
|
46
43
|
label="Market Capitalization",
|
|
47
|
-
aggregate=Sum,
|
|
48
44
|
decorators=[{"position": "left", "value": "{{currency_symbol}}"}],
|
|
49
45
|
serializer_kwargs={"display_mode": DisplayMode.SHORTENED},
|
|
50
46
|
),
|
|
51
47
|
MetricField(
|
|
52
48
|
key="price",
|
|
53
49
|
label="Price",
|
|
54
|
-
aggregate=Avg,
|
|
55
50
|
decorators=[{"position": "left", "value": "{{currency_symbol}}"}],
|
|
56
51
|
),
|
|
57
52
|
MetricField(
|
|
58
53
|
key="volume_50d",
|
|
59
54
|
label="Volume 50D",
|
|
60
|
-
aggregate=Avg,
|
|
61
55
|
serializer_kwargs={"display_mode": DisplayMode.SHORTENED},
|
|
62
56
|
),
|
|
63
57
|
],
|
|
@@ -65,9 +59,49 @@ STATISTICS_METRIC = MetricKey(
|
|
|
65
59
|
|
|
66
60
|
STATISTICS_METRIC_USD = MetricKey(
|
|
67
61
|
key="statistic_usd",
|
|
68
|
-
label=
|
|
69
|
-
subfields=
|
|
70
|
-
|
|
62
|
+
label="Statistic (USD)",
|
|
63
|
+
subfields=[
|
|
64
|
+
MetricField(
|
|
65
|
+
key="revenue_y_1",
|
|
66
|
+
label="Revenue Y-1",
|
|
67
|
+
aggregate=Sum,
|
|
68
|
+
list_display_kwargs={"show": "open"},
|
|
69
|
+
decorators=[{"position": "left", "value": "$"}],
|
|
70
|
+
serializer_kwargs={"display_mode": DisplayMode.SHORTENED},
|
|
71
|
+
),
|
|
72
|
+
MetricField(
|
|
73
|
+
key="revenue_y0",
|
|
74
|
+
label="Revenue Y0",
|
|
75
|
+
aggregate=Sum,
|
|
76
|
+
decorators=[{"position": "left", "value": "$"}],
|
|
77
|
+
serializer_kwargs={"display_mode": DisplayMode.SHORTENED},
|
|
78
|
+
),
|
|
79
|
+
MetricField(
|
|
80
|
+
key="revenue_y1",
|
|
81
|
+
label="Revenue Y1",
|
|
82
|
+
aggregate=Sum,
|
|
83
|
+
list_display_kwargs={"show": "open"},
|
|
84
|
+
decorators=[{"position": "left", "value": "$"}],
|
|
85
|
+
serializer_kwargs={"display_mode": DisplayMode.SHORTENED},
|
|
86
|
+
),
|
|
87
|
+
MetricField(
|
|
88
|
+
key="market_capitalization",
|
|
89
|
+
label="Market Capitalization",
|
|
90
|
+
aggregate=Sum,
|
|
91
|
+
decorators=[{"position": "left", "value": "$"}],
|
|
92
|
+
serializer_kwargs={"display_mode": DisplayMode.SHORTENED},
|
|
93
|
+
),
|
|
94
|
+
MetricField(
|
|
95
|
+
key="price",
|
|
96
|
+
label="Price",
|
|
97
|
+
decorators=[{"position": "left", "value": "{{currency_symbol}}"}],
|
|
98
|
+
),
|
|
99
|
+
MetricField(
|
|
100
|
+
key="volume_50d",
|
|
101
|
+
label="Volume 50D",
|
|
102
|
+
serializer_kwargs={"display_mode": DisplayMode.SHORTENED},
|
|
103
|
+
),
|
|
104
|
+
],
|
|
71
105
|
)
|
|
72
106
|
|
|
73
107
|
|
wbfdm/contrib/metric/filters.py
CHANGED
|
@@ -8,6 +8,16 @@ from .registry import backend_registry
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class InstrumentMetricFilterSet(filters.FilterSet):
|
|
11
|
+
parent_metric = filters.ModelChoiceFilter(
|
|
12
|
+
label="Parent",
|
|
13
|
+
queryset=InstrumentMetric.objects.all(),
|
|
14
|
+
endpoint=InstrumentMetric.get_representation_endpoint(),
|
|
15
|
+
value_key=InstrumentMetric.get_representation_value_key(),
|
|
16
|
+
label_key=InstrumentMetric.get_representation_label_key(),
|
|
17
|
+
hidden=True,
|
|
18
|
+
)
|
|
19
|
+
parent_metric__isnull = filters.BooleanFilter(field_name="parent_metric", lookup_expr="isnull", hidden=True)
|
|
20
|
+
|
|
11
21
|
key = filters.ChoiceFilter(choices=backend_registry.get_choices(), label="Key")
|
|
12
22
|
basket_content_type = filters.ModelChoiceFilter(
|
|
13
23
|
queryset=ContentType.objects.all(),
|
wbfdm/filters/instruments.py
CHANGED
|
@@ -52,6 +52,7 @@ class InstrumentFilterSet(TagFilterMixin, InstrumentFavoriteGroupFilterSet):
|
|
|
52
52
|
label_key=Instrument.get_representation_label_key(),
|
|
53
53
|
hidden=True,
|
|
54
54
|
)
|
|
55
|
+
parent__isnull = wb_filters.BooleanFilter(field_name="parent", lookup_expr="isnull", hidden=True)
|
|
55
56
|
|
|
56
57
|
classifications = wb_filters.ModelChoiceFilter(
|
|
57
58
|
label="Classification",
|
|
@@ -340,6 +340,11 @@ class InstrumentPrice(
|
|
|
340
340
|
|
|
341
341
|
if self.market_capitalization_consolidated is None:
|
|
342
342
|
self.market_capitalization_consolidated = self.market_capitalization
|
|
343
|
+
|
|
344
|
+
# if the instrument is of type cash, we enforce the net value to 1
|
|
345
|
+
if self.instrument.is_cash or self.instrument.is_cash_equivalent:
|
|
346
|
+
self.net_value = Decimal("1")
|
|
347
|
+
self.gross_value = Decimal("1")
|
|
343
348
|
super().save(*args, **kwargs)
|
|
344
349
|
|
|
345
350
|
def __str__(self):
|
|
@@ -61,7 +61,7 @@ def run_company_extraction_llm(title: str, description: str, *args) -> list[dict
|
|
|
61
61
|
],
|
|
62
62
|
output_model=CompaniesModel,
|
|
63
63
|
query={"title": title, "description": description},
|
|
64
|
-
)
|
|
64
|
+
)[0]
|
|
65
65
|
if isinstance(res, CompaniesModel):
|
|
66
66
|
instrument_ct = ContentType.objects.get_for_model(Instrument)
|
|
67
67
|
for company in res.companies:
|
|
@@ -83,8 +83,8 @@ def run_company_extraction_llm(title: str, description: str, *args) -> list[dict
|
|
|
83
83
|
}
|
|
84
84
|
)
|
|
85
85
|
except (
|
|
86
|
-
BadRequestErrors,
|
|
87
86
|
ValidationError,
|
|
87
|
+
*BadRequestErrors,
|
|
88
88
|
): # we silent bad request error because there is nothing we can do about it
|
|
89
89
|
pass
|
|
90
90
|
except tuple(APIStatusErrors) as e: # for APIStatusError, we let celery retry it
|
|
@@ -52,7 +52,7 @@ class InstrumentModelViewSet(InstrumentMetricMixin, viewsets.ModelViewSet):
|
|
|
52
52
|
METRIC_SHOW_AGGREGATES = False
|
|
53
53
|
filter_backends = (ObjectPermissionsFilter, DjangoFilterBackend, OrderingFilter, InstrumentSearchFilter)
|
|
54
54
|
|
|
55
|
-
queryset = Instrument.objects.annotate_all()
|
|
55
|
+
queryset = Instrument.objects.annotate_all().exclude(name="")
|
|
56
56
|
serializer_class = InstrumentModelListSerializer
|
|
57
57
|
ordering_fields = (
|
|
58
58
|
"instrument_type",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wbfdm
|
|
3
|
-
Version: 1.50.
|
|
3
|
+
Version: 1.50.14
|
|
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.*
|
|
@@ -3,7 +3,6 @@ wbfdm/apps.py,sha256=83jiPNQfxUbO7KYKBS5qo5SZNuz25Kmmy_txoVmIKG0,333
|
|
|
3
3
|
wbfdm/dynamic_preferences_registry.py,sha256=tE9ZxlQDD7rqKM3GXjxyORQqDjf39GTENkOCZFt8Ixo,1299
|
|
4
4
|
wbfdm/enums.py,sha256=5AuUouk5uuSNmRc6e-SiBu4FPmHVTN60ol9ftiuVrAc,33041
|
|
5
5
|
wbfdm/jinja2.py,sha256=pkIC1U-0rf6vn0DDEUzZ8dPYiTGEPY8LBTRMi9wYiuc,199
|
|
6
|
-
wbfdm/menu.py,sha256=c_uP0wIxboHvY0BfHbYPI9GI4F41UxSgREqbzcaxzHM,399
|
|
7
6
|
wbfdm/preferences.py,sha256=8ghDcaapOMso1kjtNfKbSFykPUTxzqI5R77gM3BgiMs,927
|
|
8
7
|
wbfdm/signals.py,sha256=PhAsFpQZF1YVe5UpedaRelUD_TVjemqRYm1HzV-bhmY,597
|
|
9
8
|
wbfdm/tasks.py,sha256=rjbbDewuiDmfO54tBUwPiNV9AoDKnIx382riyExWwnI,4362
|
|
@@ -49,7 +48,7 @@ wbfdm/contrib/metric/dispatch.py,sha256=io6p4EJf36OdnxZDTw-sRRKfr_q8TLYvIDGWCkb3
|
|
|
49
48
|
wbfdm/contrib/metric/dto.py,sha256=vS93tUvfusWdE7gUJsp320GwfwWpb8bGJDdrb1GB6M8,3413
|
|
50
49
|
wbfdm/contrib/metric/exceptions.py,sha256=6IuEVde7aOyQaXHE817bCNdUw8LTI3sOSU9LiV3NZbM,200
|
|
51
50
|
wbfdm/contrib/metric/factories.py,sha256=b6-3fSERbZGjGw6QC0k3hhSpyQKVy2MJoZzX4y3GPEo,1123
|
|
52
|
-
wbfdm/contrib/metric/filters.py,sha256=
|
|
51
|
+
wbfdm/contrib/metric/filters.py,sha256=a6TAN-_EaRUhJ34JCFwFmEgj8uKZMNXFLOoMS2qvwZI,1427
|
|
53
52
|
wbfdm/contrib/metric/models.py,sha256=lI_ZmK7058GT_5ngC45UdXRc7ju-ULbcOtO5w_CMBwU,7002
|
|
54
53
|
wbfdm/contrib/metric/orchestrators.py,sha256=YyVVKKm3Sl1zVr2mw9A7LSJs6YnmElbg1yESREF3lFk,3736
|
|
55
54
|
wbfdm/contrib/metric/registry.py,sha256=SdZff6FIrtdbyAO0X0BpXndJAIhU6VVojNui_MEw7jI,3167
|
|
@@ -62,7 +61,7 @@ wbfdm/contrib/metric/admin/metrics.py,sha256=SJU-5ona3npgRjTgDoHvo9aCztq-VMnIVvv
|
|
|
62
61
|
wbfdm/contrib/metric/backends/__init__.py,sha256=Bl7bGEYVx38uiN2BS-0pr2WpIkbhUl7yPCEwt1W4tUg,128
|
|
63
62
|
wbfdm/contrib/metric/backends/base.py,sha256=TTTcNHjuzGCnzoDBqYZOb-nT7fnuYjjp0D6ACqR5yXk,6765
|
|
64
63
|
wbfdm/contrib/metric/backends/performances.py,sha256=yt9E7A_OEWQBQabf9bqt4Rc3S6oUXbSeM6NR1nYidtg,11642
|
|
65
|
-
wbfdm/contrib/metric/backends/statistics.py,sha256=
|
|
64
|
+
wbfdm/contrib/metric/backends/statistics.py,sha256=GeU4QOVGcz_Iri_18ku7PqhDDfPEpZpQJssBtCL6RsE,7903
|
|
66
65
|
wbfdm/contrib/metric/backends/utils.py,sha256=xpsDmoL2Jv9-KTuo-ay65D4m9Kf35jGc9cbeejhFLQU,131
|
|
67
66
|
wbfdm/contrib/metric/migrations/0001_initial.py,sha256=EwXRJrG7zQYT1bD6jjaf1gZNfpd8f2gzta09GYqukiM,3403
|
|
68
67
|
wbfdm/contrib/metric/migrations/0002_remove_instrumentmetric_unique_instrument_metric_and_more.py,sha256=xp6MACDohMSs4YfFbprCLa5G7zEuBhfZgpVXyMsZPWI,808
|
|
@@ -140,7 +139,7 @@ wbfdm/filters/exchanges.py,sha256=84N4AQoCwgdnxTxmhMob5Yndfr5gy_DRQ_-m2ilVLVM,83
|
|
|
140
139
|
wbfdm/filters/financials.py,sha256=jdubT5xfFTMcwJSbC_z0WkF8KlO6eAxkaMS7-oQFFp0,2512
|
|
141
140
|
wbfdm/filters/financials_analysis.py,sha256=aDA33RhKCOmA62GwuAr5xDK71T0racdyDUEaxOBp4Oc,4401
|
|
142
141
|
wbfdm/filters/instrument_prices.py,sha256=Nt-fInhTM_LRwwmT3U-b0eWoxe-EYEdv77wLEHkZqUc,3710
|
|
143
|
-
wbfdm/filters/instruments.py,sha256=
|
|
142
|
+
wbfdm/filters/instruments.py,sha256=6UksQCDvMMdvQvixUHnM_oLeMqiFlBWtsKNQ_tAOXTA,7995
|
|
144
143
|
wbfdm/filters/utils.py,sha256=6IpNoZ_yjRUCdpVXrj3kriTceAX-VGrS5NpZA2NgSmY,1870
|
|
145
144
|
wbfdm/import_export/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
146
145
|
wbfdm/import_export/backends/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -228,7 +227,7 @@ wbfdm/models/exchanges/exchanges.py,sha256=FSxjEh3k2KLDJyJfzZg7iGUFZIxzQt__FYaDy
|
|
|
228
227
|
wbfdm/models/instruments/__init__.py,sha256=OvEkECJaCubBQC7B9yUrx15V982labvegeGXyEASVno,636
|
|
229
228
|
wbfdm/models/instruments/classifications.py,sha256=EeZ_P8f1F1NfjUmLf9fDMF0iPM73qxQoArUfvjuCwHg,10906
|
|
230
229
|
wbfdm/models/instruments/instrument_lists.py,sha256=GxfFyfYxEcJS36LAarHja49TOM8ffhIivpZX2-tPtZg,4234
|
|
231
|
-
wbfdm/models/instruments/instrument_prices.py,sha256=
|
|
230
|
+
wbfdm/models/instruments/instrument_prices.py,sha256=4xDZ2ulwQ1grVuznchz3m3920LTmHkxWfiSLy-c2u0g,22306
|
|
232
231
|
wbfdm/models/instruments/instrument_relationships.py,sha256=zpCZCnt5CqIg5bd6le_6TyirsSwGV2NaqTVKw3bd5vM,10660
|
|
233
232
|
wbfdm/models/instruments/instrument_requests.py,sha256=XbpofRS8WHadHlTFjvXJyd0o7K9r2pzJtnpjVQZOLdI,7832
|
|
234
233
|
wbfdm/models/instruments/instruments.py,sha256=Heyk5cBJJ7ZkoDuZnTuWxB7LMmp_BZb2feW_exs1oIA,40276
|
|
@@ -237,7 +236,7 @@ wbfdm/models/instruments/private_equities.py,sha256=uzwZi8IkmCKAHVTxnuFya9tehx7k
|
|
|
237
236
|
wbfdm/models/instruments/querysets.py,sha256=c9fbHVvIRyaFU7jm_CM90lfIVzB8beOD8YII9-FqdT4,7191
|
|
238
237
|
wbfdm/models/instruments/utils.py,sha256=88jnWINSSC0OwH-mCEOPLZXuhBCtEsxBpSaZ38GteaE,1365
|
|
239
238
|
wbfdm/models/instruments/llm/__init__.py,sha256=dSmxRmEWb0A4O_lUoWuRKt2mBtUuLCTPVVJqGyi_n40,52
|
|
240
|
-
wbfdm/models/instruments/llm/create_instrument_news_relationships.py,sha256=
|
|
239
|
+
wbfdm/models/instruments/llm/create_instrument_news_relationships.py,sha256=f9MT-8cWYlexUfCkaOJa9erI9RaUNI-nqCEyf2tDkbA,3809
|
|
241
240
|
wbfdm/models/instruments/mixin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
242
241
|
wbfdm/models/instruments/mixin/financials_computed.py,sha256=L5wjXDsR0maiwfOKP6KyWNJNH4nGOoAjSc_hDM7fsj0,35105
|
|
243
242
|
wbfdm/models/instruments/mixin/financials_serializer_fields.py,sha256=-OkpcUt1rZmB3nUcO2vckpJdVm8IxRqkPDEgcPqqoRU,68886
|
|
@@ -345,13 +344,13 @@ wbfdm/viewsets/instruments/financials_analysis.py,sha256=xcVKR2H0P07NIyxFwPPPmVi
|
|
|
345
344
|
wbfdm/viewsets/instruments/instrument_lists.py,sha256=hwwHDNpHjjffxw08N_1LtkL5Fdi8c1Om-PLz6pTu4Ok,2878
|
|
346
345
|
wbfdm/viewsets/instruments/instrument_prices.py,sha256=WGUe5WUl9PqulWSPCZgWcBWCmgxtu4lhm-UeAa4ngyg,24008
|
|
347
346
|
wbfdm/viewsets/instruments/instrument_requests.py,sha256=mmaARNl6ymDdlcLzcu16vVfFsunhtJkMw2r2NBfUp9U,1839
|
|
348
|
-
wbfdm/viewsets/instruments/instruments.py,sha256
|
|
347
|
+
wbfdm/viewsets/instruments/instruments.py,sha256=-UG8fceQumx06xmZ6tRnjFvFu_Jrjz5m83atMAMubVo,4021
|
|
349
348
|
wbfdm/viewsets/instruments/instruments_relationships.py,sha256=D2Ym84zXBFegQC9nMThKSWqSAcWa0WvcS_GXxM2po68,11076
|
|
350
349
|
wbfdm/viewsets/instruments/utils.py,sha256=kr5HwkSaWp-6GHVEQIb3CnIspDGSxfqghyOqg0oHO-A,1166
|
|
351
350
|
wbfdm/viewsets/statements/__init__.py,sha256=odxtFYUDICPmz8WCE3nx93EvKZLSPBEI4d7pozcQz2A,47
|
|
352
351
|
wbfdm/viewsets/statements/statements.py,sha256=kmtM0uZ3f7eJJe5gVmd-iVra9dHwTB9x12p7f5qTEx8,4084
|
|
353
352
|
wbfdm/viewsets/technical_analysis/__init__.py,sha256=qtCIBg0uSiZeJq_1tEQFilnorMBkMe6uCMfqar6-cLE,77
|
|
354
353
|
wbfdm/viewsets/technical_analysis/monthly_performances.py,sha256=O1j8CGfOranL74LqVvcf7jERaDIboEJZiBf_AbbVDQ8,3974
|
|
355
|
-
wbfdm-1.50.
|
|
356
|
-
wbfdm-1.50.
|
|
357
|
-
wbfdm-1.50.
|
|
354
|
+
wbfdm-1.50.14.dist-info/METADATA,sha256=iWHCoUnuFNL9eIQx8eH3shYE3IxxVUlULgXNL-I1nts,738
|
|
355
|
+
wbfdm-1.50.14.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
|
|
356
|
+
wbfdm-1.50.14.dist-info/RECORD,,
|
wbfdm/menu.py
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
from django.utils.translation import gettext as _
|
|
2
|
-
from wbcore.menus import ItemPermission, MenuItem
|
|
3
|
-
from wbcore.permissions.shortcuts import is_internal_user
|
|
4
|
-
|
|
5
|
-
INSTRUMENT_MENU_ITEM = MenuItem(
|
|
6
|
-
label=_("Instruments"),
|
|
7
|
-
endpoint="wbfdm:instrument-list",
|
|
8
|
-
permission=ItemPermission(
|
|
9
|
-
method=lambda request: is_internal_user(request.user), permissions=["wbfdm.view_instrument"]
|
|
10
|
-
),
|
|
11
|
-
)
|
|
File without changes
|