lusid-sdk 2.1.719__py3-none-any.whl → 2.1.721__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.7462\n"\
|
449
449
|
"SDK Package Version: {package_version}".\
|
450
450
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
451
451
|
|
@@ -18,21 +18,21 @@ import re # noqa: F401
|
|
18
18
|
import json
|
19
19
|
|
20
20
|
|
21
|
-
from typing import Any, Dict, List
|
22
|
-
from pydantic.v1 import BaseModel, Field, StrictInt,
|
21
|
+
from typing import Any, Dict, List
|
22
|
+
from pydantic.v1 import BaseModel, Field, StrictInt, conlist, constr
|
23
23
|
from lusid.models.resource_id import ResourceId
|
24
24
|
|
25
25
|
class DataModelSummary(BaseModel):
|
26
26
|
"""
|
27
27
|
DataModelSummary
|
28
28
|
"""
|
29
|
-
id:
|
30
|
-
display_name:
|
31
|
-
description:
|
29
|
+
id: ResourceId = Field(...)
|
30
|
+
display_name: constr(strict=True, min_length=1) = Field(..., alias="displayName", description="The name of the Custom Data Model.")
|
31
|
+
description: constr(strict=True, min_length=1) = Field(..., description="A description for the Custom Data Model.")
|
32
32
|
entity_type: constr(strict=True, min_length=1) = Field(..., alias="entityType", description="The entity type that the Custom Data Model binds to.")
|
33
|
-
type:
|
34
|
-
precedence:
|
35
|
-
children:
|
33
|
+
type: constr(strict=True, min_length=1) = Field(..., description="Either Root or Leaf or Intermediate.")
|
34
|
+
precedence: StrictInt = Field(..., description="Where in the hierarchy this model sits.")
|
35
|
+
children: conlist(DataModelSummary) = Field(..., description="Child Custom Data Models that will inherit from this data model.")
|
36
36
|
__properties = ["id", "displayName", "description", "entityType", "type", "precedence", "children"]
|
37
37
|
|
38
38
|
class Config:
|
@@ -77,26 +77,6 @@ class DataModelSummary(BaseModel):
|
|
77
77
|
if _item:
|
78
78
|
_items.append(_item.to_dict())
|
79
79
|
_dict['children'] = _items
|
80
|
-
# set to None if display_name (nullable) is None
|
81
|
-
# and __fields_set__ contains the field
|
82
|
-
if self.display_name is None and "display_name" in self.__fields_set__:
|
83
|
-
_dict['displayName'] = None
|
84
|
-
|
85
|
-
# set to None if description (nullable) is None
|
86
|
-
# and __fields_set__ contains the field
|
87
|
-
if self.description is None and "description" in self.__fields_set__:
|
88
|
-
_dict['description'] = None
|
89
|
-
|
90
|
-
# set to None if type (nullable) is None
|
91
|
-
# and __fields_set__ contains the field
|
92
|
-
if self.type is None and "type" in self.__fields_set__:
|
93
|
-
_dict['type'] = None
|
94
|
-
|
95
|
-
# set to None if children (nullable) is None
|
96
|
-
# and __fields_set__ contains the field
|
97
|
-
if self.children is None and "children" in self.__fields_set__:
|
98
|
-
_dict['children'] = None
|
99
|
-
|
100
80
|
return _dict
|
101
81
|
|
102
82
|
@classmethod
|
@@ -74,7 +74,7 @@ lusid/api/translation_api.py,sha256=nIyuLncCvVC5k2d7Nm32zR8AQ1dkrVm1OThkmELY_OM,
|
|
74
74
|
lusid/api/workspace_api.py,sha256=Yox1q7TDY-_O3HF-N8g5kGuNgp4unWvlSZmRZ6MNZO0,196701
|
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=AgCQeqgdkg6h-NTYr1eiT_V9WH0VKrRfWx9E8r4UZMc,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
|
@@ -370,7 +370,7 @@ lusid/models/data_definition.py,sha256=d_uLAUy2x3LF-xr_91krxdRoheA5LYFrguq5HtGvD
|
|
370
370
|
lusid/models/data_map_key.py,sha256=H8ePRI-QGwfqdVmXXWLTZojV4H-TCCso3k9suD_1dQk,3620
|
371
371
|
lusid/models/data_mapping.py,sha256=davXNHlOMc4Lx1TRetxPwN4JWuu-9hLcMU7uxcNercc,3850
|
372
372
|
lusid/models/data_model_membership.py,sha256=BuqB2ttuuS_UOknQS3yMesSvMqfHJlvmqYYxazo8UPs,3124
|
373
|
-
lusid/models/data_model_summary.py,sha256=
|
373
|
+
lusid/models/data_model_summary.py,sha256=p-cI7bOGWOqxcaTl5BeJ-dVjg4rX3DRnbGWDAtnAhws,3814
|
374
374
|
lusid/models/data_scope.py,sha256=kPEezrG4PySsocxHJAznHofNqOI68IBXd9-VCxYyMek,2537
|
375
375
|
lusid/models/data_type.py,sha256=C6SGu_ls-fIZwjEgp-OttZ0sefo99rAVvfPXtpagyTc,8549
|
376
376
|
lusid/models/data_type_entity.py,sha256=mJOvERk6jQD69XRaqTQct2Ajm75U0060e_GUlj8bo0Y,6890
|
@@ -1283,6 +1283,6 @@ lusid/models/workspace_update_request.py,sha256=5N7j21uF9XV75Sl3oJbsSOKT5PrQEx3y
|
|
1283
1283
|
lusid/models/yield_curve_data.py,sha256=vtOzY4t2lgHJUWcna9dEKnuZ_tinolyb8IAFPB23DZ0,6543
|
1284
1284
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1285
1285
|
lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
|
1286
|
-
lusid_sdk-2.1.
|
1287
|
-
lusid_sdk-2.1.
|
1288
|
-
lusid_sdk-2.1.
|
1286
|
+
lusid_sdk-2.1.721.dist-info/METADATA,sha256=jxnr0keQ4IUUO2pa5vAL0GdPn2YUmEPYskcKPWlsJqE,219947
|
1287
|
+
lusid_sdk-2.1.721.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
1288
|
+
lusid_sdk-2.1.721.dist-info/RECORD,,
|
File without changes
|