lusid-sdk 2.1.577__py3-none-any.whl → 2.1.579__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 +2 -2
- lusid/configuration.py +1 -1
- lusid/models/__init__.py +2 -2
- lusid/models/aggregate_spec.py +3 -3
- lusid/models/aggregation_op.py +1 -0
- lusid/models/order_graph_block_order_detail.py +4 -19
- lusid/models/transaction.py +8 -2
- lusid/models/transaction_type_details.py +88 -0
- {lusid_sdk-2.1.577.dist-info → lusid_sdk-2.1.579.dist-info}/METADATA +2 -2
- {lusid_sdk-2.1.577.dist-info → lusid_sdk-2.1.579.dist-info}/RECORD +11 -11
- lusid/models/contribution_to_non_passing_rule_detail.py +0 -89
- {lusid_sdk-2.1.577.dist-info → lusid_sdk-2.1.579.dist-info}/WHEEL +0 -0
lusid/__init__.py
CHANGED
@@ -290,7 +290,6 @@ from lusid.models.configuration_recipe import ConfigurationRecipe
|
|
290
290
|
from lusid.models.constant_volatility_surface import ConstantVolatilitySurface
|
291
291
|
from lusid.models.constituents_adjustment_header import ConstituentsAdjustmentHeader
|
292
292
|
from lusid.models.contract_for_difference import ContractForDifference
|
293
|
-
from lusid.models.contribution_to_non_passing_rule_detail import ContributionToNonPassingRuleDetail
|
294
293
|
from lusid.models.corporate_action import CorporateAction
|
295
294
|
from lusid.models.corporate_action_source import CorporateActionSource
|
296
295
|
from lusid.models.corporate_action_transition import CorporateActionTransition
|
@@ -1103,6 +1102,7 @@ from lusid.models.transaction_template_specification import TransactionTemplateS
|
|
1103
1102
|
from lusid.models.transaction_type import TransactionType
|
1104
1103
|
from lusid.models.transaction_type_alias import TransactionTypeAlias
|
1105
1104
|
from lusid.models.transaction_type_calculation import TransactionTypeCalculation
|
1105
|
+
from lusid.models.transaction_type_details import TransactionTypeDetails
|
1106
1106
|
from lusid.models.transaction_type_movement import TransactionTypeMovement
|
1107
1107
|
from lusid.models.transaction_type_property_mapping import TransactionTypePropertyMapping
|
1108
1108
|
from lusid.models.transaction_type_request import TransactionTypeRequest
|
@@ -1512,7 +1512,6 @@ __all__ = [
|
|
1512
1512
|
"ConstantVolatilitySurface",
|
1513
1513
|
"ConstituentsAdjustmentHeader",
|
1514
1514
|
"ContractForDifference",
|
1515
|
-
"ContributionToNonPassingRuleDetail",
|
1516
1515
|
"CorporateAction",
|
1517
1516
|
"CorporateActionSource",
|
1518
1517
|
"CorporateActionTransition",
|
@@ -2325,6 +2324,7 @@ __all__ = [
|
|
2325
2324
|
"TransactionType",
|
2326
2325
|
"TransactionTypeAlias",
|
2327
2326
|
"TransactionTypeCalculation",
|
2327
|
+
"TransactionTypeDetails",
|
2328
2328
|
"TransactionTypeMovement",
|
2329
2329
|
"TransactionTypePropertyMapping",
|
2330
2330
|
"TransactionTypeRequest",
|
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.7041\n"\
|
449
449
|
"SDK Package Version: {package_version}".\
|
450
450
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
451
451
|
|
lusid/models/__init__.py
CHANGED
@@ -209,7 +209,6 @@ from lusid.models.configuration_recipe import ConfigurationRecipe
|
|
209
209
|
from lusid.models.constant_volatility_surface import ConstantVolatilitySurface
|
210
210
|
from lusid.models.constituents_adjustment_header import ConstituentsAdjustmentHeader
|
211
211
|
from lusid.models.contract_for_difference import ContractForDifference
|
212
|
-
from lusid.models.contribution_to_non_passing_rule_detail import ContributionToNonPassingRuleDetail
|
213
212
|
from lusid.models.corporate_action import CorporateAction
|
214
213
|
from lusid.models.corporate_action_source import CorporateActionSource
|
215
214
|
from lusid.models.corporate_action_transition import CorporateActionTransition
|
@@ -1022,6 +1021,7 @@ from lusid.models.transaction_template_specification import TransactionTemplateS
|
|
1022
1021
|
from lusid.models.transaction_type import TransactionType
|
1023
1022
|
from lusid.models.transaction_type_alias import TransactionTypeAlias
|
1024
1023
|
from lusid.models.transaction_type_calculation import TransactionTypeCalculation
|
1024
|
+
from lusid.models.transaction_type_details import TransactionTypeDetails
|
1025
1025
|
from lusid.models.transaction_type_movement import TransactionTypeMovement
|
1026
1026
|
from lusid.models.transaction_type_property_mapping import TransactionTypePropertyMapping
|
1027
1027
|
from lusid.models.transaction_type_request import TransactionTypeRequest
|
@@ -1351,7 +1351,6 @@ __all__ = [
|
|
1351
1351
|
"ConstantVolatilitySurface",
|
1352
1352
|
"ConstituentsAdjustmentHeader",
|
1353
1353
|
"ContractForDifference",
|
1354
|
-
"ContributionToNonPassingRuleDetail",
|
1355
1354
|
"CorporateAction",
|
1356
1355
|
"CorporateActionSource",
|
1357
1356
|
"CorporateActionTransition",
|
@@ -2164,6 +2163,7 @@ __all__ = [
|
|
2164
2163
|
"TransactionType",
|
2165
2164
|
"TransactionTypeAlias",
|
2166
2165
|
"TransactionTypeCalculation",
|
2166
|
+
"TransactionTypeDetails",
|
2167
2167
|
"TransactionTypeMovement",
|
2168
2168
|
"TransactionTypePropertyMapping",
|
2169
2169
|
"TransactionTypeRequest",
|
lusid/models/aggregate_spec.py
CHANGED
@@ -26,15 +26,15 @@ class AggregateSpec(BaseModel):
|
|
26
26
|
AggregateSpec
|
27
27
|
"""
|
28
28
|
key: StrictStr = Field(..., description="The key that uniquely identifies a queryable address in Lusid.")
|
29
|
-
op: StrictStr = Field(..., description="The available values are: Sum, Proportion, Average, Count, Min, Max, Value, SumOfPositiveValues, SumOfNegativeValues, SumOfAbsoluteValues, ProportionOfAbsoluteValues, SumCumulativeInAdvance, SumCumulativeInArrears")
|
29
|
+
op: StrictStr = Field(..., description="The available values are: Sum, DefaultSum, Proportion, Average, Count, Min, Max, Value, SumOfPositiveValues, SumOfNegativeValues, SumOfAbsoluteValues, ProportionOfAbsoluteValues, SumCumulativeInAdvance, SumCumulativeInArrears")
|
30
30
|
options: Optional[Dict[str, Dict[str, Any]]] = Field(None, description="Additional options to apply when performing computations. Options that do not apply to the Key will be ignored. Option values can be boolean, numeric, string or date-time.")
|
31
31
|
__properties = ["key", "op", "options"]
|
32
32
|
|
33
33
|
@validator('op')
|
34
34
|
def op_validate_enum(cls, value):
|
35
35
|
"""Validates the enum"""
|
36
|
-
if value not in ('Sum', 'Proportion', 'Average', 'Count', 'Min', 'Max', 'Value', 'SumOfPositiveValues', 'SumOfNegativeValues', 'SumOfAbsoluteValues', 'ProportionOfAbsoluteValues', 'SumCumulativeInAdvance', 'SumCumulativeInArrears'):
|
37
|
-
raise ValueError("must be one of enum values ('Sum', 'Proportion', 'Average', 'Count', 'Min', 'Max', 'Value', 'SumOfPositiveValues', 'SumOfNegativeValues', 'SumOfAbsoluteValues', 'ProportionOfAbsoluteValues', 'SumCumulativeInAdvance', 'SumCumulativeInArrears')")
|
36
|
+
if value not in ('Sum', 'DefaultSum', 'Proportion', 'Average', 'Count', 'Min', 'Max', 'Value', 'SumOfPositiveValues', 'SumOfNegativeValues', 'SumOfAbsoluteValues', 'ProportionOfAbsoluteValues', 'SumCumulativeInAdvance', 'SumCumulativeInArrears'):
|
37
|
+
raise ValueError("must be one of enum values ('Sum', 'DefaultSum', 'Proportion', 'Average', 'Count', 'Min', 'Max', 'Value', 'SumOfPositiveValues', 'SumOfNegativeValues', 'SumOfAbsoluteValues', 'ProportionOfAbsoluteValues', 'SumCumulativeInAdvance', 'SumCumulativeInArrears')")
|
38
38
|
return value
|
39
39
|
|
40
40
|
class Config:
|
lusid/models/aggregation_op.py
CHANGED
@@ -18,9 +18,8 @@ import re # noqa: F401
|
|
18
18
|
import json
|
19
19
|
|
20
20
|
|
21
|
-
from typing import Any, Dict,
|
22
|
-
from pydantic.v1 import BaseModel, Field, StrictStr,
|
23
|
-
from lusid.models.contribution_to_non_passing_rule_detail import ContributionToNonPassingRuleDetail
|
21
|
+
from typing import Any, Dict, Optional
|
22
|
+
from pydantic.v1 import BaseModel, Field, StrictStr, constr
|
24
23
|
from lusid.models.resource_id import ResourceId
|
25
24
|
|
26
25
|
class OrderGraphBlockOrderDetail(BaseModel):
|
@@ -34,8 +33,7 @@ class OrderGraphBlockOrderDetail(BaseModel):
|
|
34
33
|
portfolio_name: Optional[StrictStr] = Field(None, alias="portfolioName", description="The name of the order's referenced Portfolio.")
|
35
34
|
order_approval_task_id: Optional[StrictStr] = Field(None, alias="orderApprovalTaskId", description="The task id associated with the approval state of the order.")
|
36
35
|
order_approval_task_definition_id: Optional[ResourceId] = Field(None, alias="orderApprovalTaskDefinitionId")
|
37
|
-
|
38
|
-
__properties = ["id", "complianceState", "approvalState", "portfolioId", "portfolioName", "orderApprovalTaskId", "orderApprovalTaskDefinitionId", "nonPassingComplianceRuleResults"]
|
36
|
+
__properties = ["id", "complianceState", "approvalState", "portfolioId", "portfolioName", "orderApprovalTaskId", "orderApprovalTaskDefinitionId"]
|
39
37
|
|
40
38
|
class Config:
|
41
39
|
"""Pydantic configuration"""
|
@@ -70,13 +68,6 @@ class OrderGraphBlockOrderDetail(BaseModel):
|
|
70
68
|
# override the default output from pydantic by calling `to_dict()` of order_approval_task_definition_id
|
71
69
|
if self.order_approval_task_definition_id:
|
72
70
|
_dict['orderApprovalTaskDefinitionId'] = self.order_approval_task_definition_id.to_dict()
|
73
|
-
# override the default output from pydantic by calling `to_dict()` of each item in non_passing_compliance_rule_results (list)
|
74
|
-
_items = []
|
75
|
-
if self.non_passing_compliance_rule_results:
|
76
|
-
for _item in self.non_passing_compliance_rule_results:
|
77
|
-
if _item:
|
78
|
-
_items.append(_item.to_dict())
|
79
|
-
_dict['nonPassingComplianceRuleResults'] = _items
|
80
71
|
# set to None if portfolio_name (nullable) is None
|
81
72
|
# and __fields_set__ contains the field
|
82
73
|
if self.portfolio_name is None and "portfolio_name" in self.__fields_set__:
|
@@ -87,11 +78,6 @@ class OrderGraphBlockOrderDetail(BaseModel):
|
|
87
78
|
if self.order_approval_task_id is None and "order_approval_task_id" in self.__fields_set__:
|
88
79
|
_dict['orderApprovalTaskId'] = None
|
89
80
|
|
90
|
-
# set to None if non_passing_compliance_rule_results (nullable) is None
|
91
|
-
# and __fields_set__ contains the field
|
92
|
-
if self.non_passing_compliance_rule_results is None and "non_passing_compliance_rule_results" in self.__fields_set__:
|
93
|
-
_dict['nonPassingComplianceRuleResults'] = None
|
94
|
-
|
95
81
|
return _dict
|
96
82
|
|
97
83
|
@classmethod
|
@@ -110,7 +96,6 @@ class OrderGraphBlockOrderDetail(BaseModel):
|
|
110
96
|
"portfolio_id": ResourceId.from_dict(obj.get("portfolioId")) if obj.get("portfolioId") is not None else None,
|
111
97
|
"portfolio_name": obj.get("portfolioName"),
|
112
98
|
"order_approval_task_id": obj.get("orderApprovalTaskId"),
|
113
|
-
"order_approval_task_definition_id": ResourceId.from_dict(obj.get("orderApprovalTaskDefinitionId")) if obj.get("orderApprovalTaskDefinitionId") is not None else None
|
114
|
-
"non_passing_compliance_rule_results": [ContributionToNonPassingRuleDetail.from_dict(_item) for _item in obj.get("nonPassingComplianceRuleResults")] if obj.get("nonPassingComplianceRuleResults") is not None else None
|
99
|
+
"order_approval_task_definition_id": ResourceId.from_dict(obj.get("orderApprovalTaskDefinitionId")) if obj.get("orderApprovalTaskDefinitionId") is not None else None
|
115
100
|
})
|
116
101
|
return _obj
|
lusid/models/transaction.py
CHANGED
@@ -27,6 +27,7 @@ from lusid.models.perpetual_property import PerpetualProperty
|
|
27
27
|
from lusid.models.resource_id import ResourceId
|
28
28
|
from lusid.models.strategy import Strategy
|
29
29
|
from lusid.models.transaction_price import TransactionPrice
|
30
|
+
from lusid.models.transaction_type_details import TransactionTypeDetails
|
30
31
|
|
31
32
|
class Transaction(BaseModel):
|
32
33
|
"""
|
@@ -56,7 +57,8 @@ class Transaction(BaseModel):
|
|
56
57
|
custodian_account: Optional[CustodianAccount] = Field(None, alias="custodianAccount")
|
57
58
|
transaction_group_id: Optional[StrictStr] = Field(None, alias="transactionGroupId", description="The identifier for grouping economic events across multiple transactions")
|
58
59
|
strategy_tag: Optional[conlist(Strategy)] = Field(None, alias="strategyTag", description="A list of strategies representing the allocation of units across multiple sub-holding keys")
|
59
|
-
|
60
|
+
resolved_transaction_type_details: Optional[TransactionTypeDetails] = Field(None, alias="resolvedTransactionTypeDetails")
|
61
|
+
__properties = ["transactionId", "type", "instrumentIdentifiers", "instrumentScope", "instrumentUid", "transactionDate", "settlementDate", "units", "transactionPrice", "totalConsideration", "exchangeRate", "transactionCurrency", "properties", "counterpartyId", "source", "entryDateTime", "otcConfirmation", "transactionStatus", "cancelDateTime", "orderId", "allocationId", "custodianAccount", "transactionGroupId", "strategyTag", "resolvedTransactionTypeDetails"]
|
60
62
|
|
61
63
|
@validator('transaction_status')
|
62
64
|
def transaction_status_validate_enum(cls, value):
|
@@ -124,6 +126,9 @@ class Transaction(BaseModel):
|
|
124
126
|
if _item:
|
125
127
|
_items.append(_item.to_dict())
|
126
128
|
_dict['strategyTag'] = _items
|
129
|
+
# override the default output from pydantic by calling `to_dict()` of resolved_transaction_type_details
|
130
|
+
if self.resolved_transaction_type_details:
|
131
|
+
_dict['resolvedTransactionTypeDetails'] = self.resolved_transaction_type_details.to_dict()
|
127
132
|
# set to None if instrument_identifiers (nullable) is None
|
128
133
|
# and __fields_set__ contains the field
|
129
134
|
if self.instrument_identifiers is None and "instrument_identifiers" in self.__fields_set__:
|
@@ -214,6 +219,7 @@ class Transaction(BaseModel):
|
|
214
219
|
"allocation_id": ResourceId.from_dict(obj.get("allocationId")) if obj.get("allocationId") is not None else None,
|
215
220
|
"custodian_account": CustodianAccount.from_dict(obj.get("custodianAccount")) if obj.get("custodianAccount") is not None else None,
|
216
221
|
"transaction_group_id": obj.get("transactionGroupId"),
|
217
|
-
"strategy_tag": [Strategy.from_dict(_item) for _item in obj.get("strategyTag")] if obj.get("strategyTag") is not None else None
|
222
|
+
"strategy_tag": [Strategy.from_dict(_item) for _item in obj.get("strategyTag")] if obj.get("strategyTag") is not None else None,
|
223
|
+
"resolved_transaction_type_details": TransactionTypeDetails.from_dict(obj.get("resolvedTransactionTypeDetails")) if obj.get("resolvedTransactionTypeDetails") is not None else None
|
218
224
|
})
|
219
225
|
return _obj
|
@@ -0,0 +1,88 @@
|
|
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, Optional
|
22
|
+
from pydantic.v1 import BaseModel, Field, StrictStr
|
23
|
+
|
24
|
+
class TransactionTypeDetails(BaseModel):
|
25
|
+
"""
|
26
|
+
TransactionTypeDetails
|
27
|
+
"""
|
28
|
+
scope: Optional[StrictStr] = Field(None, description="The scope in which the TransactionType was resolved. If the portfolio has a TransactionTypeScope, this will have been used. Otherwise the default scope will have been used.")
|
29
|
+
source: Optional[StrictStr] = Field(None, description="The source in which the TransactionType was resolved.")
|
30
|
+
type: Optional[StrictStr] = Field(None, description="The resolved TransactionType. More information on TransactionType resolution can be found at https://support.lusid.com/docs/how-does-lusid-resolve-transactions-to-transaction-types")
|
31
|
+
__properties = ["scope", "source", "type"]
|
32
|
+
|
33
|
+
class Config:
|
34
|
+
"""Pydantic configuration"""
|
35
|
+
allow_population_by_field_name = True
|
36
|
+
validate_assignment = True
|
37
|
+
|
38
|
+
def to_str(self) -> str:
|
39
|
+
"""Returns the string representation of the model using alias"""
|
40
|
+
return pprint.pformat(self.dict(by_alias=True))
|
41
|
+
|
42
|
+
def to_json(self) -> str:
|
43
|
+
"""Returns the JSON representation of the model using alias"""
|
44
|
+
return json.dumps(self.to_dict())
|
45
|
+
|
46
|
+
@classmethod
|
47
|
+
def from_json(cls, json_str: str) -> TransactionTypeDetails:
|
48
|
+
"""Create an instance of TransactionTypeDetails from a JSON string"""
|
49
|
+
return cls.from_dict(json.loads(json_str))
|
50
|
+
|
51
|
+
def to_dict(self):
|
52
|
+
"""Returns the dictionary representation of the model using alias"""
|
53
|
+
_dict = self.dict(by_alias=True,
|
54
|
+
exclude={
|
55
|
+
},
|
56
|
+
exclude_none=True)
|
57
|
+
# set to None if scope (nullable) is None
|
58
|
+
# and __fields_set__ contains the field
|
59
|
+
if self.scope is None and "scope" in self.__fields_set__:
|
60
|
+
_dict['scope'] = None
|
61
|
+
|
62
|
+
# set to None if source (nullable) is None
|
63
|
+
# and __fields_set__ contains the field
|
64
|
+
if self.source is None and "source" in self.__fields_set__:
|
65
|
+
_dict['source'] = None
|
66
|
+
|
67
|
+
# set to None if type (nullable) is None
|
68
|
+
# and __fields_set__ contains the field
|
69
|
+
if self.type is None and "type" in self.__fields_set__:
|
70
|
+
_dict['type'] = None
|
71
|
+
|
72
|
+
return _dict
|
73
|
+
|
74
|
+
@classmethod
|
75
|
+
def from_dict(cls, obj: dict) -> TransactionTypeDetails:
|
76
|
+
"""Create an instance of TransactionTypeDetails from a dict"""
|
77
|
+
if obj is None:
|
78
|
+
return None
|
79
|
+
|
80
|
+
if not isinstance(obj, dict):
|
81
|
+
return TransactionTypeDetails.parse_obj(obj)
|
82
|
+
|
83
|
+
_obj = TransactionTypeDetails.parse_obj({
|
84
|
+
"scope": obj.get("scope"),
|
85
|
+
"source": obj.get("source"),
|
86
|
+
"type": obj.get("type")
|
87
|
+
})
|
88
|
+
return _obj
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: lusid-sdk
|
3
|
-
Version: 2.1.
|
3
|
+
Version: 2.1.579
|
4
4
|
Summary: LUSID API
|
5
5
|
Home-page: https://github.com/finbourne/lusid-sdk-python
|
6
6
|
License: MIT
|
@@ -823,7 +823,6 @@ Class | Method | HTTP request | Description
|
|
823
823
|
- [ConstantVolatilitySurface](docs/ConstantVolatilitySurface.md)
|
824
824
|
- [ConstituentsAdjustmentHeader](docs/ConstituentsAdjustmentHeader.md)
|
825
825
|
- [ContractForDifference](docs/ContractForDifference.md)
|
826
|
-
- [ContributionToNonPassingRuleDetail](docs/ContributionToNonPassingRuleDetail.md)
|
827
826
|
- [CorporateAction](docs/CorporateAction.md)
|
828
827
|
- [CorporateActionSource](docs/CorporateActionSource.md)
|
829
828
|
- [CorporateActionTransition](docs/CorporateActionTransition.md)
|
@@ -1636,6 +1635,7 @@ Class | Method | HTTP request | Description
|
|
1636
1635
|
- [TransactionType](docs/TransactionType.md)
|
1637
1636
|
- [TransactionTypeAlias](docs/TransactionTypeAlias.md)
|
1638
1637
|
- [TransactionTypeCalculation](docs/TransactionTypeCalculation.md)
|
1638
|
+
- [TransactionTypeDetails](docs/TransactionTypeDetails.md)
|
1639
1639
|
- [TransactionTypeMovement](docs/TransactionTypeMovement.md)
|
1640
1640
|
- [TransactionTypePropertyMapping](docs/TransactionTypePropertyMapping.md)
|
1641
1641
|
- [TransactionTypeRequest](docs/TransactionTypeRequest.md)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
lusid/__init__.py,sha256=
|
1
|
+
lusid/__init__.py,sha256=JE2nxkgI5nZZNRt1wdc9VwV5ZY0yYfaIUBc64wGPrjU,128276
|
2
2
|
lusid/api/__init__.py,sha256=6h2et93uMZgjdpV3C3_ITp_VbSBlwYu5BtqZ2puZPoI,5821
|
3
3
|
lusid/api/abor_api.py,sha256=CC0f6Aqqiqkgmpguvoqe8teU0bRRuc771AdUSyI4rJw,158222
|
4
4
|
lusid/api/abor_configuration_api.py,sha256=TmssMn5ni0mZV1q7LyPXYhBqqUGJqLYZapo8By8DFuI,63875
|
@@ -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=
|
73
|
+
lusid/configuration.py,sha256=TTjeOqEST881nshGKhZDPX2Opa8TKl6ae9lNK6lSd14,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
|
@@ -85,7 +85,7 @@ lusid/extensions/rest.py,sha256=dp-bD_LMR2zAL1tmC3-urhWKLomXx7r5iGN1VteMBVQ,1601
|
|
85
85
|
lusid/extensions/retry.py,sha256=EhW9OKJmGHipxN3H7eROH5DiMlAnfBVl95NQrttcsdg,14834
|
86
86
|
lusid/extensions/socket_keep_alive.py,sha256=NGlqsv-E25IjJOLGZhXZY6kUdx51nEF8qCQyVdzayRk,1653
|
87
87
|
lusid/extensions/tcp_keep_alive_connector.py,sha256=zaGtUsygRsxB1_4B3x39K3ILwztdhMLDv5bFZV7zmGE,3877
|
88
|
-
lusid/models/__init__.py,sha256=
|
88
|
+
lusid/models/__init__.py,sha256=DLRBrdWMt_4Kz83YFo_BM6FVwz82wuEccGyTkmdFzoA,121423
|
89
89
|
lusid/models/a2_b_breakdown.py,sha256=Txi12EIQw3mH6NM-25QkOnHSQc3BVAWrP7yl9bZswSY,2947
|
90
90
|
lusid/models/a2_b_category.py,sha256=k6NPAACi0CUjKyhdQac4obQSrPmp2PXD6lkAtCnyEFM,2725
|
91
91
|
lusid/models/a2_b_data_record.py,sha256=zKGS2P4fzNpzdcGJiSIpkY4P3d_jAcawYfyuPCDeQgk,9737
|
@@ -120,7 +120,7 @@ lusid/models/address_key_option_definition.py,sha256=T2Zj9-KQJhDubLPIIK2pnaM5UDZ
|
|
120
120
|
lusid/models/adjust_holding.py,sha256=K0FDmwFy3NTJ8HicVCJGA1Mqrbri77d1IGA_hk0ejLY,4387
|
121
121
|
lusid/models/adjust_holding_for_date_request.py,sha256=AXXiwgzNLTbOnieETMglVFHzBKYvIcsT9NK5PpIVdfI,5986
|
122
122
|
lusid/models/adjust_holding_request.py,sha256=_dhEk23kdt2PtaepgoxuBNAB7wyrcJxHzaLhy-lVQQQ,5697
|
123
|
-
lusid/models/aggregate_spec.py,sha256=
|
123
|
+
lusid/models/aggregate_spec.py,sha256=jevCtRTdbi_pydAt_Dc33oRysTgksAJ3Fn8Sk5m9xtE,3374
|
124
124
|
lusid/models/aggregated_return.py,sha256=idRVdbx--3wj4dfECDZREH_xCNXW8IBoFg_HvrJy9ac,5953
|
125
125
|
lusid/models/aggregated_returns_dispersion_request.py,sha256=7xKtIUa_P-jS3oOpbbgwXL0gzHK0pErqtBzxyTjnqW0,5496
|
126
126
|
lusid/models/aggregated_returns_request.py,sha256=URBqwgZK3tkyqOe5Qo-2VP7xwSupy64b0kIeXNaN0Hk,7601
|
@@ -128,7 +128,7 @@ lusid/models/aggregated_returns_response.py,sha256=E-0Y3t7Jud_j_S0X0w2tU6ET7ozUC
|
|
128
128
|
lusid/models/aggregated_transactions_request.py,sha256=PlWTr52XndGTErcD4FfM-Ouu-o3mFvk7jXQz805reLo,5341
|
129
129
|
lusid/models/aggregation_context.py,sha256=IdA9lRVE26VSSQC0qw6Klakz2sS1tQqghyBUq9cunzk,2583
|
130
130
|
lusid/models/aggregation_measure_failure_detail.py,sha256=CM6vzqNogMIVltcphUTx_-rG-I3OlC702SI0ks6G61w,3190
|
131
|
-
lusid/models/aggregation_op.py,sha256=
|
131
|
+
lusid/models/aggregation_op.py,sha256=F2n9Nqc-qwyf5W7Fg58FIHf2JJmGuAIfpYsEL2BxqgU,1092
|
132
132
|
lusid/models/aggregation_options.py,sha256=rEn-7En3urOehoVMVnMrS9cxN4ZvihTHFT98YjOrjH0,3128
|
133
133
|
lusid/models/aggregation_query.py,sha256=epqhWBB8ksJhUbsjT6PkSY_xRlkX9gHSRcIQaG5PKRY,8326
|
134
134
|
lusid/models/aggregation_type.py,sha256=XjHrk2_0OhQyn5RK2-LUzDIjvT_blRVYdvyFdkyxQuw,892
|
@@ -281,7 +281,6 @@ lusid/models/configuration_recipe.py,sha256=O9gOzlKxFhnnzMxZQwPEwc29wF9fPS86s771
|
|
281
281
|
lusid/models/constant_volatility_surface.py,sha256=1l4eyD78UaUsyjkX7NhPTuGUYgJY-nXzs4ZACc0dQQs,5178
|
282
282
|
lusid/models/constituents_adjustment_header.py,sha256=2wnnigKPOPttpRFJa8yzJspIhyfdLq_8_H5QLsWOQy0,3233
|
283
283
|
lusid/models/contract_for_difference.py,sha256=l5rAKgtcZRkx3E83m-qkcLr7Mmzf5MX8rRdyDu0MNq0,7393
|
284
|
-
lusid/models/contribution_to_non_passing_rule_detail.py,sha256=rhNT_zuuDBFojzGXea-tdIosXLw43rLDzPgK22ZqtCU,3556
|
285
284
|
lusid/models/corporate_action.py,sha256=L2jWWTX1qcCL4sxqJw9cp6xjjbGo1aezfHlt84TMRTg,4151
|
286
285
|
lusid/models/corporate_action_source.py,sha256=n99ggLwqEUf2ik9Z882RIYVS29IZqI2LqYlPgOBF3zQ,5011
|
287
286
|
lusid/models/corporate_action_transition.py,sha256=ZGFoyxH9IrTwlOWPzf7P81dsoRjrbUlYHwgNaeb7a_E,3508
|
@@ -677,7 +676,7 @@ lusid/models/order_graph_block_allocation_detail.py,sha256=L51Rl6sgG8R7jiwRtSYH6
|
|
677
676
|
lusid/models/order_graph_block_allocation_synopsis.py,sha256=PTlPTHowUDna144w0yNEESTbK5cZ4BWLDL_jur42Nro,2766
|
678
677
|
lusid/models/order_graph_block_execution_detail.py,sha256=IEEbVtfZFelskKbK8IbcLqw30jICItS8zhvy7rfeUmA,2170
|
679
678
|
lusid/models/order_graph_block_execution_synopsis.py,sha256=x_ljrTcK_HXqq6aqNBM-EUnsY6jTb1seZH5P-uFDcf4,2752
|
680
|
-
lusid/models/order_graph_block_order_detail.py,sha256=
|
679
|
+
lusid/models/order_graph_block_order_detail.py,sha256=JATf9welqDkvI5zRLClmOXjk5XDmt2YTSqPRPE1dmS4,4701
|
681
680
|
lusid/models/order_graph_block_order_synopsis.py,sha256=UYhXd7jsqdLKia6UclAKUYcarMQ0z9SSahWcoLu5zfs,3207
|
682
681
|
lusid/models/order_graph_block_placement_detail.py,sha256=gcm_3SH6OhYyLUz6OILwZs6cKzq4JUm0kO8Ya-YV780,2170
|
683
682
|
lusid/models/order_graph_block_placement_synopsis.py,sha256=K2BAK89iTOPXtk9Fj-AJ0KhZduFhw3eOyHDecB3lccg,3243
|
@@ -1063,7 +1062,7 @@ lusid/models/total_return_swap.py,sha256=x3RBIefY7oiI9MfIK3A2okvuAdeVEk025jp6F5g
|
|
1063
1062
|
lusid/models/touch.py,sha256=OECUpEFcCT1kPT5SJIsoNHtR8k2AhEAbDd6P86NcF4s,2726
|
1064
1063
|
lusid/models/trade_ticket.py,sha256=ONpDAdaWs3yfUqMxI7Mq0cYpX0aJkN8XH_9n9rIs5IA,2320
|
1065
1064
|
lusid/models/trade_ticket_type.py,sha256=j7f2bfiA_cxaFtjZpT3Natl4BoaGAaEXF6E0ltEzTWE,706
|
1066
|
-
lusid/models/transaction.py,sha256=
|
1065
|
+
lusid/models/transaction.py,sha256=ItU_ujzGcj7RR0br8zxrNCMXk2zO5bh5ZcriGoRdhB4,13742
|
1067
1066
|
lusid/models/transaction_configuration_data.py,sha256=BSHXnMn6TWaubn2zTxPvbRUOsRtGYb0N4sDNUcf1SaY,4318
|
1068
1067
|
lusid/models/transaction_configuration_data_request.py,sha256=mypVKRfltmkG5NEUGqDDyBYdIir3S1nkYzGL8BwHWgo,4398
|
1069
1068
|
lusid/models/transaction_configuration_movement_data.py,sha256=ofaJZQOHloSpT4Y09Sgw-JtQq3RWNwkBl-JLMGg_yYo,7418
|
@@ -1094,6 +1093,7 @@ lusid/models/transaction_template_specification.py,sha256=dggD7J8ZSUTznJddC_Sn65
|
|
1094
1093
|
lusid/models/transaction_type.py,sha256=zcWUQPVY5JKEOzNWQls7TjTiKOB7QVY8iFh1zgJXYUc,5765
|
1095
1094
|
lusid/models/transaction_type_alias.py,sha256=xL9k8kjgAcEPe5sfK8asHscvz7gLcAa6pC_eGgVvXlY,3532
|
1096
1095
|
lusid/models/transaction_type_calculation.py,sha256=Re4rt0IuLxo1hgjDz-VyIgQhVat6w7Fh-DwUF19nYYs,2846
|
1096
|
+
lusid/models/transaction_type_details.py,sha256=GC-lanMnyYR_hKlUvU4yU0-exqE6CdMw1081wPUmIj0,3131
|
1097
1097
|
lusid/models/transaction_type_movement.py,sha256=eG4MQrMi0P_ihxOcfsqPAnkYuOmwbho9xQDoAJWH2ro,8695
|
1098
1098
|
lusid/models/transaction_type_property_mapping.py,sha256=2fmP3IJH-44GXE5-jt4Fd55xQscWTrEa76yjQJIUs_4,3249
|
1099
1099
|
lusid/models/transaction_type_request.py,sha256=tuoF4_cUe0KLjF4FN_un_wGtraNfJAXoNrfudvA0zIc,5121
|
@@ -1227,6 +1227,6 @@ lusid/models/workspace_update_request.py,sha256=uUXEpX-dJ5UiL9w1wMxIFeovSBiTJ-vi
|
|
1227
1227
|
lusid/models/yield_curve_data.py,sha256=SbxvdJ4-GWK9kpMdw4Fnxc7_kvIMwgsRsd_31UJn7nw,6330
|
1228
1228
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1229
1229
|
lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
|
1230
|
-
lusid_sdk-2.1.
|
1231
|
-
lusid_sdk-2.1.
|
1232
|
-
lusid_sdk-2.1.
|
1230
|
+
lusid_sdk-2.1.579.dist-info/METADATA,sha256=Q8-PGpXDDhk5N34qdEYASf-kAWe5JMJPUa9CkkmcMLo,209148
|
1231
|
+
lusid_sdk-2.1.579.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
1232
|
+
lusid_sdk-2.1.579.dist-info/RECORD,,
|
@@ -1,89 +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, Optional
|
22
|
-
from pydantic.v1 import BaseModel, Field, StrictBool, StrictStr, conlist
|
23
|
-
from lusid.models.resource_id import ResourceId
|
24
|
-
|
25
|
-
class ContributionToNonPassingRuleDetail(BaseModel):
|
26
|
-
"""
|
27
|
-
ContributionToNonPassingRuleDetail
|
28
|
-
"""
|
29
|
-
rule_id: Optional[ResourceId] = Field(None, alias="ruleId")
|
30
|
-
rule_status: Optional[StrictStr] = Field(None, alias="ruleStatus", description="The status of the non-passing rule.")
|
31
|
-
breach_task_ids: Optional[conlist(StrictStr)] = Field(None, alias="breachTaskIds", description="The task ids associated with the compliance breach for this order's groups (if failing).")
|
32
|
-
likely_responsible_for_status: Optional[StrictBool] = Field(None, alias="likelyResponsibleForStatus", description="Whether this order is deemed as a likely contributor to the non-passing rule for this group.")
|
33
|
-
__properties = ["ruleId", "ruleStatus", "breachTaskIds", "likelyResponsibleForStatus"]
|
34
|
-
|
35
|
-
class Config:
|
36
|
-
"""Pydantic configuration"""
|
37
|
-
allow_population_by_field_name = True
|
38
|
-
validate_assignment = True
|
39
|
-
|
40
|
-
def to_str(self) -> str:
|
41
|
-
"""Returns the string representation of the model using alias"""
|
42
|
-
return pprint.pformat(self.dict(by_alias=True))
|
43
|
-
|
44
|
-
def to_json(self) -> str:
|
45
|
-
"""Returns the JSON representation of the model using alias"""
|
46
|
-
return json.dumps(self.to_dict())
|
47
|
-
|
48
|
-
@classmethod
|
49
|
-
def from_json(cls, json_str: str) -> ContributionToNonPassingRuleDetail:
|
50
|
-
"""Create an instance of ContributionToNonPassingRuleDetail from a JSON string"""
|
51
|
-
return cls.from_dict(json.loads(json_str))
|
52
|
-
|
53
|
-
def to_dict(self):
|
54
|
-
"""Returns the dictionary representation of the model using alias"""
|
55
|
-
_dict = self.dict(by_alias=True,
|
56
|
-
exclude={
|
57
|
-
},
|
58
|
-
exclude_none=True)
|
59
|
-
# override the default output from pydantic by calling `to_dict()` of rule_id
|
60
|
-
if self.rule_id:
|
61
|
-
_dict['ruleId'] = self.rule_id.to_dict()
|
62
|
-
# set to None if rule_status (nullable) is None
|
63
|
-
# and __fields_set__ contains the field
|
64
|
-
if self.rule_status is None and "rule_status" in self.__fields_set__:
|
65
|
-
_dict['ruleStatus'] = None
|
66
|
-
|
67
|
-
# set to None if breach_task_ids (nullable) is None
|
68
|
-
# and __fields_set__ contains the field
|
69
|
-
if self.breach_task_ids is None and "breach_task_ids" in self.__fields_set__:
|
70
|
-
_dict['breachTaskIds'] = None
|
71
|
-
|
72
|
-
return _dict
|
73
|
-
|
74
|
-
@classmethod
|
75
|
-
def from_dict(cls, obj: dict) -> ContributionToNonPassingRuleDetail:
|
76
|
-
"""Create an instance of ContributionToNonPassingRuleDetail from a dict"""
|
77
|
-
if obj is None:
|
78
|
-
return None
|
79
|
-
|
80
|
-
if not isinstance(obj, dict):
|
81
|
-
return ContributionToNonPassingRuleDetail.parse_obj(obj)
|
82
|
-
|
83
|
-
_obj = ContributionToNonPassingRuleDetail.parse_obj({
|
84
|
-
"rule_id": ResourceId.from_dict(obj.get("ruleId")) if obj.get("ruleId") is not None else None,
|
85
|
-
"rule_status": obj.get("ruleStatus"),
|
86
|
-
"breach_task_ids": obj.get("breachTaskIds"),
|
87
|
-
"likely_responsible_for_status": obj.get("likelyResponsibleForStatus")
|
88
|
-
})
|
89
|
-
return _obj
|
File without changes
|