lusid-sdk 2.1.686__py3-none-any.whl → 2.1.687__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.7328\n"\
|
449
449
|
"SDK Package Version: {package_version}".\
|
450
450
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
451
451
|
|
@@ -22,6 +22,7 @@ from typing import Any, Dict, List, Optional
|
|
22
22
|
from pydantic.v1 import BaseModel, Field, StrictStr, conlist
|
23
23
|
from lusid.models.aggregation_measure_failure_detail import AggregationMeasureFailureDetail
|
24
24
|
from lusid.models.link import Link
|
25
|
+
from lusid.models.resource_id import ResourceId
|
25
26
|
from lusid.models.result_data_schema import ResultDataSchema
|
26
27
|
|
27
28
|
class ListAggregationResponse(BaseModel):
|
@@ -35,8 +36,9 @@ class ListAggregationResponse(BaseModel):
|
|
35
36
|
aggregation_currency: Optional[StrictStr] = Field(None, alias="aggregationCurrency")
|
36
37
|
data_schema: Optional[ResultDataSchema] = Field(None, alias="dataSchema")
|
37
38
|
aggregation_failures: Optional[conlist(AggregationMeasureFailureDetail)] = Field(None, alias="aggregationFailures")
|
39
|
+
recipe_id: Optional[ResourceId] = Field(None, alias="recipeId")
|
38
40
|
links: Optional[conlist(Link)] = None
|
39
|
-
__properties = ["aggregationEffectiveAt", "aggregationAsAt", "href", "data", "aggregationCurrency", "dataSchema", "aggregationFailures", "links"]
|
41
|
+
__properties = ["aggregationEffectiveAt", "aggregationAsAt", "href", "data", "aggregationCurrency", "dataSchema", "aggregationFailures", "recipeId", "links"]
|
40
42
|
|
41
43
|
class Config:
|
42
44
|
"""Pydantic configuration"""
|
@@ -80,6 +82,9 @@ class ListAggregationResponse(BaseModel):
|
|
80
82
|
if _item:
|
81
83
|
_items.append(_item.to_dict())
|
82
84
|
_dict['aggregationFailures'] = _items
|
85
|
+
# override the default output from pydantic by calling `to_dict()` of recipe_id
|
86
|
+
if self.recipe_id:
|
87
|
+
_dict['recipeId'] = self.recipe_id.to_dict()
|
83
88
|
# override the default output from pydantic by calling `to_dict()` of each item in links (list)
|
84
89
|
_items = []
|
85
90
|
if self.links:
|
@@ -131,6 +136,7 @@ class ListAggregationResponse(BaseModel):
|
|
131
136
|
"aggregation_currency": obj.get("aggregationCurrency"),
|
132
137
|
"data_schema": ResultDataSchema.from_dict(obj.get("dataSchema")) if obj.get("dataSchema") is not None else None,
|
133
138
|
"aggregation_failures": [AggregationMeasureFailureDetail.from_dict(_item) for _item in obj.get("aggregationFailures")] if obj.get("aggregationFailures") is not None else None,
|
139
|
+
"recipe_id": ResourceId.from_dict(obj.get("recipeId")) if obj.get("recipeId") is not None else None,
|
134
140
|
"links": [Link.from_dict(_item) for _item in obj.get("links")] if obj.get("links") is not None else None
|
135
141
|
})
|
136
142
|
return _obj
|
@@ -73,7 +73,7 @@ lusid/api/translation_api.py,sha256=nIyuLncCvVC5k2d7Nm32zR8AQ1dkrVm1OThkmELY_OM,
|
|
73
73
|
lusid/api/workspace_api.py,sha256=Yox1q7TDY-_O3HF-N8g5kGuNgp4unWvlSZmRZ6MNZO0,196701
|
74
74
|
lusid/api_client.py,sha256=ewMTmf9SRurY8pYnUx9jy24RdldPCOa4US38pnrVxjA,31140
|
75
75
|
lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
|
76
|
-
lusid/configuration.py,sha256=
|
76
|
+
lusid/configuration.py,sha256=uYwRN6oKUZf5TkFU6Vb2baAfE4BKAL9C2lgwquwcpOs,17972
|
77
77
|
lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
|
78
78
|
lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
|
79
79
|
lusid/extensions/api_client.py,sha256=GzygWg_h603QK1QS2HvAijuE2R1TnvoF6-Yg0CeM3ug,30943
|
@@ -635,7 +635,7 @@ lusid/models/life_cycle_event_value.py,sha256=R4e_OZdfpQEn6fZL78xi5h3uM9HVmtfoW0
|
|
635
635
|
lusid/models/lineage_member.py,sha256=h8Mq1kkx1oiU4dxo8nGYVKkbJDyZ7YVdUuRhQV4cJnI,3447
|
636
636
|
lusid/models/link.py,sha256=VFgfjebDV-GeFukJsVZljcv9FXYj5c2b1x1Xc2ERv7I,2462
|
637
637
|
lusid/models/list_aggregation_reconciliation.py,sha256=yHkO9sqn9dFMC9hb_5ei1SH59ZkINwSs43722JD1TFE,3558
|
638
|
-
lusid/models/list_aggregation_response.py,sha256=
|
638
|
+
lusid/models/list_aggregation_response.py,sha256=BxpobNcmvQrUEi7HtRHq6BS5vXI_vAQznSAkazDNVgg,6038
|
639
639
|
lusid/models/list_complex_market_data_with_meta_data_response.py,sha256=lgKBJUqrpjtKEXWgvTCn8b8q-6R1NiabSqoUKBVPzw4,3814
|
640
640
|
lusid/models/loan_facility.py,sha256=HNJdbmzo6fGI3XG4X_GBvCKRSRDGxFwMmYb8_VTjrvE,7476
|
641
641
|
lusid/models/loan_interest_repayment_event.py,sha256=9qiwLU2MGD75OST77ONtRohLRiYTmqvw0B_yW1fHWIU,8628
|
@@ -1268,6 +1268,6 @@ lusid/models/workspace_update_request.py,sha256=5N7j21uF9XV75Sl3oJbsSOKT5PrQEx3y
|
|
1268
1268
|
lusid/models/yield_curve_data.py,sha256=vtOzY4t2lgHJUWcna9dEKnuZ_tinolyb8IAFPB23DZ0,6543
|
1269
1269
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1270
1270
|
lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
|
1271
|
-
lusid_sdk-2.1.
|
1272
|
-
lusid_sdk-2.1.
|
1273
|
-
lusid_sdk-2.1.
|
1271
|
+
lusid_sdk-2.1.687.dist-info/METADATA,sha256=Ch_RsZkpScOQKhWfrErgsGiACeXLvMApaCQHvNnNXqA,216264
|
1272
|
+
lusid_sdk-2.1.687.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
1273
|
+
lusid_sdk-2.1.687.dist-info/RECORD,,
|
File without changes
|