lusid-sdk 2.1.886__py3-none-any.whl → 2.1.887__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/relational_dataset_field_definition.py +2 -7
- {lusid_sdk-2.1.886.dist-info → lusid_sdk-2.1.887.dist-info}/METADATA +1 -1
- {lusid_sdk-2.1.886.dist-info → lusid_sdk-2.1.887.dist-info}/RECORD +5 -5
- {lusid_sdk-2.1.886.dist-info → lusid_sdk-2.1.887.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.8098\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, Optional
|
22
|
-
from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictBool,
|
22
|
+
from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictBool, constr
|
23
23
|
from lusid.models.resource_id import ResourceId
|
24
24
|
|
25
25
|
class RelationalDatasetFieldDefinition(BaseModel):
|
@@ -31,7 +31,7 @@ class RelationalDatasetFieldDefinition(BaseModel):
|
|
31
31
|
description: Optional[StrictStr] = Field(None,alias="description", description="A detailed description of the field and its purpose.")
|
32
32
|
data_type_id: ResourceId = Field(..., alias="dataTypeId")
|
33
33
|
required: Optional[StrictBool] = Field(None, description="Whether this field is mandatory in the dataset.")
|
34
|
-
usage:
|
34
|
+
usage: StrictStr = Field(...,alias="usage", description="The intended usage of the field (SeriesIdentifier, Value, or Metadata).")
|
35
35
|
__properties = ["fieldName", "displayName", "description", "dataTypeId", "required", "usage"]
|
36
36
|
|
37
37
|
class Config:
|
@@ -79,11 +79,6 @@ class RelationalDatasetFieldDefinition(BaseModel):
|
|
79
79
|
if self.description is None and "description" in self.__fields_set__:
|
80
80
|
_dict['description'] = None
|
81
81
|
|
82
|
-
# set to None if usage (nullable) is None
|
83
|
-
# and __fields_set__ contains the field
|
84
|
-
if self.usage is None and "usage" in self.__fields_set__:
|
85
|
-
_dict['usage'] = None
|
86
|
-
|
87
82
|
return _dict
|
88
83
|
|
89
84
|
@classmethod
|
@@ -79,7 +79,7 @@ lusid/api/translation_api.py,sha256=xpRuTfwQvYBlWe6r_L2EI_uVpXqHFnEOim-i-kVQ85E,
|
|
79
79
|
lusid/api/workspace_api.py,sha256=0pCNi3ZCRbIo0NXKa85XE7vtq0WV5YOKcQKvFlcLUaY,120708
|
80
80
|
lusid/api_client.py,sha256=ewMTmf9SRurY8pYnUx9jy24RdldPCOa4US38pnrVxjA,31140
|
81
81
|
lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
|
82
|
-
lusid/configuration.py,sha256=
|
82
|
+
lusid/configuration.py,sha256=Xd6Hwj3hmIYGbEJ5zPLM58sOxpjPv8hfh5cz0Ml-XNw,17972
|
83
83
|
lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
|
84
84
|
lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
|
85
85
|
lusid/extensions/api_client.py,sha256=GzygWg_h603QK1QS2HvAijuE2R1TnvoF6-Yg0CeM3ug,30943
|
@@ -994,7 +994,7 @@ lusid/models/related_entity.py,sha256=4ZzIfmT_PSsGW9CZjoXsU9uzLYWd3hnQftssv8Atz6
|
|
994
994
|
lusid/models/relation.py,sha256=WUL9JD_PCPu1hVeiGuvKOAAkgpYWD9Qr4ybkE7yc3GU,3604
|
995
995
|
lusid/models/relation_definition.py,sha256=oJfpalXDU1J1Xhu_e7aCelTwzgMx93RXt6HSW9vQ6JI,7153
|
996
996
|
lusid/models/relational_dataset_definition.py,sha256=GitSfIp74N1SioKmUqR382SEjPql6aAoe0W6YdUN3NA,5674
|
997
|
-
lusid/models/relational_dataset_field_definition.py,sha256=
|
997
|
+
lusid/models/relational_dataset_field_definition.py,sha256=3c1Fd-s9EKRb5i1sSl8Cd2XjnRE84DsMvRfqixlArn0,3951
|
998
998
|
lusid/models/relationship.py,sha256=ew5ZGga-Ps6xo50dz3BNsZJ3_YCahuqG0es1D5gt4_k,5024
|
999
999
|
lusid/models/relationship_definition.py,sha256=Vpum63Y67u08n1if6HtUG2fgtXVukPUGW9iC_yZgrqk,5277
|
1000
1000
|
lusid/models/relative_date_offset.py,sha256=BQeEduekNv-R_xJ-qHq-FfPoddRh3m3_-oOHJ-8rrlE,3226
|
@@ -1361,6 +1361,6 @@ lusid/models/year_month_day.py,sha256=gwSoxFwlD_wffKdddo1wfvAcLq3Cht3FHQidiaHzAA
|
|
1361
1361
|
lusid/models/yield_curve_data.py,sha256=I1ZSWxHMgUxj9OQt6i9a4S91KB4_XtmrfFxpN_PV3YQ,9561
|
1362
1362
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1363
1363
|
lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
|
1364
|
-
lusid_sdk-2.1.
|
1365
|
-
lusid_sdk-2.1.
|
1366
|
-
lusid_sdk-2.1.
|
1364
|
+
lusid_sdk-2.1.887.dist-info/METADATA,sha256=buBXlV4o8NciIBp_tDVocRrHPyJeDsDT6ZHlNoX_uV4,227114
|
1365
|
+
lusid_sdk-2.1.887.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
1366
|
+
lusid_sdk-2.1.887.dist-info/RECORD,,
|
File without changes
|