lusid-sdk 2.1.563__py3-none-any.whl → 2.1.564__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.6993\n"\
448
+ "Version of the API: 0.11.6995\n"\
449
449
  "SDK Package Version: {package_version}".\
450
450
  format(env=sys.platform, pyversion=sys.version, package_version=package_version)
451
451
 
@@ -18,7 +18,7 @@ import re # noqa: F401
18
18
  import json
19
19
 
20
20
 
21
- from typing import Any, Dict, List
21
+ from typing import Any, Dict, List, Optional
22
22
  from pydantic.v1 import BaseModel, Field, conlist, constr
23
23
  from lusid.models.compliance_step import ComplianceStep
24
24
  from lusid.models.compliance_template_parameter import ComplianceTemplateParameter
@@ -35,7 +35,8 @@ class ComplianceTemplateVariation(BaseModel):
35
35
  properties: Dict[str, PerpetualProperty] = Field(..., description="Properties associated with the Compliance Template Variation")
36
36
  accepted_address_keys: ResourceId = Field(..., alias="acceptedAddressKeys")
37
37
  steps: conlist(ComplianceStep) = Field(..., description="The steps expressed in this template, with their required parameters")
38
- __properties = ["label", "description", "requiredParameters", "properties", "acceptedAddressKeys", "steps"]
38
+ referenced_group_label: Optional[constr(strict=True, max_length=64, min_length=1)] = Field(None, alias="referencedGroupLabel", description="The label of a given referenced group in a Compliance Rule Template Variation")
39
+ __properties = ["label", "description", "requiredParameters", "properties", "acceptedAddressKeys", "steps", "referencedGroupLabel"]
39
40
 
40
41
  class Config:
41
42
  """Pydantic configuration"""
@@ -85,6 +86,11 @@ class ComplianceTemplateVariation(BaseModel):
85
86
  if _item:
86
87
  _items.append(_item.to_dict())
87
88
  _dict['steps'] = _items
89
+ # set to None if referenced_group_label (nullable) is None
90
+ # and __fields_set__ contains the field
91
+ if self.referenced_group_label is None and "referenced_group_label" in self.__fields_set__:
92
+ _dict['referencedGroupLabel'] = None
93
+
88
94
  return _dict
89
95
 
90
96
  @classmethod
@@ -107,6 +113,7 @@ class ComplianceTemplateVariation(BaseModel):
107
113
  if obj.get("properties") is not None
108
114
  else None,
109
115
  "accepted_address_keys": ResourceId.from_dict(obj.get("acceptedAddressKeys")) if obj.get("acceptedAddressKeys") is not None else None,
110
- "steps": [ComplianceStep.from_dict(_item) for _item in obj.get("steps")] if obj.get("steps") is not None else None
116
+ "steps": [ComplianceStep.from_dict(_item) for _item in obj.get("steps")] if obj.get("steps") is not None else None,
117
+ "referenced_group_label": obj.get("referencedGroupLabel")
111
118
  })
112
119
  return _obj
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lusid-sdk
3
- Version: 2.1.563
3
+ Version: 2.1.564
4
4
  Summary: LUSID API
5
5
  Home-page: https://github.com/finbourne/lusid-sdk-python
6
6
  License: MIT
@@ -70,7 +70,7 @@ lusid/api/translation_api.py,sha256=nIyuLncCvVC5k2d7Nm32zR8AQ1dkrVm1OThkmELY_OM,
70
70
  lusid/api/workspace_api.py,sha256=mYQPqFUVf1VKYeWQUV5VkcdSqwejSmPDGd66Az86-_E,191319
71
71
  lusid/api_client.py,sha256=ewMTmf9SRurY8pYnUx9jy24RdldPCOa4US38pnrVxjA,31140
72
72
  lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
73
- lusid/configuration.py,sha256=ckeQSZurgeULsnW83oHz8jXIKRrrZYe3jS6813puk-U,17972
73
+ lusid/configuration.py,sha256=3gkBPrGnGYX1zndFZ0TwhigqoEEgiGCXklVPxcj-0nY,17972
74
74
  lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
75
75
  lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
76
76
  lusid/extensions/api_client.py,sha256=GzygWg_h603QK1QS2HvAijuE2R1TnvoF6-Yg0CeM3ug,30943
@@ -266,7 +266,7 @@ lusid/models/compliance_summary_rule_result.py,sha256=DcFwqv71C-UgDtc7AE8qoCBKSX
266
266
  lusid/models/compliance_summary_rule_result_request.py,sha256=3n4eaQttxBz_JfZwR-5AAmNAAurc2lw2e9CKNaT4xQo,5038
267
267
  lusid/models/compliance_template.py,sha256=Dm4UFVGU60V77R76CDsotQGTnZtR3kYq73LGGvWXIAs,4039
268
268
  lusid/models/compliance_template_parameter.py,sha256=LWVk_yP-tYBkoUxKzqSozxnjeK8vTJf_x5sG0nwlbLc,2383
269
- lusid/models/compliance_template_variation.py,sha256=mnbKZ78bbQyq7L3LtcXPT2DrymDvCIVR_pzDb4OQ0_Q,4961
269
+ lusid/models/compliance_template_variation.py,sha256=LZliixtYiQl9TWuDtl8q9DJ0AC0Ttu7Hd1xq8dhZvgg,5555
270
270
  lusid/models/compliance_template_variation_dto.py,sha256=fWH4WbJjLPjpyb0p4_SVeRaVYyb22KOsthPo-sftggE,4300
271
271
  lusid/models/compliance_template_variation_request.py,sha256=UFy6md9GFHvKgH2GT0-Cwfg48pSvo2UtKcCYLFZG2js,4361
272
272
  lusid/models/component_filter.py,sha256=lIRWmBzhjHiA3KOraTZ1jFbUBWR2bz5JUet9Kzx2N3I,2590
@@ -1224,6 +1224,6 @@ lusid/models/workspace_update_request.py,sha256=uUXEpX-dJ5UiL9w1wMxIFeovSBiTJ-vi
1224
1224
  lusid/models/yield_curve_data.py,sha256=SbxvdJ4-GWK9kpMdw4Fnxc7_kvIMwgsRsd_31UJn7nw,6330
1225
1225
  lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1226
1226
  lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
1227
- lusid_sdk-2.1.563.dist-info/METADATA,sha256=uzPErlAQUWOcqJdA02tYfFSudMjhz0WQ_FcbWniWcxU,208988
1228
- lusid_sdk-2.1.563.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
1229
- lusid_sdk-2.1.563.dist-info/RECORD,,
1227
+ lusid_sdk-2.1.564.dist-info/METADATA,sha256=CKrlOPa-IxIBhCMTV8ydpttpS7pxbN85S6K__NfTFBI,208988
1228
+ lusid_sdk-2.1.564.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
1229
+ lusid_sdk-2.1.564.dist-info/RECORD,,