lusid-sdk 2.1.158__py3-none-any.whl → 2.1.173__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/api/funds_api.py +6 -6
- lusid/configuration.py +1 -1
- lusid/models/applicable_instrument_event.py +9 -4
- lusid/models/fee.py +3 -3
- lusid/models/fee_accrual.py +4 -2
- lusid/models/fee_request.py +3 -3
- lusid/models/float_schedule.py +5 -3
- lusid/models/portfolio_properties.py +7 -1
- {lusid_sdk-2.1.158.dist-info → lusid_sdk-2.1.173.dist-info}/METADATA +3 -3
- {lusid_sdk-2.1.158.dist-info → lusid_sdk-2.1.173.dist-info}/RECORD +11 -11
- {lusid_sdk-2.1.158.dist-info → lusid_sdk-2.1.173.dist-info}/WHEEL +0 -0
lusid/api/funds_api.py
CHANGED
|
@@ -64,15 +64,15 @@ class FundsApi:
|
|
|
64
64
|
self.api_client = api_client
|
|
65
65
|
|
|
66
66
|
@overload
|
|
67
|
-
async def accept_estimate_point(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Final state.")], **kwargs) -> ValuationPointDataResponse: # noqa: E501
|
|
67
|
+
async def accept_estimate_point(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Candidate or Final state.")], **kwargs) -> ValuationPointDataResponse: # noqa: E501
|
|
68
68
|
...
|
|
69
69
|
|
|
70
70
|
@overload
|
|
71
|
-
def accept_estimate_point(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Final state.")], async_req: Optional[bool]=True, **kwargs) -> ValuationPointDataResponse: # noqa: E501
|
|
71
|
+
def accept_estimate_point(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Candidate or Final state.")], async_req: Optional[bool]=True, **kwargs) -> ValuationPointDataResponse: # noqa: E501
|
|
72
72
|
...
|
|
73
73
|
|
|
74
74
|
@validate_arguments
|
|
75
|
-
def accept_estimate_point(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Final state.")], async_req: Optional[bool]=None, **kwargs) -> Union[ValuationPointDataResponse, Awaitable[ValuationPointDataResponse]]: # noqa: E501
|
|
75
|
+
def accept_estimate_point(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Candidate or Final state.")], async_req: Optional[bool]=None, **kwargs) -> Union[ValuationPointDataResponse, Awaitable[ValuationPointDataResponse]]: # noqa: E501
|
|
76
76
|
"""[EXPERIMENTAL] AcceptEstimatePoint: Accepts an Estimate Valuation Point. # noqa: E501
|
|
77
77
|
|
|
78
78
|
Accepts the specified estimate Valuation Point. Should the Valuation Point differ since the valuation Point was last run, status will be marked as 'Candidate', otherwise it will be marked as 'Final' # noqa: E501
|
|
@@ -86,7 +86,7 @@ class FundsApi:
|
|
|
86
86
|
:type scope: str
|
|
87
87
|
:param code: The code of the Fund. Together with the scope this uniquely identifies the Fund. (required)
|
|
88
88
|
:type code: str
|
|
89
|
-
:param valuation_point_data_request: The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Final state. (required)
|
|
89
|
+
:param valuation_point_data_request: The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Candidate or Final state. (required)
|
|
90
90
|
:type valuation_point_data_request: ValuationPointDataRequest
|
|
91
91
|
:param async_req: Whether to execute the request asynchronously.
|
|
92
92
|
:type async_req: bool, optional
|
|
@@ -108,7 +108,7 @@ class FundsApi:
|
|
|
108
108
|
return self.accept_estimate_point_with_http_info(scope, code, valuation_point_data_request, **kwargs) # noqa: E501
|
|
109
109
|
|
|
110
110
|
@validate_arguments
|
|
111
|
-
def accept_estimate_point_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Final state.")], **kwargs) -> ApiResponse: # noqa: E501
|
|
111
|
+
def accept_estimate_point_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Candidate or Final state.")], **kwargs) -> ApiResponse: # noqa: E501
|
|
112
112
|
"""[EXPERIMENTAL] AcceptEstimatePoint: Accepts an Estimate Valuation Point. # noqa: E501
|
|
113
113
|
|
|
114
114
|
Accepts the specified estimate Valuation Point. Should the Valuation Point differ since the valuation Point was last run, status will be marked as 'Candidate', otherwise it will be marked as 'Final' # noqa: E501
|
|
@@ -122,7 +122,7 @@ class FundsApi:
|
|
|
122
122
|
:type scope: str
|
|
123
123
|
:param code: The code of the Fund. Together with the scope this uniquely identifies the Fund. (required)
|
|
124
124
|
:type code: str
|
|
125
|
-
:param valuation_point_data_request: The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Final state. (required)
|
|
125
|
+
:param valuation_point_data_request: The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Candidate or Final state. (required)
|
|
126
126
|
:type valuation_point_data_request: ValuationPointDataRequest
|
|
127
127
|
:param async_req: Whether to execute the request asynchronously.
|
|
128
128
|
:type async_req: bool, optional
|
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.6607\n"\
|
|
377
377
|
"SDK Package Version: {package_version}".\
|
|
378
378
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
|
379
379
|
|
|
@@ -18,7 +18,7 @@ import re # noqa: F401
|
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
from typing import Any, Dict, List
|
|
21
|
+
from typing import Any, Dict, List, Optional
|
|
22
22
|
from pydantic.v1 import BaseModel, Field, StrictInt, conlist, constr
|
|
23
23
|
from lusid.models.instrument_event_holder import InstrumentEventHolder
|
|
24
24
|
from lusid.models.resource_id import ResourceId
|
|
@@ -35,10 +35,10 @@ class ApplicableInstrumentEvent(BaseModel):
|
|
|
35
35
|
instrument_type: constr(strict=True, min_length=1) = Field(..., alias="instrumentType")
|
|
36
36
|
instrument_event_type: constr(strict=True, min_length=1) = Field(..., alias="instrumentEventType")
|
|
37
37
|
instrument_event_id: constr(strict=True, min_length=1) = Field(..., alias="instrumentEventId")
|
|
38
|
-
generated_event: InstrumentEventHolder = Field(
|
|
39
|
-
loaded_event: InstrumentEventHolder = Field(
|
|
38
|
+
generated_event: Optional[InstrumentEventHolder] = Field(None, alias="generatedEvent")
|
|
39
|
+
loaded_event: Optional[InstrumentEventHolder] = Field(None, alias="loadedEvent")
|
|
40
40
|
applied_instrument_event_instruction_id: constr(strict=True, min_length=1) = Field(..., alias="appliedInstrumentEventInstructionId")
|
|
41
|
-
transactions: conlist(Transaction) =
|
|
41
|
+
transactions: Optional[conlist(Transaction)] = None
|
|
42
42
|
__properties = ["portfolioId", "holdingId", "lusidInstrumentId", "instrumentScope", "instrumentType", "instrumentEventType", "instrumentEventId", "generatedEvent", "loadedEvent", "appliedInstrumentEventInstructionId", "transactions"]
|
|
43
43
|
|
|
44
44
|
class Config:
|
|
@@ -81,6 +81,11 @@ class ApplicableInstrumentEvent(BaseModel):
|
|
|
81
81
|
if _item:
|
|
82
82
|
_items.append(_item.to_dict())
|
|
83
83
|
_dict['transactions'] = _items
|
|
84
|
+
# set to None if transactions (nullable) is None
|
|
85
|
+
# and __fields_set__ contains the field
|
|
86
|
+
if self.transactions is None and "transactions" in self.__fields_set__:
|
|
87
|
+
_dict['transactions'] = None
|
|
88
|
+
|
|
84
89
|
return _dict
|
|
85
90
|
|
|
86
91
|
@classmethod
|
lusid/models/fee.py
CHANGED
|
@@ -36,11 +36,11 @@ class Fee(BaseModel):
|
|
|
36
36
|
name: constr(strict=True, max_length=50, min_length=0) = Field(..., description="The name of the Fee.")
|
|
37
37
|
description: Optional[constr(strict=True, max_length=1024, min_length=0)] = Field(None, description="A description for the Fee.")
|
|
38
38
|
origin: Optional[constr(strict=True, max_length=512, min_length=1)] = Field(None, description="The origin or source of the Fee accrual.")
|
|
39
|
-
calculation_base: Optional[constr(strict=True, max_length=1024, min_length=0)] = Field(None, alias="calculationBase", description="The calculation base for the Fee that is calculated using a percentage.")
|
|
39
|
+
calculation_base: Optional[constr(strict=True, max_length=1024, min_length=0)] = Field(None, alias="calculationBase", description="The calculation base for the Fee that is calculated using a percentage. (TotalAnnualAccrualAmount and CalculationBase cannot both be present)")
|
|
40
40
|
accrual_currency: constr(strict=True, max_length=3, min_length=0) = Field(..., alias="accrualCurrency", description="The accrual currency.")
|
|
41
41
|
treatment: constr(strict=True, min_length=1) = Field(..., description="The accrual period of the Fee; 'Monthly' or 'Daily'.")
|
|
42
|
-
total_annual_accrual_amount: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="totalAnnualAccrualAmount", description="The total accrued amount for the Fee.")
|
|
43
|
-
fee_rate_percentage: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="feeRatePercentage", description="The fee rate percentage.")
|
|
42
|
+
total_annual_accrual_amount: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="totalAnnualAccrualAmount", description="The total annual accrued amount for the Fee. (TotalAnnualAccrualAmount and CalculationBase cannot both be present)")
|
|
43
|
+
fee_rate_percentage: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="feeRatePercentage", description="The fee rate percentage. (Required when CalculationBase is present and not compatible with TotalAnnualAccrualAmount)")
|
|
44
44
|
monthly_accrual: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="monthlyAccrual", description="The monthly accrual amount.")
|
|
45
45
|
daily_accrual: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="dailyAccrual", description="The daily accrual amount.")
|
|
46
46
|
payable_frequency: constr(strict=True, min_length=1) = Field(..., alias="payableFrequency", description="The payable frequency for the Fee; 'Annually', 'Quarterly' or 'Monthly'.")
|
lusid/models/fee_accrual.py
CHANGED
|
@@ -17,7 +17,7 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
from datetime import datetime
|
|
21
21
|
from typing import Any, Dict, Optional, Union
|
|
22
22
|
from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, StrictStr
|
|
23
23
|
|
|
@@ -25,12 +25,13 @@ class FeeAccrual(BaseModel):
|
|
|
25
25
|
"""
|
|
26
26
|
FeeAccrual
|
|
27
27
|
"""
|
|
28
|
+
effective_at: Optional[datetime] = Field(None, alias="effectiveAt")
|
|
28
29
|
name: Optional[StrictStr] = None
|
|
29
30
|
calculation_base: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="calculationBase")
|
|
30
31
|
amount: Optional[Union[StrictFloat, StrictInt]] = None
|
|
31
32
|
previous_accrual: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="previousAccrual")
|
|
32
33
|
total_accrual: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="totalAccrual")
|
|
33
|
-
__properties = ["name", "calculationBase", "amount", "previousAccrual", "totalAccrual"]
|
|
34
|
+
__properties = ["effectiveAt", "name", "calculationBase", "amount", "previousAccrual", "totalAccrual"]
|
|
34
35
|
|
|
35
36
|
class Config:
|
|
36
37
|
"""Pydantic configuration"""
|
|
@@ -74,6 +75,7 @@ class FeeAccrual(BaseModel):
|
|
|
74
75
|
return FeeAccrual.parse_obj(obj)
|
|
75
76
|
|
|
76
77
|
_obj = FeeAccrual.parse_obj({
|
|
78
|
+
"effective_at": obj.get("effectiveAt"),
|
|
77
79
|
"name": obj.get("name"),
|
|
78
80
|
"calculation_base": obj.get("calculationBase"),
|
|
79
81
|
"amount": obj.get("amount"),
|
lusid/models/fee_request.py
CHANGED
|
@@ -32,11 +32,11 @@ class FeeRequest(BaseModel):
|
|
|
32
32
|
name: constr(strict=True, max_length=256, min_length=1) = Field(..., description="The name of the Fee.")
|
|
33
33
|
description: Optional[constr(strict=True, max_length=1024, min_length=0)] = Field(None, description="A description for the Fee.")
|
|
34
34
|
origin: Optional[constr(strict=True, max_length=512, min_length=1)] = Field(None, description="The origin or source of the Fee accrual.")
|
|
35
|
-
calculation_base: Optional[constr(strict=True, max_length=1024, min_length=0)] = Field(None, alias="calculationBase", description="The calculation base for the Fee that is calculated using a percentage.")
|
|
35
|
+
calculation_base: Optional[constr(strict=True, max_length=1024, min_length=0)] = Field(None, alias="calculationBase", description="The calculation base for the Fee that is calculated using a percentage. (TotalAnnualAccrualAmount and CalculationBase cannot both be present)")
|
|
36
36
|
accrual_currency: constr(strict=True, max_length=3, min_length=0) = Field(..., alias="accrualCurrency", description="The accrual currency.")
|
|
37
37
|
treatment: constr(strict=True, min_length=1) = Field(..., description="The accrual period of the Fee; 'Monthly' or 'Daily'.")
|
|
38
|
-
total_annual_accrual_amount: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="totalAnnualAccrualAmount", description="The total accrued amount for the Fee.")
|
|
39
|
-
fee_rate_percentage: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="feeRatePercentage", description="The fee rate percentage.")
|
|
38
|
+
total_annual_accrual_amount: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="totalAnnualAccrualAmount", description="The total annual accrued amount for the Fee. (TotalAnnualAccrualAmount and CalculationBase cannot both be present)")
|
|
39
|
+
fee_rate_percentage: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="feeRatePercentage", description="The fee rate percentage. (Required when CalculationBase is present and not compatible with TotalAnnualAccrualAmount)")
|
|
40
40
|
payable_frequency: constr(strict=True, min_length=1) = Field(..., alias="payableFrequency", description="The payable frequency for the Fee; 'Annually', 'Quarterly' or 'Monthly'.")
|
|
41
41
|
business_day_convention: constr(strict=True, min_length=1) = Field(..., alias="businessDayConvention", description="The business day convention to use for Fee calculations on weekends.")
|
|
42
42
|
start_date: datetime = Field(..., alias="startDate", description="The start date of the Fee.")
|
lusid/models/float_schedule.py
CHANGED
|
@@ -19,7 +19,7 @@ import json
|
|
|
19
19
|
|
|
20
20
|
from datetime import datetime
|
|
21
21
|
from typing import Any, Dict, Optional, Union
|
|
22
|
-
from pydantic.v1 import Field, StrictFloat, StrictInt, StrictStr, constr, validator
|
|
22
|
+
from pydantic.v1 import Field, StrictBool, StrictFloat, StrictInt, StrictStr, constr, validator
|
|
23
23
|
from lusid.models.compounding import Compounding
|
|
24
24
|
from lusid.models.ex_dividend_configuration import ExDividendConfiguration
|
|
25
25
|
from lusid.models.flow_convention_name import FlowConventionName
|
|
@@ -45,9 +45,10 @@ class FloatSchedule(Schedule):
|
|
|
45
45
|
ex_dividend_configuration: Optional[ExDividendConfiguration] = Field(None, alias="exDividendConfiguration")
|
|
46
46
|
compounding: Optional[Compounding] = None
|
|
47
47
|
reset_convention: Optional[constr(strict=True, max_length=16, min_length=0)] = Field(None, alias="resetConvention", description="Control how resets are generated relative to payment convention(s). Supported string (enumeration) values are: [InAdvance, InArrears].")
|
|
48
|
+
use_annualised_direct_rates: Optional[StrictBool] = Field(None, alias="useAnnualisedDirectRates", description="Flag indicating whether to use daily updated annualised interest rates for calculating the accrued interest. Defaults to false.")
|
|
48
49
|
schedule_type: StrictStr = Field(..., alias="scheduleType", description="The available values are: FixedSchedule, FloatSchedule, OptionalitySchedule, StepSchedule, Exercise, FxRateSchedule, FxLinkedNotionalSchedule, BondConversionSchedule, Invalid")
|
|
49
50
|
additional_properties: Dict[str, Any] = {}
|
|
50
|
-
__properties = ["scheduleType", "startDate", "maturityDate", "flowConventions", "conventionName", "exDividendDays", "indexConventionName", "indexConventions", "notional", "paymentCurrency", "spread", "stubType", "exDividendConfiguration", "compounding", "resetConvention"]
|
|
51
|
+
__properties = ["scheduleType", "startDate", "maturityDate", "flowConventions", "conventionName", "exDividendDays", "indexConventionName", "indexConventions", "notional", "paymentCurrency", "spread", "stubType", "exDividendConfiguration", "compounding", "resetConvention", "useAnnualisedDirectRates"]
|
|
51
52
|
|
|
52
53
|
@validator('schedule_type')
|
|
53
54
|
def schedule_type_validate_enum(cls, value):
|
|
@@ -145,7 +146,8 @@ class FloatSchedule(Schedule):
|
|
|
145
146
|
"stub_type": obj.get("stubType"),
|
|
146
147
|
"ex_dividend_configuration": ExDividendConfiguration.from_dict(obj.get("exDividendConfiguration")) if obj.get("exDividendConfiguration") is not None else None,
|
|
147
148
|
"compounding": Compounding.from_dict(obj.get("compounding")) if obj.get("compounding") is not None else None,
|
|
148
|
-
"reset_convention": obj.get("resetConvention")
|
|
149
|
+
"reset_convention": obj.get("resetConvention"),
|
|
150
|
+
"use_annualised_direct_rates": obj.get("useAnnualisedDirectRates")
|
|
149
151
|
})
|
|
150
152
|
# store additional fields in additional_properties
|
|
151
153
|
for _key in obj.keys():
|
|
@@ -22,6 +22,7 @@ from typing import Any, Dict, List, Optional
|
|
|
22
22
|
from pydantic.v1 import BaseModel, Field, StrictStr, conlist
|
|
23
23
|
from lusid.models.link import Link
|
|
24
24
|
from lusid.models.model_property import ModelProperty
|
|
25
|
+
from lusid.models.staged_modifications_info import StagedModificationsInfo
|
|
25
26
|
from lusid.models.version import Version
|
|
26
27
|
|
|
27
28
|
class PortfolioProperties(BaseModel):
|
|
@@ -31,8 +32,9 @@ class PortfolioProperties(BaseModel):
|
|
|
31
32
|
href: Optional[StrictStr] = Field(None, description="The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.")
|
|
32
33
|
properties: Optional[Dict[str, ModelProperty]] = Field(None, description="The portfolio properties. These will be from the 'Portfolio' domain.")
|
|
33
34
|
version: Optional[Version] = None
|
|
35
|
+
staged_modifications: Optional[StagedModificationsInfo] = Field(None, alias="stagedModifications")
|
|
34
36
|
links: Optional[conlist(Link)] = None
|
|
35
|
-
__properties = ["href", "properties", "version", "links"]
|
|
37
|
+
__properties = ["href", "properties", "version", "stagedModifications", "links"]
|
|
36
38
|
|
|
37
39
|
class Config:
|
|
38
40
|
"""Pydantic configuration"""
|
|
@@ -68,6 +70,9 @@ class PortfolioProperties(BaseModel):
|
|
|
68
70
|
# override the default output from pydantic by calling `to_dict()` of version
|
|
69
71
|
if self.version:
|
|
70
72
|
_dict['version'] = self.version.to_dict()
|
|
73
|
+
# override the default output from pydantic by calling `to_dict()` of staged_modifications
|
|
74
|
+
if self.staged_modifications:
|
|
75
|
+
_dict['stagedModifications'] = self.staged_modifications.to_dict()
|
|
71
76
|
# override the default output from pydantic by calling `to_dict()` of each item in links (list)
|
|
72
77
|
_items = []
|
|
73
78
|
if self.links:
|
|
@@ -110,6 +115,7 @@ class PortfolioProperties(BaseModel):
|
|
|
110
115
|
if obj.get("properties") is not None
|
|
111
116
|
else None,
|
|
112
117
|
"version": Version.from_dict(obj.get("version")) if obj.get("version") is not None else None,
|
|
118
|
+
"staged_modifications": StagedModificationsInfo.from_dict(obj.get("stagedModifications")) if obj.get("stagedModifications") is not None else None,
|
|
113
119
|
"links": [Link.from_dict(_item) for _item in obj.get("links")] if obj.get("links") is not None else None
|
|
114
120
|
})
|
|
115
121
|
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.173
|
|
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.6607
|
|
33
|
+
- Package version: 2.1.173
|
|
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
|
|
|
@@ -25,7 +25,7 @@ lusid/api/derived_transaction_portfolios_api.py,sha256=cKv5mKNmTiuHzWGwupwcSBibj
|
|
|
25
25
|
lusid/api/entities_api.py,sha256=I2uoCBwmvGj8TzyoWycuVU7wPbfIAD67lxtW0fYx010,21342
|
|
26
26
|
lusid/api/executions_api.py,sha256=u92G5bsNwzMlKt9OyV7MQy6BTJc3TC9_7qgg8xXAuL0,44375
|
|
27
27
|
lusid/api/fee_types_api.py,sha256=conpVPkoLCcUY9f817882MTqrZ_uFlMuoPFo1swqTp4,49609
|
|
28
|
-
lusid/api/funds_api.py,sha256=
|
|
28
|
+
lusid/api/funds_api.py,sha256=8mMYv829sQVOBrpC4m3KFRdbch5_Tpe5S3ZQe_DuPDk,184218
|
|
29
29
|
lusid/api/instrument_event_types_api.py,sha256=shwiW-AatQw-mEwD-TS1d8M2AtV62gqvfF3utyIqe0Y,81546
|
|
30
30
|
lusid/api/instrument_events_api.py,sha256=UPQV3mxxrcnAQ8Yscsb1aUUdg7ItSFDpU03Fwg1Ij1s,58508
|
|
31
31
|
lusid/api/instruments_api.py,sha256=fujR7OV0OhvegttvAMq6oy_xn9xYcXw3ks_JMj9_XQM,281273
|
|
@@ -67,7 +67,7 @@ lusid/api/transaction_portfolios_api.py,sha256=7G5m6iTQXTKCc6ASdxnlVJjvFascHxEgD
|
|
|
67
67
|
lusid/api/translation_api.py,sha256=xTAaKEW96JTDIZBXCjxSguCa7Gz4oVd5jdObUE2egwo,20092
|
|
68
68
|
lusid/api_client.py,sha256=dF6l9RAsdxdQjf6Qn4ny6LB-QXlJmsscWiozCvyyBFA,30709
|
|
69
69
|
lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
|
|
70
|
-
lusid/configuration.py,sha256=
|
|
70
|
+
lusid/configuration.py,sha256=M-v3q6MUZY2DxFxXNAnUErPo8Fp_LwVIeCO7t5FkHe0,14404
|
|
71
71
|
lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
|
|
72
72
|
lusid/extensions/__init__.py,sha256=L7EF4zKjcq1g2GodEumg1-C9xKs7YrQ0QHGPi8XbpO4,629
|
|
73
73
|
lusid/extensions/api_client.py,sha256=Ob06urm4Em3MLzgP_geyeeGsPCkU225msW_1kpIeABM,30567
|
|
@@ -137,7 +137,7 @@ lusid/models/amortisation_rule_set.py,sha256=ExFKfMCGVF2-MYZfT_GrCwgsP1aC8vc5R6H
|
|
|
137
137
|
lusid/models/annul_quotes_response.py,sha256=mYZSWeQx2veyirZnrWl2HWLB1nLYxqfLC-kAD87L2Qo,4347
|
|
138
138
|
lusid/models/annul_single_structured_data_response.py,sha256=8PLdLJ-9anIqCr8JYhYQnfwVvfEEMjY8euqfdvHTNKM,3328
|
|
139
139
|
lusid/models/annul_structured_data_response.py,sha256=m_PPmlTTJmHWbjwlFVOY4fRS8O1eL2K5ZZYLWyjcXJM,4499
|
|
140
|
-
lusid/models/applicable_instrument_event.py,sha256=
|
|
140
|
+
lusid/models/applicable_instrument_event.py,sha256=WyvHI8IXjzGS-BY4qMTBgcja6UZDO2hdd7AApz_8f0s,5367
|
|
141
141
|
lusid/models/asset_class.py,sha256=yurc1IbYS3HCMRBncPFfIl8pBiYnt64MP4tiBYJ8usU,793
|
|
142
142
|
lusid/models/asset_leg.py,sha256=UyH91gd4MFYNtftvd0S1MvJmbtlKjg-BNJMQH1qSLPI,2435
|
|
143
143
|
lusid/models/barrier.py,sha256=NP7eTStjcFn5wV3KkKPnwCOjQpmbIp5aMm8rJmpwjmU,2745
|
|
@@ -378,9 +378,9 @@ lusid/models/exercise_event.py,sha256=EZGXFc8riKkqeCnhDIY6MVtp3RAFlBehvMU4kC_KqJ
|
|
|
378
378
|
lusid/models/exotic_instrument.py,sha256=Nfv3cttH2eWGX_aeU6zxmLD5hsNnWC6yBSFeFS6sr80,5705
|
|
379
379
|
lusid/models/expanded_group.py,sha256=e1fIiusdlI_VtjJlF4g5O_yg6A_5VDOg2LaW94CUyJU,5931
|
|
380
380
|
lusid/models/expiry_event.py,sha256=o1jn1kCnF2zSL8WJ3TSuJ-E9t-s22esebwaJGrqUGKg,4686
|
|
381
|
-
lusid/models/fee.py,sha256=
|
|
382
|
-
lusid/models/fee_accrual.py,sha256=
|
|
383
|
-
lusid/models/fee_request.py,sha256=
|
|
381
|
+
lusid/models/fee.py,sha256=NmBhi0yLXK18pRbL-jiaDlm4SrVv6Ddgm-Lc_IwaEUY,11510
|
|
382
|
+
lusid/models/fee_accrual.py,sha256=A9DaaFrEY1JqMbym_7TIcMMQxSqnQFMxuVZzljnggIk,2862
|
|
383
|
+
lusid/models/fee_request.py,sha256=aJbg758cpQ9tDD30G9_HLgnOOJcpxBvUDOPNvy7FL4E,8633
|
|
384
384
|
lusid/models/fee_rule.py,sha256=Ez0GUE-1FlzEO8VF1IbH3p2I6gjMaQ6arWzo3VCyi5Q,6070
|
|
385
385
|
lusid/models/fee_rule_upsert_request.py,sha256=0s31dKcYP1kUfOdeuwqbCTxNL6VQ42ryi_QPzayIrXw,6166
|
|
386
386
|
lusid/models/fee_rule_upsert_response.py,sha256=PH0YLPebZM42YRxgoUXYoP6aDdMuDnw7wBAU_VYCwuE,3144
|
|
@@ -397,7 +397,7 @@ lusid/models/fixed_leg.py,sha256=HkKftiIQHb0f3pGE8ItI6Ep3EQTVnZ-WRAYGLmCjBfw,661
|
|
|
397
397
|
lusid/models/fixed_leg_all_of_overrides.py,sha256=JR8DwX7y3sO5i6vBEJHdBmaaJKQqLSAQd7AoMzp21Q0,2879
|
|
398
398
|
lusid/models/fixed_schedule.py,sha256=pTpKwncvp16eSrscuuTHli1W9L3hsuY1MHShcIqAh_k,7250
|
|
399
399
|
lusid/models/flexible_loan.py,sha256=08jrLqECPsSfowr987Y5zy6zF0d7aTqIP-bCGnfB6WM,6252
|
|
400
|
-
lusid/models/float_schedule.py,sha256=
|
|
400
|
+
lusid/models/float_schedule.py,sha256=auQ1P6MswaZ8R-uf7BxCmZ2gQOPP7D6J2DLRweI-EBs,9638
|
|
401
401
|
lusid/models/floating_leg.py,sha256=Q2W2Xk_j0Bh4jVDVigHK9i8DpudCtpkdW_AS8WiAAbI,7558
|
|
402
402
|
lusid/models/flow_convention_name.py,sha256=HFTshKIRBvjLdmcd8FzM-6Jb6-dlq-yTOwjCw0p2ZME,2813
|
|
403
403
|
lusid/models/flow_conventions.py,sha256=OJBFQ28_-Wp5VCQ_CXwLksvz--6kysJh3zUF8xM8ORE,10512
|
|
@@ -693,7 +693,7 @@ lusid/models/portfolio_holding.py,sha256=mZVqQI4nYhCXPALqRxvqb1xCRlv12uMZLspvNIo
|
|
|
693
693
|
lusid/models/portfolio_id_compliance_parameter.py,sha256=5Ym-7OavrqOEzW22Yg1ZPSI9YmZmgT2tqGwNGzVy484,5481
|
|
694
694
|
lusid/models/portfolio_id_list.py,sha256=zCe0UDzkP1VjIQHfxBjf-hlL0TEuxlGqGSmyP-6prlo,3706
|
|
695
695
|
lusid/models/portfolio_id_list_compliance_parameter.py,sha256=EJ-sl1bj21kAQSKBItZmxLPFgLhOxG3FkhDTU62hfJs,5513
|
|
696
|
-
lusid/models/portfolio_properties.py,sha256=
|
|
696
|
+
lusid/models/portfolio_properties.py,sha256=OCSv3rJAsYBsEWRmiUvCcb4UIxN_gZrv4D3bvvfs9Zk,4868
|
|
697
697
|
lusid/models/portfolio_reconciliation_request.py,sha256=wCxZIivxGZoFmnxItD66J1VSFUqKbtm6SAqq4rNp85w,2886
|
|
698
698
|
lusid/models/portfolio_result_data_key_rule.py,sha256=VR3GGTSWS1-Z5cgEIDd939tdtH6hiwiQMm2vNz4h9cw,6635
|
|
699
699
|
lusid/models/portfolio_return_breakdown.py,sha256=PGCCidYWkdSSzNJmZeZIEuYQBgozeFwkIH5HnODvrqI,6683
|
|
@@ -1075,6 +1075,6 @@ lusid/models/weighted_instruments.py,sha256=1y_y_vw4-LPsbkQx4FOzWdZc5fJnzhVkf1D3
|
|
|
1075
1075
|
lusid/models/yield_curve_data.py,sha256=SbxvdJ4-GWK9kpMdw4Fnxc7_kvIMwgsRsd_31UJn7nw,6330
|
|
1076
1076
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1077
1077
|
lusid/rest.py,sha256=TNUzQ3yLNT2L053EdR7R0vNzQh2J3TlYD1T56Dye0W0,10138
|
|
1078
|
-
lusid_sdk-2.1.
|
|
1079
|
-
lusid_sdk-2.1.
|
|
1080
|
-
lusid_sdk-2.1.
|
|
1078
|
+
lusid_sdk-2.1.173.dist-info/METADATA,sha256=cYBf8fqM6bczFc4MrH0Gx5wBR_As5MXspZlh2RTA8_8,188018
|
|
1079
|
+
lusid_sdk-2.1.173.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
1080
|
+
lusid_sdk-2.1.173.dist-info/RECORD,,
|
|
File without changes
|