lusid-sdk 2.1.401__py3-none-any.whl → 2.1.423__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/__init__.py +44 -12
- lusid/api/__init__.py +2 -2
- lusid/api/abor_api.py +8 -16
- lusid/api/allocations_api.py +2 -2
- lusid/api/chart_of_accounts_api.py +174 -0
- lusid/api/custom_entities_api.py +2 -2
- lusid/api/entities_api.py +180 -0
- lusid/api/{fund_configurations_api.py → fund_configuration_entities_api.py} +1 -1
- lusid/api/group_reconciliations_api.py +1418 -27
- lusid/api/instruments_api.py +6 -6
- lusid/api/legal_entities_api.py +4 -4
- lusid/api/order_graph_api.py +4 -4
- lusid/api/order_management_api.py +25 -12
- lusid/api/persons_api.py +4 -4
- lusid/api/portfolios_api.py +27 -30
- lusid/api/reference_lists_api.py +2 -2
- lusid/api/reference_portfolio_api.py +176 -0
- lusid/api/transaction_portfolios_api.py +2 -2
- lusid/configuration.py +1 -1
- lusid/models/__init__.py +42 -10
- lusid/models/access_metadata_value.py +1 -1
- lusid/models/address_key_list.py +3 -3
- lusid/models/amount.py +69 -0
- lusid/models/batch_upsert_portfolio_access_metadata_request.py +27 -17
- lusid/models/batch_upsert_portfolio_access_metadata_response.py +56 -16
- lusid/models/{metadata_key_value.py → batch_upsert_portfolio_access_metadata_response_item.py} +15 -9
- lusid/models/{component_rule.py → break_code_source.py} +17 -21
- lusid/models/change_interval_with_order_management_detail.py +137 -0
- lusid/models/create_group_reconciliation_definition_request.py +113 -0
- lusid/models/custom_entity_entity.py +146 -0
- lusid/models/decimal_list.py +3 -3
- lusid/models/diary_entry_request.py +10 -1
- lusid/models/fixed_schedule.py +3 -3
- lusid/models/float_schedule.py +4 -4
- lusid/models/flow_conventions.py +7 -1
- lusid/models/fund_configuration.py +44 -17
- lusid/models/fund_configuration_request.py +31 -19
- lusid/models/fund_id_list.py +99 -0
- lusid/models/group_reconciliation_aggregate_attribute_rule.py +2 -2
- lusid/models/group_reconciliation_aggregate_comparison_rule_operand.py +1 -1
- lusid/models/group_reconciliation_core_comparison_rule_operand.py +1 -1
- lusid/models/group_reconciliation_definition.py +136 -0
- lusid/models/group_reconciliation_definition_comparison_ruleset_ids.py +83 -0
- lusid/models/group_reconciliation_definition_currencies.py +71 -0
- lusid/models/group_reconciliation_definition_portfolio_entity_ids.py +86 -0
- lusid/models/group_reconciliation_definition_recipe_ids.py +78 -0
- lusid/models/instrument.py +7 -1
- lusid/models/instrument_definition.py +8 -2
- lusid/models/instrument_list.py +3 -3
- lusid/models/market_data_key_rule.py +5 -3
- lusid/models/market_data_specific_rule.py +5 -3
- lusid/models/merger_event.py +19 -19
- lusid/models/output_transaction.py +9 -2
- lusid/models/paged_resource_list_of_group_reconciliation_comparison_ruleset.py +113 -0
- lusid/models/paged_resource_list_of_group_reconciliation_definition.py +113 -0
- lusid/models/portfolio_group_id_list.py +3 -3
- lusid/models/portfolio_id_list.py +3 -3
- lusid/models/property_list.py +3 -3
- lusid/models/reference_list.py +6 -5
- lusid/models/reference_list_type.py +1 -0
- lusid/models/{resource_list_of_entity_change_item.py → resource_list_of_change_interval_with_order_management_detail.py} +11 -11
- lusid/models/settlement_cycle.py +79 -0
- lusid/models/share_class_dealing_breakdown.py +3 -2
- lusid/models/stock_dividend_event.py +17 -3
- lusid/models/string_list.py +3 -3
- lusid/models/transaction.py +9 -2
- lusid/models/transaction_date_windows.py +85 -0
- lusid/models/transaction_request.py +9 -2
- lusid/models/update_group_reconciliation_comparison_ruleset_request.py +91 -0
- lusid/models/update_group_reconciliation_definition_request.py +107 -0
- lusid/models/upsert_reference_portfolio_constituent_properties_request.py +84 -0
- lusid/models/upsert_reference_portfolio_constituent_properties_response.py +115 -0
- {lusid_sdk-2.1.401.dist-info → lusid_sdk-2.1.423.dist-info}/METADATA +54 -27
- {lusid_sdk-2.1.401.dist-info → lusid_sdk-2.1.423.dist-info}/RECORD +75 -59
- lusid/models/entity_change_item.py +0 -121
- lusid/models/metadata_key_value_response.py +0 -86
- {lusid_sdk-2.1.401.dist-info → lusid_sdk-2.1.423.dist-info}/WHEEL +0 -0
@@ -1,86 +0,0 @@
|
|
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 BaseModel, Field, conlist
|
23
|
-
from lusid.models.access_metadata_value import AccessMetadataValue
|
24
|
-
|
25
|
-
class MetadataKeyValueResponse(BaseModel):
|
26
|
-
"""
|
27
|
-
MetadataKeyValueResponse
|
28
|
-
"""
|
29
|
-
metadata: Dict[str, conlist(AccessMetadataValue)] = Field(...)
|
30
|
-
__properties = ["metadata"]
|
31
|
-
|
32
|
-
class Config:
|
33
|
-
"""Pydantic configuration"""
|
34
|
-
allow_population_by_field_name = True
|
35
|
-
validate_assignment = True
|
36
|
-
|
37
|
-
def to_str(self) -> str:
|
38
|
-
"""Returns the string representation of the model using alias"""
|
39
|
-
return pprint.pformat(self.dict(by_alias=True))
|
40
|
-
|
41
|
-
def to_json(self) -> str:
|
42
|
-
"""Returns the JSON representation of the model using alias"""
|
43
|
-
return json.dumps(self.to_dict())
|
44
|
-
|
45
|
-
@classmethod
|
46
|
-
def from_json(cls, json_str: str) -> MetadataKeyValueResponse:
|
47
|
-
"""Create an instance of MetadataKeyValueResponse from a JSON string"""
|
48
|
-
return cls.from_dict(json.loads(json_str))
|
49
|
-
|
50
|
-
def to_dict(self):
|
51
|
-
"""Returns the dictionary representation of the model using alias"""
|
52
|
-
_dict = self.dict(by_alias=True,
|
53
|
-
exclude={
|
54
|
-
},
|
55
|
-
exclude_none=True)
|
56
|
-
# override the default output from pydantic by calling `to_dict()` of each value in metadata (dict of array)
|
57
|
-
_field_dict_of_array = {}
|
58
|
-
if self.metadata:
|
59
|
-
for _key in self.metadata:
|
60
|
-
if self.metadata[_key]:
|
61
|
-
_field_dict_of_array[_key] = [
|
62
|
-
_item.to_dict() for _item in self.metadata[_key]
|
63
|
-
]
|
64
|
-
_dict['metadata'] = _field_dict_of_array
|
65
|
-
return _dict
|
66
|
-
|
67
|
-
@classmethod
|
68
|
-
def from_dict(cls, obj: dict) -> MetadataKeyValueResponse:
|
69
|
-
"""Create an instance of MetadataKeyValueResponse from a dict"""
|
70
|
-
if obj is None:
|
71
|
-
return None
|
72
|
-
|
73
|
-
if not isinstance(obj, dict):
|
74
|
-
return MetadataKeyValueResponse.parse_obj(obj)
|
75
|
-
|
76
|
-
_obj = MetadataKeyValueResponse.parse_obj({
|
77
|
-
"metadata": dict(
|
78
|
-
(_k,
|
79
|
-
[AccessMetadataValue.from_dict(_item) for _item in _v]
|
80
|
-
if _v is not None
|
81
|
-
else None
|
82
|
-
)
|
83
|
-
for _k, _v in obj.get("metadata").items()
|
84
|
-
)
|
85
|
-
})
|
86
|
-
return _obj
|
File without changes
|