lusid-sdk 2.1.759__py3-none-any.whl → 2.1.760__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 +1 -1
- lusid/models/component_transaction.py +10 -3
- lusid/models/custom_data_model_criteria.py +1 -1
- {lusid_sdk-2.1.759.dist-info → lusid_sdk-2.1.760.dist-info}/METADATA +1 -1
- {lusid_sdk-2.1.759.dist-info → lusid_sdk-2.1.760.dist-info}/RECORD +6 -6
- {lusid_sdk-2.1.759.dist-info → lusid_sdk-2.1.760.dist-info}/WHEEL +0 -0
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.7660\n"\
|
449
449
|
"SDK Package Version: {package_version}".\
|
450
450
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
451
451
|
|
@@ -19,7 +19,7 @@ import json
|
|
19
19
|
|
20
20
|
|
21
21
|
from typing import Any, Dict, List, Optional
|
22
|
-
from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictBool, conlist, constr
|
22
|
+
from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictBool, StrictStr, conlist, constr
|
23
23
|
from lusid.models.transaction_field_map import TransactionFieldMap
|
24
24
|
from lusid.models.transaction_property_map import TransactionPropertyMap
|
25
25
|
|
@@ -32,7 +32,8 @@ class ComponentTransaction(BaseModel):
|
|
32
32
|
transaction_field_map: TransactionFieldMap = Field(..., alias="transactionFieldMap")
|
33
33
|
transaction_property_map: conlist(TransactionPropertyMap) = Field(..., alias="transactionPropertyMap")
|
34
34
|
preserve_tax_lot_structure: Optional[StrictBool] = Field(None, alias="preserveTaxLotStructure", description="Controls if tax lot structure should be preserved when cost base is transferred to a new holding. For example in Spin Off instrument events.")
|
35
|
-
|
35
|
+
market_open_time_adjustments: Optional[conlist(StrictStr)] = Field(None, alias="marketOpenTimeAdjustments")
|
36
|
+
__properties = ["displayName", "condition", "transactionFieldMap", "transactionPropertyMap", "preserveTaxLotStructure", "marketOpenTimeAdjustments"]
|
36
37
|
|
37
38
|
class Config:
|
38
39
|
"""Pydantic configuration"""
|
@@ -86,6 +87,11 @@ class ComponentTransaction(BaseModel):
|
|
86
87
|
if self.preserve_tax_lot_structure is None and "preserve_tax_lot_structure" in self.__fields_set__:
|
87
88
|
_dict['preserveTaxLotStructure'] = None
|
88
89
|
|
90
|
+
# set to None if market_open_time_adjustments (nullable) is None
|
91
|
+
# and __fields_set__ contains the field
|
92
|
+
if self.market_open_time_adjustments is None and "market_open_time_adjustments" in self.__fields_set__:
|
93
|
+
_dict['marketOpenTimeAdjustments'] = None
|
94
|
+
|
89
95
|
return _dict
|
90
96
|
|
91
97
|
@classmethod
|
@@ -102,6 +108,7 @@ class ComponentTransaction(BaseModel):
|
|
102
108
|
"condition": obj.get("condition"),
|
103
109
|
"transaction_field_map": TransactionFieldMap.from_dict(obj.get("transactionFieldMap")) if obj.get("transactionFieldMap") is not None else None,
|
104
110
|
"transaction_property_map": [TransactionPropertyMap.from_dict(_item) for _item in obj.get("transactionPropertyMap")] if obj.get("transactionPropertyMap") is not None else None,
|
105
|
-
"preserve_tax_lot_structure": obj.get("preserveTaxLotStructure")
|
111
|
+
"preserve_tax_lot_structure": obj.get("preserveTaxLotStructure"),
|
112
|
+
"market_open_time_adjustments": obj.get("marketOpenTimeAdjustments")
|
106
113
|
})
|
107
114
|
return _obj
|
@@ -29,7 +29,7 @@ class CustomDataModelCriteria(BaseModel):
|
|
29
29
|
"""
|
30
30
|
CustomDataModelCriteria
|
31
31
|
"""
|
32
|
-
conditions:
|
32
|
+
conditions: Optional[conlist(StrictStr)] = Field(None, description="The conditions that the bound entity must meet to be valid.")
|
33
33
|
properties: Optional[conlist(CustomDataModelPropertySpecificationWithDisplayName)] = Field(None, description="The properties that are required or allowed on the bound entity.")
|
34
34
|
identifier_types: Optional[conlist(CustomDataModelIdentifierTypeSpecificationWithDisplayName)] = Field(None, alias="identifierTypes", description="The identifier types that are required or allowed on the bound entity.")
|
35
35
|
attribute_aliases: Optional[conlist(Alias)] = Field(None, alias="attributeAliases", description="The aliases for property keys, identifier types, and fields on the bound entity.")
|
@@ -74,7 +74,7 @@ lusid/api/translation_api.py,sha256=xpRuTfwQvYBlWe6r_L2EI_uVpXqHFnEOim-i-kVQ85E,
|
|
74
74
|
lusid/api/workspace_api.py,sha256=QmcywrL34lbVo4CbSwyyJDh0kRG7Gt91xrQB0ShqQQQ,106017
|
75
75
|
lusid/api_client.py,sha256=ewMTmf9SRurY8pYnUx9jy24RdldPCOa4US38pnrVxjA,31140
|
76
76
|
lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
|
77
|
-
lusid/configuration.py,sha256=
|
77
|
+
lusid/configuration.py,sha256=Xu1shqWGIzJLL7tLwiXOPxO_-CITc3RbZovqknCvcJQ,17972
|
78
78
|
lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
|
79
79
|
lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
|
80
80
|
lusid/extensions/api_client.py,sha256=GzygWg_h603QK1QS2HvAijuE2R1TnvoF6-Yg0CeM3ug,30943
|
@@ -287,7 +287,7 @@ lusid/models/compliance_template_variation.py,sha256=IC4-bV_Re_PK7WEUD3wWl7jNjYO
|
|
287
287
|
lusid/models/compliance_template_variation_dto.py,sha256=Z6TIpTV2kwXfGhNL7h8IkTjnQ6NFgm-v4eN6ehtgKyM,3768
|
288
288
|
lusid/models/compliance_template_variation_request.py,sha256=DcMM1u8v4NANuQQd8I7kbv3e4kX8Jca9oxMkD2BQZh0,3829
|
289
289
|
lusid/models/component_filter.py,sha256=Q6__oJHpC44Y5LQhE1ZT08iDYGacXU5eRLwD8RMCX74,2194
|
290
|
-
lusid/models/component_transaction.py,sha256=
|
290
|
+
lusid/models/component_transaction.py,sha256=q6d7x1ZnC3kW8Gh-JvNd_wtCW-iidVv1hofirYDmYZg,4999
|
291
291
|
lusid/models/composite_breakdown.py,sha256=DB8hYbpGmGxfYulqsnAO1HQ47YGBE1ahE82zUeetHZU,3582
|
292
292
|
lusid/models/composite_breakdown_request.py,sha256=x2YZ13OTN6jmQFLopzm1j24ya8DxGEGDQKH4uHF1NYU,5543
|
293
293
|
lusid/models/composite_breakdown_response.py,sha256=E5UO9I5ABXAypRLr2JfyBnPiC5WeAu1LwOkFANMV-sM,4172
|
@@ -358,7 +358,7 @@ lusid/models/custodian_account_properties.py,sha256=1OWHeXZB4tINkDm1-tQsHiiaxK6Q
|
|
358
358
|
lusid/models/custodian_account_request.py,sha256=ejBV8XPgHE_SijJWKfu6qpSHRXl83AM4GTGbnW3zZFM,5889
|
359
359
|
lusid/models/custodian_accounts_upsert_response.py,sha256=JifiqVoKIwK73PUtx1nMR9e9JH9NiTdnUEaklPAgW_I,4629
|
360
360
|
lusid/models/custom_data_model.py,sha256=A6sd_p6eT5c8ceOwdg-UqdCkfFN8EcpEdY-PQ00zwUQ,3676
|
361
|
-
lusid/models/custom_data_model_criteria.py,sha256=
|
361
|
+
lusid/models/custom_data_model_criteria.py,sha256=873vt--Yak9_SFcr7LpLBuj8HyJoYXFH-0EHB_SSHwE,6699
|
362
362
|
lusid/models/custom_data_model_identifier_type_specification.py,sha256=OmS062q5I172iV3vOcei9jJPIu_kFdHopaF6MW8OLy8,2596
|
363
363
|
lusid/models/custom_data_model_identifier_type_specification_with_display_name.py,sha256=J7JIHLz9y0L9Kf9dbcC55xXF1H_d75CUWZZ1qWWhDnA,3143
|
364
364
|
lusid/models/custom_data_model_property_specification.py,sha256=vjSQOQdCzrMWJHINSv4_nd_pMLtELWolo_MzQ_XXN1Y,2528
|
@@ -1297,6 +1297,6 @@ lusid/models/workspace_visibility.py,sha256=VZ-Pvk6dbKY4sapdquKcBPmV2IwmHc5-W_m9
|
|
1297
1297
|
lusid/models/yield_curve_data.py,sha256=I1ZSWxHMgUxj9OQt6i9a4S91KB4_XtmrfFxpN_PV3YQ,9561
|
1298
1298
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1299
1299
|
lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
|
1300
|
-
lusid_sdk-2.1.
|
1301
|
-
lusid_sdk-2.1.
|
1302
|
-
lusid_sdk-2.1.
|
1300
|
+
lusid_sdk-2.1.760.dist-info/METADATA,sha256=bvd2GUe1TCIrwg8gkvAJPIMVvslqMezi9B-McC5TpiE,217772
|
1301
|
+
lusid_sdk-2.1.760.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
1302
|
+
lusid_sdk-2.1.760.dist-info/RECORD,,
|
File without changes
|