lusid-sdk 2.1.160__py3-none-any.whl → 2.1.163__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/float_schedule.py +5 -3
- {lusid_sdk-2.1.160.dist-info → lusid_sdk-2.1.163.dist-info}/METADATA +3 -3
- {lusid_sdk-2.1.160.dist-info → lusid_sdk-2.1.163.dist-info}/RECORD +7 -7
- {lusid_sdk-2.1.160.dist-info → lusid_sdk-2.1.163.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.6597\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/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():
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lusid-sdk
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.163
|
|
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.6597
|
|
33
|
+
- Package version: 2.1.163
|
|
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=IuxnX5A5JCRMZVpplB63zJ3hk5vAffE7pYNzVPtxcnE,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
|
|
@@ -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
|
|
@@ -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.163.dist-info/METADATA,sha256=Iubg3zB9O028oIolGIXTS7SAeEFpn5o6O-DbxFEYey0,188018
|
|
1079
|
+
lusid_sdk-2.1.163.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
1080
|
+
lusid_sdk-2.1.163.dist-info/RECORD,,
|
|
File without changes
|