lusid-sdk 2.0.470__py3-none-any.whl → 2.0.472__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 +1 -1
- lusid/models/instrument_event_configuration.py +8 -2
- {lusid_sdk-2.0.470.dist-info → lusid_sdk-2.0.472.dist-info}/METADATA +3 -3
- {lusid_sdk-2.0.470.dist-info → lusid_sdk-2.0.472.dist-info}/RECORD +5 -5
- {lusid_sdk-2.0.470.dist-info → lusid_sdk-2.0.472.dist-info}/WHEEL +0 -0
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.6419\n"\
|
|
377
377
|
"SDK Package Version: {package_version}".\
|
|
378
378
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
|
379
379
|
|
|
@@ -20,13 +20,15 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from typing import Any, Dict, List, Optional
|
|
22
22
|
from pydantic import BaseModel, Field, StrictStr, conlist
|
|
23
|
+
from lusid.models.resource_id import ResourceId
|
|
23
24
|
|
|
24
25
|
class InstrumentEventConfiguration(BaseModel):
|
|
25
26
|
"""
|
|
26
27
|
InstrumentEventConfiguration
|
|
27
28
|
"""
|
|
28
29
|
transaction_template_scopes: Optional[conlist(StrictStr)] = Field(None, alias="transactionTemplateScopes")
|
|
29
|
-
|
|
30
|
+
recipe_id: Optional[ResourceId] = Field(None, alias="recipeId")
|
|
31
|
+
__properties = ["transactionTemplateScopes", "recipeId"]
|
|
30
32
|
|
|
31
33
|
class Config:
|
|
32
34
|
"""Pydantic configuration"""
|
|
@@ -52,6 +54,9 @@ class InstrumentEventConfiguration(BaseModel):
|
|
|
52
54
|
exclude={
|
|
53
55
|
},
|
|
54
56
|
exclude_none=True)
|
|
57
|
+
# override the default output from pydantic by calling `to_dict()` of recipe_id
|
|
58
|
+
if self.recipe_id:
|
|
59
|
+
_dict['recipeId'] = self.recipe_id.to_dict()
|
|
55
60
|
# set to None if transaction_template_scopes (nullable) is None
|
|
56
61
|
# and __fields_set__ contains the field
|
|
57
62
|
if self.transaction_template_scopes is None and "transaction_template_scopes" in self.__fields_set__:
|
|
@@ -69,6 +74,7 @@ class InstrumentEventConfiguration(BaseModel):
|
|
|
69
74
|
return InstrumentEventConfiguration.parse_obj(obj)
|
|
70
75
|
|
|
71
76
|
_obj = InstrumentEventConfiguration.parse_obj({
|
|
72
|
-
"transaction_template_scopes": obj.get("transactionTemplateScopes")
|
|
77
|
+
"transaction_template_scopes": obj.get("transactionTemplateScopes"),
|
|
78
|
+
"recipe_id": ResourceId.from_dict(obj.get("recipeId")) if obj.get("recipeId") is not None else None
|
|
73
79
|
})
|
|
74
80
|
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.472
|
|
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.6419
|
|
33
|
+
- Package version: 2.0.472
|
|
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
|
|
|
@@ -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=24oRTTE9ieSTZTktjCwvcQJxqcxb43bGE8FOaRZ2Kxo,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
|
|
@@ -456,7 +456,7 @@ lusid/models/instrument_definition.py,sha256=wqYRBsCBBaBiWqr4R9OlYKdNVDhxJe4a-2-
|
|
|
456
456
|
lusid/models/instrument_definition_format.py,sha256=8I0_bIZQTxVHP5Yxot1lj0VHsswuoRSXioQJiIPW8TA,2851
|
|
457
457
|
lusid/models/instrument_delete_modes.py,sha256=pRnKhwXly5wA6KEnvvphzEBS6ThT-iuuhS4JFVEal3s,682
|
|
458
458
|
lusid/models/instrument_event.py,sha256=J91fRxCfwULqjX3yCX6IU7xAQfUgc_8GAGvA-_WTk44,6349
|
|
459
|
-
lusid/models/instrument_event_configuration.py,sha256=
|
|
459
|
+
lusid/models/instrument_event_configuration.py,sha256=SYQkJk9VNPEcvA4a12OlOWUzc9MF2Q97ZU_dDuSkEEc,2781
|
|
460
460
|
lusid/models/instrument_event_holder.py,sha256=ciUi2b3tLvDhESZgNSZ7vDvNttHyozC27ZxdZiWcQoI,6991
|
|
461
461
|
lusid/models/instrument_event_type.py,sha256=nqKY7ezNaYnrOXe6iHUPmbaXDi_yt8Rt1lNtICY4z3M,1552
|
|
462
462
|
lusid/models/instrument_id_type_descriptor.py,sha256=zUiyKyDjt55zEp9Uvf42s-S0af8-4u5wi84lygkdVFA,2566
|
|
@@ -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.472.dist-info/METADATA,sha256=V1BNa2Yz3dMBA5Ph90pwGMbIjWMqPOpHoXaOo--SL-w,176619
|
|
1007
|
+
lusid_sdk-2.0.472.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
1008
|
+
lusid_sdk-2.0.472.dist-info/RECORD,,
|
|
File without changes
|