lusid-sdk 2.0.472__py3-none-any.whl → 2.0.474__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 lusid-sdk might be problematic. Click here for more details.
lusid/configuration.py
CHANGED
|
@@ -373,7 +373,7 @@ class Configuration:
|
|
|
373
373
|
return "Python SDK Debug Report:\n"\
|
|
374
374
|
"OS: {env}\n"\
|
|
375
375
|
"Python Version: {pyversion}\n"\
|
|
376
|
-
"Version of the API: 0.11.
|
|
376
|
+
"Version of the API: 0.11.6421\n"\
|
|
377
377
|
"SDK Package Version: {package_version}".\
|
|
378
378
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
|
379
379
|
|
|
@@ -19,16 +19,15 @@ import json
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
from typing import Any, Dict, Optional
|
|
22
|
-
from pydantic import BaseModel, Field, StrictStr
|
|
23
|
-
from lusid.models.property_value import PropertyValue
|
|
22
|
+
from pydantic import BaseModel, Field, StrictStr, constr
|
|
24
23
|
|
|
25
24
|
class TransactionPropertyMap(BaseModel):
|
|
26
25
|
"""
|
|
27
26
|
TransactionPropertyMap
|
|
28
27
|
"""
|
|
29
28
|
property_key: Optional[StrictStr] = Field(None, alias="propertyKey", description="The key that uniquely identifies the property. It has the format {domain}/{scope}/{code}.")
|
|
30
|
-
|
|
31
|
-
__properties = ["propertyKey", "
|
|
29
|
+
value: Optional[constr(strict=True, max_length=1024, min_length=0)] = None
|
|
30
|
+
__properties = ["propertyKey", "value"]
|
|
32
31
|
|
|
33
32
|
class Config:
|
|
34
33
|
"""Pydantic configuration"""
|
|
@@ -54,14 +53,16 @@ class TransactionPropertyMap(BaseModel):
|
|
|
54
53
|
exclude={
|
|
55
54
|
},
|
|
56
55
|
exclude_none=True)
|
|
57
|
-
# override the default output from pydantic by calling `to_dict()` of property_value
|
|
58
|
-
if self.property_value:
|
|
59
|
-
_dict['propertyValue'] = self.property_value.to_dict()
|
|
60
56
|
# set to None if property_key (nullable) is None
|
|
61
57
|
# and __fields_set__ contains the field
|
|
62
58
|
if self.property_key is None and "property_key" in self.__fields_set__:
|
|
63
59
|
_dict['propertyKey'] = None
|
|
64
60
|
|
|
61
|
+
# set to None if value (nullable) is None
|
|
62
|
+
# and __fields_set__ contains the field
|
|
63
|
+
if self.value is None and "value" in self.__fields_set__:
|
|
64
|
+
_dict['value'] = None
|
|
65
|
+
|
|
65
66
|
return _dict
|
|
66
67
|
|
|
67
68
|
@classmethod
|
|
@@ -75,6 +76,6 @@ class TransactionPropertyMap(BaseModel):
|
|
|
75
76
|
|
|
76
77
|
_obj = TransactionPropertyMap.parse_obj({
|
|
77
78
|
"property_key": obj.get("propertyKey"),
|
|
78
|
-
"
|
|
79
|
+
"value": obj.get("value")
|
|
79
80
|
})
|
|
80
81
|
return _obj
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lusid-sdk
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.474
|
|
4
4
|
Summary: LUSID API
|
|
5
5
|
Home-page: https://github.com/finbourne/lusid-sdk-python
|
|
6
6
|
License: MIT
|
|
@@ -29,8 +29,8 @@ FINBOURNE Technology
|
|
|
29
29
|
|
|
30
30
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
31
31
|
|
|
32
|
-
- API version: 0.11.
|
|
33
|
-
- Package version: 2.0.
|
|
32
|
+
- API version: 0.11.6421
|
|
33
|
+
- Package version: 2.0.474
|
|
34
34
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
35
35
|
For more information, please visit [https://www.finbourne.com](https://www.finbourne.com)
|
|
36
36
|
|
|
@@ -86,8 +86,7 @@ FBN_LUSID_API_URL,
|
|
|
86
86
|
FBN_USERNAME,
|
|
87
87
|
FBN_PASSWORD,
|
|
88
88
|
FBN_CLIENT_ID,
|
|
89
|
-
FBN_CLIENT_SECRET
|
|
90
|
-
FBN_ACCESS_TOKEN
|
|
89
|
+
FBN_CLIENT_SECRET
|
|
91
90
|
```
|
|
92
91
|
|
|
93
92
|
To use a long lived Personal Access Token, you must provide the following environment variables:
|
|
@@ -64,7 +64,7 @@ lusid/api/transaction_portfolios_api.py,sha256=Q-RvuNmYL4drz4LeytNHRCmvrWwxfnPnT
|
|
|
64
64
|
lusid/api/translation_api.py,sha256=8_YL07_CYCI-FV4jMdiq7zlsDXqvkPMFQPyT6NL4jvU,20086
|
|
65
65
|
lusid/api_client.py,sha256=dF6l9RAsdxdQjf6Qn4ny6LB-QXlJmsscWiozCvyyBFA,30709
|
|
66
66
|
lusid/api_response.py,sha256=uCehWdXXDnAO2HAHGKe0SgpQ_mJiGDbcu-BHDF3n_IM,852
|
|
67
|
-
lusid/configuration.py,sha256=
|
|
67
|
+
lusid/configuration.py,sha256=P0lQUJSoE-GB1VG3IDFPLfbvzaISqlBl87nAliDcD-M,14404
|
|
68
68
|
lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
|
|
69
69
|
lusid/extensions/__init__.py,sha256=DeUuQP7yTcklJH7LT-bw9wQhKEggcs1KwQbPbFcOlhw,560
|
|
70
70
|
lusid/extensions/api_client.py,sha256=Ob06urm4Em3MLzgP_geyeeGsPCkU225msW_1kpIeABM,30567
|
|
@@ -875,7 +875,7 @@ lusid/models/transaction_field_map.py,sha256=BL2JCbQQiQ7cEwr-Onxo8sp52pvakjl5lQf
|
|
|
875
875
|
lusid/models/transaction_price.py,sha256=nFHtBNXlIq2CrVpdSYjS3JoWA6-DAYPBntVeUyfBl78,2417
|
|
876
876
|
lusid/models/transaction_price_and_type.py,sha256=nWtKH171xwCcBQG1Xz6QdJXaptIHPzpmC_rZfkUENcg,2441
|
|
877
877
|
lusid/models/transaction_price_type.py,sha256=w12kLCHQhbnSisOXJLsSmY8rBCUTLcGc5AHWhG_AS7w,743
|
|
878
|
-
lusid/models/transaction_property_map.py,sha256=
|
|
878
|
+
lusid/models/transaction_property_map.py,sha256=8HyghjtekzcoMS1GmqTGp5ybIPc19inTgmE9jWI9nko,2604
|
|
879
879
|
lusid/models/transaction_property_mapping.py,sha256=GiZXqmaTqGU5xIrEwixkFq0ZKZfbKzSXqt3UHatWUvo,2819
|
|
880
880
|
lusid/models/transaction_property_mapping_request.py,sha256=83p_FSbOhv5ghYCZZBtDfHJgl55CVwZLB1cnX1aE_gA,2874
|
|
881
881
|
lusid/models/transaction_query_mode.py,sha256=q3QNcFSP-LwfdQF_yRUOZMd6ElemQm03yOEQdQrCjvE,699
|
|
@@ -1003,6 +1003,6 @@ lusid/models/weighted_instruments.py,sha256=M2Mr7KTAcMS40g309xatBHDhvYk3g61yigx0
|
|
|
1003
1003
|
lusid/models/yield_curve_data.py,sha256=i2MHEJe9kdTTgxQFti2a6BAU7ikE0wTPXsS_sMJhrDk,6327
|
|
1004
1004
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1005
1005
|
lusid/rest.py,sha256=gHQ76psf1vzmBJI14ZGVvb3f_Urp0zBBo3R5u3-kNIM,10032
|
|
1006
|
-
lusid_sdk-2.0.
|
|
1007
|
-
lusid_sdk-2.0.
|
|
1008
|
-
lusid_sdk-2.0.
|
|
1006
|
+
lusid_sdk-2.0.474.dist-info/METADATA,sha256=r7P3E9KgWGGu8R-4dx8nZMpwV2FU43Hzw0QSiT60rFo,176601
|
|
1007
|
+
lusid_sdk-2.0.474.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
1008
|
+
lusid_sdk-2.0.474.dist-info/RECORD,,
|
|
File without changes
|