lusid-sdk 2.1.893__py3-none-any.whl → 2.1.894__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.
lusid/configuration.py
CHANGED
@@ -445,7 +445,7 @@ class Configuration:
|
|
445
445
|
return "Python SDK Debug Report:\n"\
|
446
446
|
"OS: {env}\n"\
|
447
447
|
"Python Version: {pyversion}\n"\
|
448
|
-
"Version of the API: 0.11.
|
448
|
+
"Version of the API: 0.11.8122\n"\
|
449
449
|
"SDK Package Version: {package_version}".\
|
450
450
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
451
451
|
|
lusid/models/fee.py
CHANGED
@@ -50,8 +50,9 @@ class Fee(BaseModel):
|
|
50
50
|
version: Optional[Version] = None
|
51
51
|
portfolio_id: Optional[ResourceId] = Field(None, alias="portfolioId")
|
52
52
|
share_classes: Optional[conlist(StrictStr)] = Field(None, alias="shareClasses", description="The short codes of the ShareClasses that the Fee should be applied to. Optional: if this is null or empty, then the Fee will be divided between all the ShareClasses of the Fund according to the capital ratio.")
|
53
|
+
nav_type_code: Optional[StrictStr] = Field(None,alias="navTypeCode", description="When provided runs against the specified NAV Type, otherwise the Primary NAV Type will be used.")
|
53
54
|
links: Optional[conlist(Link)] = None
|
54
|
-
__properties = ["href", "feeCode", "feeTypeId", "displayName", "description", "origin", "calculationBase", "accrualCurrency", "treatment", "totalAnnualAccrualAmount", "feeRatePercentage", "payableFrequency", "businessDayConvention", "startDate", "endDate", "anchorDate", "properties", "version", "portfolioId", "shareClasses", "links"]
|
55
|
+
__properties = ["href", "feeCode", "feeTypeId", "displayName", "description", "origin", "calculationBase", "accrualCurrency", "treatment", "totalAnnualAccrualAmount", "feeRatePercentage", "payableFrequency", "businessDayConvention", "startDate", "endDate", "anchorDate", "properties", "version", "portfolioId", "shareClasses", "navTypeCode", "links"]
|
55
56
|
|
56
57
|
class Config:
|
57
58
|
"""Pydantic configuration"""
|
@@ -156,6 +157,11 @@ class Fee(BaseModel):
|
|
156
157
|
if self.share_classes is None and "share_classes" in self.__fields_set__:
|
157
158
|
_dict['shareClasses'] = None
|
158
159
|
|
160
|
+
# set to None if nav_type_code (nullable) is None
|
161
|
+
# and __fields_set__ contains the field
|
162
|
+
if self.nav_type_code is None and "nav_type_code" in self.__fields_set__:
|
163
|
+
_dict['navTypeCode'] = None
|
164
|
+
|
159
165
|
# set to None if links (nullable) is None
|
160
166
|
# and __fields_set__ contains the field
|
161
167
|
if self.links is None and "links" in self.__fields_set__:
|
@@ -198,6 +204,7 @@ class Fee(BaseModel):
|
|
198
204
|
"version": Version.from_dict(obj.get("version")) if obj.get("version") is not None else None,
|
199
205
|
"portfolio_id": ResourceId.from_dict(obj.get("portfolioId")) if obj.get("portfolioId") is not None else None,
|
200
206
|
"share_classes": obj.get("shareClasses"),
|
207
|
+
"nav_type_code": obj.get("navTypeCode"),
|
201
208
|
"links": [Link.from_dict(_item) for _item in obj.get("links")] if obj.get("links") is not None else None
|
202
209
|
})
|
203
210
|
return _obj
|
@@ -80,7 +80,7 @@ lusid/api/translation_api.py,sha256=xpRuTfwQvYBlWe6r_L2EI_uVpXqHFnEOim-i-kVQ85E,
|
|
80
80
|
lusid/api/workspace_api.py,sha256=0pCNi3ZCRbIo0NXKa85XE7vtq0WV5YOKcQKvFlcLUaY,120708
|
81
81
|
lusid/api_client.py,sha256=ewMTmf9SRurY8pYnUx9jy24RdldPCOa4US38pnrVxjA,31140
|
82
82
|
lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
|
83
|
-
lusid/configuration.py,sha256=
|
83
|
+
lusid/configuration.py,sha256=gBT2Vzsb7vbCgwF249WvKvh5PUHoTTvxLEgFLOT8Tvk,17972
|
84
84
|
lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
|
85
85
|
lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
|
86
86
|
lusid/extensions/api_client.py,sha256=GzygWg_h603QK1QS2HvAijuE2R1TnvoF6-Yg0CeM3ug,30943
|
@@ -476,7 +476,7 @@ lusid/models/exotic_instrument.py,sha256=CVoMI836iyo62xe0-lSwaqJU6ND85epmUKkTvbp
|
|
476
476
|
lusid/models/expanded_group.py,sha256=GwRUSLMp-of4RN2OETbvJ3zeGTnnVpn5ikKs_UOjveM,6177
|
477
477
|
lusid/models/expiry_event.py,sha256=etz7UCo6sKkfBJbxgc9YnhPU6IwjAfjF4rq6ixz_2kk,11026
|
478
478
|
lusid/models/external_fee_component_filter.py,sha256=-pD8c7ezkZId6UmI3137wvBvG6uvsmf_ccyACiQ0OOI,2402
|
479
|
-
lusid/models/fee.py,sha256=
|
479
|
+
lusid/models/fee.py,sha256=CLwOZptw9wJBdnPNfSXAG1x7Ml46njuCGCaTtf0jZ1k,11740
|
480
480
|
lusid/models/fee_accrual.py,sha256=zZA-1xwj8qRqz5n1Tcqr6kZ_wLxck1K1oudBJOz66tI,4481
|
481
481
|
lusid/models/fee_properties.py,sha256=_ngYeeFQ_K0NG0aGdTya541LKQphIExxWvqj9Iurv3Q,4479
|
482
482
|
lusid/models/fee_request.py,sha256=pctiLVcVPdT2nXsL6UU46tGVpLzyn_4mQ43qdy2oU80,9799
|
@@ -1369,6 +1369,6 @@ lusid/models/year_month_day.py,sha256=gwSoxFwlD_wffKdddo1wfvAcLq3Cht3FHQidiaHzAA
|
|
1369
1369
|
lusid/models/yield_curve_data.py,sha256=I1ZSWxHMgUxj9OQt6i9a4S91KB4_XtmrfFxpN_PV3YQ,9561
|
1370
1370
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1371
1371
|
lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
|
1372
|
-
lusid_sdk-2.1.
|
1373
|
-
lusid_sdk-2.1.
|
1374
|
-
lusid_sdk-2.1.
|
1372
|
+
lusid_sdk-2.1.894.dist-info/METADATA,sha256=Zd0HiFfb7j1Gxnzi0YIoLqxyMup-kUwxxi2w2ffR674,228779
|
1373
|
+
lusid_sdk-2.1.894.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
1374
|
+
lusid_sdk-2.1.894.dist-info/RECORD,,
|
File without changes
|