lusid-sdk 2.1.5__py3-none-any.whl → 2.1.7__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/__init__.py +2 -0
- lusid/configuration.py +1 -1
- lusid/models/__init__.py +2 -0
- lusid/models/address_key_list.py +3 -3
- lusid/models/decimal_list.py +3 -3
- lusid/models/instrument_list.py +3 -3
- lusid/models/portfolio_group_id_list.py +3 -3
- lusid/models/portfolio_id_list.py +3 -3
- lusid/models/property_list.py +99 -0
- lusid/models/reference_list.py +6 -5
- lusid/models/reference_list_type.py +1 -0
- lusid/models/string_list.py +3 -3
- {lusid_sdk-2.1.5.dist-info → lusid_sdk-2.1.7.dist-info}/METADATA +4 -3
- {lusid_sdk-2.1.5.dist-info → lusid_sdk-2.1.7.dist-info}/RECORD +15 -14
- {lusid_sdk-2.1.5.dist-info → lusid_sdk-2.1.7.dist-info}/WHEEL +0 -0
lusid/__init__.py
CHANGED
|
@@ -693,6 +693,7 @@ from lusid.models.property_interval import PropertyInterval
|
|
|
693
693
|
from lusid.models.property_key_compliance_parameter import PropertyKeyComplianceParameter
|
|
694
694
|
from lusid.models.property_key_list_compliance_parameter import PropertyKeyListComplianceParameter
|
|
695
695
|
from lusid.models.property_life_time import PropertyLifeTime
|
|
696
|
+
from lusid.models.property_list import PropertyList
|
|
696
697
|
from lusid.models.property_schema import PropertySchema
|
|
697
698
|
from lusid.models.property_type import PropertyType
|
|
698
699
|
from lusid.models.property_value import PropertyValue
|
|
@@ -1702,6 +1703,7 @@ __all__ = [
|
|
|
1702
1703
|
"PropertyKeyComplianceParameter",
|
|
1703
1704
|
"PropertyKeyListComplianceParameter",
|
|
1704
1705
|
"PropertyLifeTime",
|
|
1706
|
+
"PropertyList",
|
|
1705
1707
|
"PropertySchema",
|
|
1706
1708
|
"PropertyType",
|
|
1707
1709
|
"PropertyValue",
|
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.6442\n"\
|
|
377
377
|
"SDK Package Version: {package_version}".\
|
|
378
378
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
|
379
379
|
|
lusid/models/__init__.py
CHANGED
|
@@ -617,6 +617,7 @@ from lusid.models.property_interval import PropertyInterval
|
|
|
617
617
|
from lusid.models.property_key_compliance_parameter import PropertyKeyComplianceParameter
|
|
618
618
|
from lusid.models.property_key_list_compliance_parameter import PropertyKeyListComplianceParameter
|
|
619
619
|
from lusid.models.property_life_time import PropertyLifeTime
|
|
620
|
+
from lusid.models.property_list import PropertyList
|
|
620
621
|
from lusid.models.property_schema import PropertySchema
|
|
621
622
|
from lusid.models.property_type import PropertyType
|
|
622
623
|
from lusid.models.property_value import PropertyValue
|
|
@@ -1552,6 +1553,7 @@ __all__ = [
|
|
|
1552
1553
|
"PropertyKeyComplianceParameter",
|
|
1553
1554
|
"PropertyKeyListComplianceParameter",
|
|
1554
1555
|
"PropertyLifeTime",
|
|
1556
|
+
"PropertyList",
|
|
1555
1557
|
"PropertySchema",
|
|
1556
1558
|
"PropertyType",
|
|
1557
1559
|
"PropertyValue",
|
lusid/models/address_key_list.py
CHANGED
|
@@ -27,15 +27,15 @@ class AddressKeyList(ReferenceList):
|
|
|
27
27
|
AddressKeyList
|
|
28
28
|
"""
|
|
29
29
|
values: conlist(StrictStr, max_items=100, min_items=0) = Field(...)
|
|
30
|
-
reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList")
|
|
30
|
+
reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList, PropertyList")
|
|
31
31
|
additional_properties: Dict[str, Any] = {}
|
|
32
32
|
__properties = ["referenceListType", "values"]
|
|
33
33
|
|
|
34
34
|
@validator('reference_list_type')
|
|
35
35
|
def reference_list_type_validate_enum(cls, value):
|
|
36
36
|
"""Validates the enum"""
|
|
37
|
-
if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList'):
|
|
38
|
-
raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList')")
|
|
37
|
+
if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList'):
|
|
38
|
+
raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList')")
|
|
39
39
|
return value
|
|
40
40
|
|
|
41
41
|
class Config:
|
lusid/models/decimal_list.py
CHANGED
|
@@ -27,15 +27,15 @@ class DecimalList(ReferenceList):
|
|
|
27
27
|
DecimalList
|
|
28
28
|
"""
|
|
29
29
|
values: conlist(Union[StrictFloat, StrictInt], max_items=100, min_items=0) = Field(...)
|
|
30
|
-
reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList")
|
|
30
|
+
reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList, PropertyList")
|
|
31
31
|
additional_properties: Dict[str, Any] = {}
|
|
32
32
|
__properties = ["referenceListType", "values"]
|
|
33
33
|
|
|
34
34
|
@validator('reference_list_type')
|
|
35
35
|
def reference_list_type_validate_enum(cls, value):
|
|
36
36
|
"""Validates the enum"""
|
|
37
|
-
if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList'):
|
|
38
|
-
raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList')")
|
|
37
|
+
if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList'):
|
|
38
|
+
raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList')")
|
|
39
39
|
return value
|
|
40
40
|
|
|
41
41
|
class Config:
|
lusid/models/instrument_list.py
CHANGED
|
@@ -27,15 +27,15 @@ class InstrumentList(ReferenceList):
|
|
|
27
27
|
InstrumentList
|
|
28
28
|
"""
|
|
29
29
|
values: conlist(StrictStr, max_items=100, min_items=0) = Field(...)
|
|
30
|
-
reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList")
|
|
30
|
+
reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList, PropertyList")
|
|
31
31
|
additional_properties: Dict[str, Any] = {}
|
|
32
32
|
__properties = ["referenceListType", "values"]
|
|
33
33
|
|
|
34
34
|
@validator('reference_list_type')
|
|
35
35
|
def reference_list_type_validate_enum(cls, value):
|
|
36
36
|
"""Validates the enum"""
|
|
37
|
-
if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList'):
|
|
38
|
-
raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList')")
|
|
37
|
+
if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList'):
|
|
38
|
+
raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList')")
|
|
39
39
|
return value
|
|
40
40
|
|
|
41
41
|
class Config:
|
|
@@ -28,15 +28,15 @@ class PortfolioGroupIdList(ReferenceList):
|
|
|
28
28
|
PortfolioGroupIdList
|
|
29
29
|
"""
|
|
30
30
|
values: conlist(ResourceId, max_items=100) = Field(...)
|
|
31
|
-
reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList")
|
|
31
|
+
reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList, PropertyList")
|
|
32
32
|
additional_properties: Dict[str, Any] = {}
|
|
33
33
|
__properties = ["referenceListType", "values"]
|
|
34
34
|
|
|
35
35
|
@validator('reference_list_type')
|
|
36
36
|
def reference_list_type_validate_enum(cls, value):
|
|
37
37
|
"""Validates the enum"""
|
|
38
|
-
if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList'):
|
|
39
|
-
raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList')")
|
|
38
|
+
if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList'):
|
|
39
|
+
raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList')")
|
|
40
40
|
return value
|
|
41
41
|
|
|
42
42
|
class Config:
|
|
@@ -28,15 +28,15 @@ class PortfolioIdList(ReferenceList):
|
|
|
28
28
|
PortfolioIdList
|
|
29
29
|
"""
|
|
30
30
|
values: conlist(ResourceId, max_items=100) = Field(...)
|
|
31
|
-
reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList")
|
|
31
|
+
reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList, PropertyList")
|
|
32
32
|
additional_properties: Dict[str, Any] = {}
|
|
33
33
|
__properties = ["referenceListType", "values"]
|
|
34
34
|
|
|
35
35
|
@validator('reference_list_type')
|
|
36
36
|
def reference_list_type_validate_enum(cls, value):
|
|
37
37
|
"""Validates the enum"""
|
|
38
|
-
if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList'):
|
|
39
|
-
raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList')")
|
|
38
|
+
if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList'):
|
|
39
|
+
raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList')")
|
|
40
40
|
return value
|
|
41
41
|
|
|
42
42
|
class Config:
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
LUSID API
|
|
5
|
+
|
|
6
|
+
FINBOURNE Technology # noqa: E501
|
|
7
|
+
|
|
8
|
+
Contact: info@finbourne.com
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
from typing import Any, Dict, List
|
|
22
|
+
from pydantic.v1 import Field, StrictStr, conlist, validator
|
|
23
|
+
from lusid.models.model_property import ModelProperty
|
|
24
|
+
from lusid.models.reference_list import ReferenceList
|
|
25
|
+
|
|
26
|
+
class PropertyList(ReferenceList):
|
|
27
|
+
"""
|
|
28
|
+
PropertyList
|
|
29
|
+
"""
|
|
30
|
+
values: conlist(ModelProperty, max_items=100, min_items=0) = Field(...)
|
|
31
|
+
reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList, PropertyList")
|
|
32
|
+
additional_properties: Dict[str, Any] = {}
|
|
33
|
+
__properties = ["referenceListType", "values"]
|
|
34
|
+
|
|
35
|
+
@validator('reference_list_type')
|
|
36
|
+
def reference_list_type_validate_enum(cls, value):
|
|
37
|
+
"""Validates the enum"""
|
|
38
|
+
if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList'):
|
|
39
|
+
raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList')")
|
|
40
|
+
return value
|
|
41
|
+
|
|
42
|
+
class Config:
|
|
43
|
+
"""Pydantic configuration"""
|
|
44
|
+
allow_population_by_field_name = True
|
|
45
|
+
validate_assignment = True
|
|
46
|
+
|
|
47
|
+
def to_str(self) -> str:
|
|
48
|
+
"""Returns the string representation of the model using alias"""
|
|
49
|
+
return pprint.pformat(self.dict(by_alias=True))
|
|
50
|
+
|
|
51
|
+
def to_json(self) -> str:
|
|
52
|
+
"""Returns the JSON representation of the model using alias"""
|
|
53
|
+
return json.dumps(self.to_dict())
|
|
54
|
+
|
|
55
|
+
@classmethod
|
|
56
|
+
def from_json(cls, json_str: str) -> PropertyList:
|
|
57
|
+
"""Create an instance of PropertyList from a JSON string"""
|
|
58
|
+
return cls.from_dict(json.loads(json_str))
|
|
59
|
+
|
|
60
|
+
def to_dict(self):
|
|
61
|
+
"""Returns the dictionary representation of the model using alias"""
|
|
62
|
+
_dict = self.dict(by_alias=True,
|
|
63
|
+
exclude={
|
|
64
|
+
"additional_properties"
|
|
65
|
+
},
|
|
66
|
+
exclude_none=True)
|
|
67
|
+
# override the default output from pydantic by calling `to_dict()` of each item in values (list)
|
|
68
|
+
_items = []
|
|
69
|
+
if self.values:
|
|
70
|
+
for _item in self.values:
|
|
71
|
+
if _item:
|
|
72
|
+
_items.append(_item.to_dict())
|
|
73
|
+
_dict['values'] = _items
|
|
74
|
+
# puts key-value pairs in additional_properties in the top level
|
|
75
|
+
if self.additional_properties is not None:
|
|
76
|
+
for _key, _value in self.additional_properties.items():
|
|
77
|
+
_dict[_key] = _value
|
|
78
|
+
|
|
79
|
+
return _dict
|
|
80
|
+
|
|
81
|
+
@classmethod
|
|
82
|
+
def from_dict(cls, obj: dict) -> PropertyList:
|
|
83
|
+
"""Create an instance of PropertyList from a dict"""
|
|
84
|
+
if obj is None:
|
|
85
|
+
return None
|
|
86
|
+
|
|
87
|
+
if not isinstance(obj, dict):
|
|
88
|
+
return PropertyList.parse_obj(obj)
|
|
89
|
+
|
|
90
|
+
_obj = PropertyList.parse_obj({
|
|
91
|
+
"reference_list_type": obj.get("referenceListType"),
|
|
92
|
+
"values": [ModelProperty.from_dict(_item) for _item in obj.get("values")] if obj.get("values") is not None else None
|
|
93
|
+
})
|
|
94
|
+
# store additional fields in additional_properties
|
|
95
|
+
for _key in obj.keys():
|
|
96
|
+
if _key not in cls.__properties:
|
|
97
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
98
|
+
|
|
99
|
+
return _obj
|
lusid/models/reference_list.py
CHANGED
|
@@ -26,14 +26,14 @@ class ReferenceList(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
ReferenceList
|
|
28
28
|
"""
|
|
29
|
-
reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList")
|
|
29
|
+
reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList, PropertyList")
|
|
30
30
|
__properties = ["referenceListType"]
|
|
31
31
|
|
|
32
32
|
@validator('reference_list_type')
|
|
33
33
|
def reference_list_type_validate_enum(cls, value):
|
|
34
34
|
"""Validates the enum"""
|
|
35
|
-
if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList'):
|
|
36
|
-
raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList')")
|
|
35
|
+
if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList'):
|
|
36
|
+
raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList')")
|
|
37
37
|
return value
|
|
38
38
|
|
|
39
39
|
class Config:
|
|
@@ -51,6 +51,7 @@ class ReferenceList(BaseModel):
|
|
|
51
51
|
'InstrumentList': 'InstrumentList',
|
|
52
52
|
'PortfolioGroupIdList': 'PortfolioGroupIdList',
|
|
53
53
|
'PortfolioIdList': 'PortfolioIdList',
|
|
54
|
+
'PropertyList': 'PropertyList',
|
|
54
55
|
'StringList': 'StringList'
|
|
55
56
|
}
|
|
56
57
|
|
|
@@ -72,7 +73,7 @@ class ReferenceList(BaseModel):
|
|
|
72
73
|
return json.dumps(self.to_dict())
|
|
73
74
|
|
|
74
75
|
@classmethod
|
|
75
|
-
def from_json(cls, json_str: str) -> Union(AddressKeyList, DecimalList, InstrumentList, PortfolioGroupIdList, PortfolioIdList, StringList):
|
|
76
|
+
def from_json(cls, json_str: str) -> Union(AddressKeyList, DecimalList, InstrumentList, PortfolioGroupIdList, PortfolioIdList, PropertyList, StringList):
|
|
76
77
|
"""Create an instance of ReferenceList from a JSON string"""
|
|
77
78
|
return cls.from_dict(json.loads(json_str))
|
|
78
79
|
|
|
@@ -85,7 +86,7 @@ class ReferenceList(BaseModel):
|
|
|
85
86
|
return _dict
|
|
86
87
|
|
|
87
88
|
@classmethod
|
|
88
|
-
def from_dict(cls, obj: dict) -> Union(AddressKeyList, DecimalList, InstrumentList, PortfolioGroupIdList, PortfolioIdList, StringList):
|
|
89
|
+
def from_dict(cls, obj: dict) -> Union(AddressKeyList, DecimalList, InstrumentList, PortfolioGroupIdList, PortfolioIdList, PropertyList, StringList):
|
|
89
90
|
"""Create an instance of ReferenceList from a dict"""
|
|
90
91
|
# look up the object type based on discriminator mapping
|
|
91
92
|
object_type = cls.get_discriminator_value(obj)
|
lusid/models/string_list.py
CHANGED
|
@@ -27,15 +27,15 @@ class StringList(ReferenceList):
|
|
|
27
27
|
StringList
|
|
28
28
|
"""
|
|
29
29
|
values: conlist(StrictStr, max_items=100, min_items=0) = Field(...)
|
|
30
|
-
reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList")
|
|
30
|
+
reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList, PropertyList")
|
|
31
31
|
additional_properties: Dict[str, Any] = {}
|
|
32
32
|
__properties = ["referenceListType", "values"]
|
|
33
33
|
|
|
34
34
|
@validator('reference_list_type')
|
|
35
35
|
def reference_list_type_validate_enum(cls, value):
|
|
36
36
|
"""Validates the enum"""
|
|
37
|
-
if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList'):
|
|
38
|
-
raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList')")
|
|
37
|
+
if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList'):
|
|
38
|
+
raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList')")
|
|
39
39
|
return value
|
|
40
40
|
|
|
41
41
|
class Config:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lusid-sdk
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.7
|
|
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.1.
|
|
32
|
+
- API version: 0.11.6442
|
|
33
|
+
- Package version: 2.1.7
|
|
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
|
|
|
@@ -1322,6 +1322,7 @@ Class | Method | HTTP request | Description
|
|
|
1322
1322
|
- [PropertyKeyComplianceParameter](docs/PropertyKeyComplianceParameter.md)
|
|
1323
1323
|
- [PropertyKeyListComplianceParameter](docs/PropertyKeyListComplianceParameter.md)
|
|
1324
1324
|
- [PropertyLifeTime](docs/PropertyLifeTime.md)
|
|
1325
|
+
- [PropertyList](docs/PropertyList.md)
|
|
1325
1326
|
- [PropertySchema](docs/PropertySchema.md)
|
|
1326
1327
|
- [PropertyType](docs/PropertyType.md)
|
|
1327
1328
|
- [PropertyValue](docs/PropertyValue.md)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
lusid/__init__.py,sha256=
|
|
1
|
+
lusid/__init__.py,sha256=RJ3pVlqDXbshdIE_475TrfljdkAwycFlz008cM_0-ZU,103627
|
|
2
2
|
lusid/api/__init__.py,sha256=jdU3SmYCzfXVHFVThKX_tCGad2-l4-5Qql1cN864mCs,5388
|
|
3
3
|
lusid/api/abor_api.py,sha256=gEqLNum0O0fIHTMPG1E9hxroX6g3vBzqRwbRY7oHGNU,149942
|
|
4
4
|
lusid/api/abor_configuration_api.py,sha256=G2bKPtMYOZ2GhUrg-nPJtCa9XIZdZYK7oafcbJWDMP8,64033
|
|
@@ -65,7 +65,7 @@ lusid/api/transaction_portfolios_api.py,sha256=42th9dFApxhoX_mbYJHZg8mkZ4Pzt-rd4
|
|
|
65
65
|
lusid/api/translation_api.py,sha256=xTAaKEW96JTDIZBXCjxSguCa7Gz4oVd5jdObUE2egwo,20092
|
|
66
66
|
lusid/api_client.py,sha256=dF6l9RAsdxdQjf6Qn4ny6LB-QXlJmsscWiozCvyyBFA,30709
|
|
67
67
|
lusid/api_response.py,sha256=uCehWdXXDnAO2HAHGKe0SgpQ_mJiGDbcu-BHDF3n_IM,852
|
|
68
|
-
lusid/configuration.py,sha256=
|
|
68
|
+
lusid/configuration.py,sha256=_5ymLx3JwGA3ml3cjYU4Te_jjLS5s6zVCoEKSB9ZtoU,14404
|
|
69
69
|
lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
|
|
70
70
|
lusid/extensions/__init__.py,sha256=DeUuQP7yTcklJH7LT-bw9wQhKEggcs1KwQbPbFcOlhw,560
|
|
71
71
|
lusid/extensions/api_client.py,sha256=Ob06urm4Em3MLzgP_geyeeGsPCkU225msW_1kpIeABM,30567
|
|
@@ -78,7 +78,7 @@ lusid/extensions/rest.py,sha256=tjVCu-cRrYcjp-ttB975vebPKtBNyBWaeoAdO3QXG2I,1269
|
|
|
78
78
|
lusid/extensions/retry.py,sha256=orBJ1uF1iT1IncjWX1iGHVqsCgTh0SBe9rtiV_sPnwk,11564
|
|
79
79
|
lusid/extensions/socket_keep_alive.py,sha256=NGlqsv-E25IjJOLGZhXZY6kUdx51nEF8qCQyVdzayRk,1653
|
|
80
80
|
lusid/extensions/tcp_keep_alive_connector.py,sha256=zaGtUsygRsxB1_4B3x39K3ILwztdhMLDv5bFZV7zmGE,3877
|
|
81
|
-
lusid/models/__init__.py,sha256=
|
|
81
|
+
lusid/models/__init__.py,sha256=qNtuRcT4XVgJygUVKfO2ocUqnPxuR5E2NM5AiFlr7u4,97282
|
|
82
82
|
lusid/models/a2_b_breakdown.py,sha256=Txi12EIQw3mH6NM-25QkOnHSQc3BVAWrP7yl9bZswSY,2947
|
|
83
83
|
lusid/models/a2_b_category.py,sha256=k6NPAACi0CUjKyhdQac4obQSrPmp2PXD6lkAtCnyEFM,2725
|
|
84
84
|
lusid/models/a2_b_data_record.py,sha256=zKGS2P4fzNpzdcGJiSIpkY4P3d_jAcawYfyuPCDeQgk,9737
|
|
@@ -107,7 +107,7 @@ lusid/models/address_definition.py,sha256=zTk3p8hfx0CcP_LcHSihJ8bKqT8R5p6RJe3h7m
|
|
|
107
107
|
lusid/models/address_key_compliance_parameter.py,sha256=gylQE87Asl7YbN5HwFUK49HOoCSbO7pXtQE_kKrlsz8,5178
|
|
108
108
|
lusid/models/address_key_definition.py,sha256=ZBOa_DoY_hGC1jaMwKERn1sFhqsk2YsP1HZ0F8tQDek,3212
|
|
109
109
|
lusid/models/address_key_filter.py,sha256=zck6BPGlaKegIOmbaBs2DLKZQqQwKrjziRXzGYDCuBI,2968
|
|
110
|
-
lusid/models/address_key_list.py,sha256=
|
|
110
|
+
lusid/models/address_key_list.py,sha256=xMWZFcy0hNwEhpHTDo8L9kPCqiPlKEziGnKJY8jnPTI,3275
|
|
111
111
|
lusid/models/address_key_list_compliance_parameter.py,sha256=IKkPUlWkzibhjS57KzhWTbKo24dNFeVPjB_mWu6u7-8,5402
|
|
112
112
|
lusid/models/address_key_option_definition.py,sha256=T2Zj9-KQJhDubLPIIK2pnaM5UDZvaune5gAfnLAAcxY,3451
|
|
113
113
|
lusid/models/adjust_holding.py,sha256=K0FDmwFy3NTJ8HicVCJGA1Mqrbri77d1IGA_hk0ejLY,4387
|
|
@@ -309,7 +309,7 @@ lusid/models/date_time_list_compliance_parameter.py,sha256=5Ql35OdjMOBh7Pi9wQQnw
|
|
|
309
309
|
lusid/models/day_month.py,sha256=vV2uMx905FIxzJivvzDTeX9rQPgFksSIQV2jCrT507s,2023
|
|
310
310
|
lusid/models/day_of_week.py,sha256=fqdnbmdpOaxHXxDdcmR_oa62mEv6FHsyHu8KuE0UPqw,756
|
|
311
311
|
lusid/models/decimal_compliance_parameter.py,sha256=I3_Fs-FO0D5ck9wy12L-yDpVg7Myssy1pbzjd92Vr_Y,5127
|
|
312
|
-
lusid/models/decimal_list.py,sha256=
|
|
312
|
+
lusid/models/decimal_list.py,sha256=EoFlMIGkbdcXW_dGowPhEMB-O7psz2bQM39wyOQwaSE,3302
|
|
313
313
|
lusid/models/decimal_list_compliance_parameter.py,sha256=1adg9eC5juhhT3L8q8ZNllUO_YBZ6GWcAybrPiJy8Jg,5378
|
|
314
314
|
lusid/models/decorated_compliance_run_summary.py,sha256=efdlYnflDMqgVI0XtDSLh_QSBO0I2Miyln-NhzWKntQ,2830
|
|
315
315
|
lusid/models/delete_accounts_response.py,sha256=rMXK160ZieqoPNGyR9EUFrlINhPUHUhVnB0qwwE_HHU,3327
|
|
@@ -466,7 +466,7 @@ lusid/models/instrument_event_type.py,sha256=nqKY7ezNaYnrOXe6iHUPmbaXDi_yt8Rt1lN
|
|
|
466
466
|
lusid/models/instrument_id_type_descriptor.py,sha256=0p18FCVnh60RF3LiLPOsDgbqAyeGJPn_UETTaII0Dx4,2569
|
|
467
467
|
lusid/models/instrument_id_value.py,sha256=wWr4npSEr_hpTWDjFf8WhALa4o0NFNPmNKpuxY1S6PI,2220
|
|
468
468
|
lusid/models/instrument_leg.py,sha256=oipN1b6S1XYsbxmUaEky0rn3Z2VinWVmFykx4VIiFvE,5606
|
|
469
|
-
lusid/models/instrument_list.py,sha256=
|
|
469
|
+
lusid/models/instrument_list.py,sha256=Uv8lR5p9246NYXbBcLMyQa8KM7I9s_Pn3zE_RyjrfCQ,3275
|
|
470
470
|
lusid/models/instrument_list_compliance_parameter.py,sha256=a8_WDkweiSQgx0knRrKvo_xYtE0izhE-Kd08pr8j-oo,5402
|
|
471
471
|
lusid/models/instrument_match.py,sha256=t8RigSJcvJr6QI3NfX0wPB-zLnzh3lc2M_dx5YqOJYw,3947
|
|
472
472
|
lusid/models/instrument_models.py,sha256=LTOV-JTMtiF0e3awvho3DqPsYT3PNk7w9bESXYyuf4I,3458
|
|
@@ -647,13 +647,13 @@ lusid/models/portfolio_details.py,sha256=ZYOTSLq466JT0-0msT9bry3xp9g2qWfHZ4eLkKW
|
|
|
647
647
|
lusid/models/portfolio_entity_id.py,sha256=Q6Y2BocHtfoMiSWaJJqoidwPeQeaDtM_A2Qi9ufesXk,3941
|
|
648
648
|
lusid/models/portfolio_group.py,sha256=pt4ZLAFaXINyx9d8BQ9zZAlj9lIWAzVVWsQpty2PgZA,7106
|
|
649
649
|
lusid/models/portfolio_group_id_compliance_parameter.py,sha256=0QvIbPxedX9Ljv063c4i4dgQueKoKcpr1ZcR_BLE7J4,5418
|
|
650
|
-
lusid/models/portfolio_group_id_list.py,sha256=
|
|
650
|
+
lusid/models/portfolio_group_id_list.py,sha256=Ezx5rsh8tu-YcuP8CNIlid5v_zJGKiGEroJjBTGZqH0,3746
|
|
651
651
|
lusid/models/portfolio_group_id_list_compliance_parameter.py,sha256=BQEAvQ37WDmBaAyvQUsKgyGtYDChxji98P_swO_P9oU,5450
|
|
652
652
|
lusid/models/portfolio_group_properties.py,sha256=TXoraXowbiMx0fh5_VWJWPA7NZ85eRFw0w_A6jpRpus,4343
|
|
653
653
|
lusid/models/portfolio_group_search_result.py,sha256=rDJjz4MXk3f9yUd_DF4kBiOkaJsST4e0rjmU25p2CHM,6286
|
|
654
654
|
lusid/models/portfolio_holding.py,sha256=QIL72AA1GqSgm6sYdegfquucdlpORqHpQ8IkCvz9Hkk,10562
|
|
655
655
|
lusid/models/portfolio_id_compliance_parameter.py,sha256=NGetiRfPa4kLdLxS08raaU4YLmTSuwlnw-qdD-Py2h0,5378
|
|
656
|
-
lusid/models/portfolio_id_list.py,sha256=
|
|
656
|
+
lusid/models/portfolio_id_list.py,sha256=zCe0UDzkP1VjIQHfxBjf-hlL0TEuxlGqGSmyP-6prlo,3706
|
|
657
657
|
lusid/models/portfolio_id_list_compliance_parameter.py,sha256=-Fe3TRdiIV8f60KBAJYJ17212551SGXDhM1WyLTeSZ4,5410
|
|
658
658
|
lusid/models/portfolio_properties.py,sha256=5-YLgi1d19x3DQ2lgAF1vLvUhfdlznjYCG_WWog2pQ8,4292
|
|
659
659
|
lusid/models/portfolio_reconciliation_request.py,sha256=wCxZIivxGZoFmnxItD66J1VSFUqKbtm6SAqq4rNp85w,2886
|
|
@@ -682,6 +682,7 @@ lusid/models/property_interval.py,sha256=d8Beue8awpdtK-bLATPbQyqg91RQVgkq3GddTa_
|
|
|
682
682
|
lusid/models/property_key_compliance_parameter.py,sha256=SIrM649KNI1HokOGlBFZS459L7E_sbPQpxXemi2mwQc,5213
|
|
683
683
|
lusid/models/property_key_list_compliance_parameter.py,sha256=2EP-sLnuDvR7mI2T2EW0hDYlmGR69FcXER4vtF7_hEc,5410
|
|
684
684
|
lusid/models/property_life_time.py,sha256=J3yUafzD0tis5kSMKy77p87ngARdmAmw3iHhjxB5vqc,681
|
|
685
|
+
lusid/models/property_list.py,sha256=mbGV2IPwkEnkuqFpp6RB3HIAsABHwtJaOAc-CSUbxBU,3707
|
|
685
686
|
lusid/models/property_schema.py,sha256=bjc56KZ4Xzx7QUG-eCNxulczSUIVAozU90HabO5Np24,3592
|
|
686
687
|
lusid/models/property_type.py,sha256=eo21Rzc7NvOksRW_tld66GXrIjg0UbZJC1XmVQSn6OA,729
|
|
687
688
|
lusid/models/property_value.py,sha256=ZgB3oNb-mGjhMTf6mBZ2kzaTKVU87ccTON0BDeC6b34,3122
|
|
@@ -725,10 +726,10 @@ lusid/models/reconciliation_side_configuration.py,sha256=Ho6hamC07_rddy_WXTu4aUp
|
|
|
725
726
|
lusid/models/reconciliation_transactions.py,sha256=FMd3dmdTc_k8oS-PEV9CIynuGxTWdqH6X1BFe-78Deg,2797
|
|
726
727
|
lusid/models/reference_data.py,sha256=Uzoo6vMAYa98Oa7J5XDJY7LtHV3ZBUC030Le-KRxKwE,2927
|
|
727
728
|
lusid/models/reference_instrument.py,sha256=El9Lek_x0dgXRbaBCqwzvTWGOO2szlMiyqPM9SoGnf0,5288
|
|
728
|
-
lusid/models/reference_list.py,sha256=
|
|
729
|
+
lusid/models/reference_list.py,sha256=i_dzc9pvHfj38daPGz-VfmYwu-WV33-8Z5uAUyoaC0M,3917
|
|
729
730
|
lusid/models/reference_list_request.py,sha256=RF2juDzf_envfCHLM7sPTsxpybt8IpJ4a8ZVS38-bPo,3494
|
|
730
731
|
lusid/models/reference_list_response.py,sha256=e61pfP6JsHKN9a-a0eDkHiMweNPy__al8UnMRpZRL10,4559
|
|
731
|
-
lusid/models/reference_list_type.py,sha256=
|
|
732
|
+
lusid/models/reference_list_type.py,sha256=wykOJIDkHZjjLjmOyIwCKRGyOppI3-E8iVmG1ha3Z8c,888
|
|
732
733
|
lusid/models/reference_portfolio_constituent.py,sha256=vELtFLVORa6BTSq5NtB0i-_uX07u_91-I99sWHsE3ig,4708
|
|
733
734
|
lusid/models/reference_portfolio_constituent_request.py,sha256=uL6c9CWtqWj0Kj5ofcZIHGoL0Dz99OTxzinTYt-eQrM,3548
|
|
734
735
|
lusid/models/reference_portfolio_weight_type.py,sha256=5rggGu_sCoc_lRpGyQRMA10l3KFix-rak7v2YdMOqWo,759
|
|
@@ -854,7 +855,7 @@ lusid/models/stock_split_event.py,sha256=XmclBAd6_AkG3gh-gZn7WqJCWN2KgNoOzuyRVsL
|
|
|
854
855
|
lusid/models/stream.py,sha256=TGFloyewF3hi9RLyg0K3z13zxgvqAlHt46_AJuP9l7E,2865
|
|
855
856
|
lusid/models/string_comparison_type.py,sha256=4_CrV7WlDTrgAR866IyYXJZyVUXSNHBn7YrRdyiWKj0,799
|
|
856
857
|
lusid/models/string_compliance_parameter.py,sha256=0S7zWDfc9GQdOch-sO_aSLHvkRLqInJjh9hCwCLazow,5100
|
|
857
|
-
lusid/models/string_list.py,sha256=
|
|
858
|
+
lusid/models/string_list.py,sha256=Xl8PYRRoB3DPvtKZGfjpWrbiVzgR8m96iRc54p_XyyU,3243
|
|
858
859
|
lusid/models/string_list_compliance_parameter.py,sha256=2e1qWoetKQNkyh4YUY4ACqiG3bKd1AAXSI9cG0wcpXA,5370
|
|
859
860
|
lusid/models/structured_result_data.py,sha256=54I81CqBkq875kkEX3-gjGf2k9t23D62eCzefY-sek4,3744
|
|
860
861
|
lusid/models/structured_result_data_id.py,sha256=R15RxvxzgMy9R4zW0Ya1fSaYpMsXSijMDXiKTzGPAoM,4411
|
|
@@ -1013,6 +1014,6 @@ lusid/models/weighted_instruments.py,sha256=1y_y_vw4-LPsbkQx4FOzWdZc5fJnzhVkf1D3
|
|
|
1013
1014
|
lusid/models/yield_curve_data.py,sha256=SbxvdJ4-GWK9kpMdw4Fnxc7_kvIMwgsRsd_31UJn7nw,6330
|
|
1014
1015
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1015
1016
|
lusid/rest.py,sha256=TNUzQ3yLNT2L053EdR7R0vNzQh2J3TlYD1T56Dye0W0,10138
|
|
1016
|
-
lusid_sdk-2.1.
|
|
1017
|
-
lusid_sdk-2.1.
|
|
1018
|
-
lusid_sdk-2.1.
|
|
1017
|
+
lusid_sdk-2.1.7.dist-info/METADATA,sha256=yC6JKqp9SD1IXmfWRSL2cMzD7tuNXgwDjR5Dn8zsSqE,179682
|
|
1018
|
+
lusid_sdk-2.1.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
1019
|
+
lusid_sdk-2.1.7.dist-info/RECORD,,
|
|
File without changes
|