lusid-sdk 2.1.776__py3-none-any.whl → 2.1.778__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/api/complex_market_data_api.py +33 -9
- lusid/configuration.py +1 -1
- lusid/models/fund_journal_entry_line.py +8 -1
- lusid/models/journal_entry_line.py +8 -1
- lusid/models/simple_instrument.py +8 -2
- {lusid_sdk-2.1.776.dist-info → lusid_sdk-2.1.778.dist-info}/METADATA +1 -1
- {lusid_sdk-2.1.776.dist-info → lusid_sdk-2.1.778.dist-info}/RECORD +8 -8
- {lusid_sdk-2.1.776.dist-info → lusid_sdk-2.1.778.dist-info}/WHEEL +0 -0
@@ -22,7 +22,7 @@ from typing import overload, Optional, Union, Awaitable
|
|
22
22
|
from typing_extensions import Annotated
|
23
23
|
from datetime import datetime
|
24
24
|
|
25
|
-
from pydantic.v1 import Field, StrictStr, constr, validator
|
25
|
+
from pydantic.v1 import Field, StrictStr, conint, constr, validator
|
26
26
|
|
27
27
|
from typing import Dict, Optional
|
28
28
|
|
@@ -423,26 +423,32 @@ class ComplexMarketDataApi:
|
|
423
423
|
|
424
424
|
|
425
425
|
@overload
|
426
|
-
async def list_complex_market_data(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the ComplexMarketData. Defaults to latest if not specified.")] = None, **kwargs) -> ResourceListOfListComplexMarketDataWithMetaDataResponse: # noqa: E501
|
426
|
+
async def list_complex_market_data(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the ComplexMarketData. Defaults to latest if not specified.")] = None, effective_at : Annotated[Optional[StrictStr], Field( description="The effectiveAt datetime at which to list the ComplexMarketData. Defaults to latest if not specified. Note that this parameter is not implemented at this time and the latest version of the ComplexMarketData will always be returned.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing ComplexMarketData; this value is returned from the previous call. If a pagination token is provided, the effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. If not specified, no pagination will be applied. It is highly recommended to supply a value for this parameter as the default behaviour will change in the future.")] = None, **kwargs) -> ResourceListOfListComplexMarketDataWithMetaDataResponse: # noqa: E501
|
427
427
|
...
|
428
428
|
|
429
429
|
@overload
|
430
|
-
def list_complex_market_data(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the ComplexMarketData. Defaults to latest if not specified.")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfListComplexMarketDataWithMetaDataResponse: # noqa: E501
|
430
|
+
def list_complex_market_data(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the ComplexMarketData. Defaults to latest if not specified.")] = None, effective_at : Annotated[Optional[StrictStr], Field( description="The effectiveAt datetime at which to list the ComplexMarketData. Defaults to latest if not specified. Note that this parameter is not implemented at this time and the latest version of the ComplexMarketData will always be returned.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing ComplexMarketData; this value is returned from the previous call. If a pagination token is provided, the effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. If not specified, no pagination will be applied. It is highly recommended to supply a value for this parameter as the default behaviour will change in the future.")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfListComplexMarketDataWithMetaDataResponse: # noqa: E501
|
431
431
|
...
|
432
432
|
|
433
433
|
@validate_arguments
|
434
|
-
def list_complex_market_data(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the ComplexMarketData. Defaults to latest if not specified.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfListComplexMarketDataWithMetaDataResponse, Awaitable[ResourceListOfListComplexMarketDataWithMetaDataResponse]]: # noqa: E501
|
434
|
+
def list_complex_market_data(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the ComplexMarketData. Defaults to latest if not specified.")] = None, effective_at : Annotated[Optional[StrictStr], Field( description="The effectiveAt datetime at which to list the ComplexMarketData. Defaults to latest if not specified. Note that this parameter is not implemented at this time and the latest version of the ComplexMarketData will always be returned.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing ComplexMarketData; this value is returned from the previous call. If a pagination token is provided, the effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. If not specified, no pagination will be applied. It is highly recommended to supply a value for this parameter as the default behaviour will change in the future.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfListComplexMarketDataWithMetaDataResponse, Awaitable[ResourceListOfListComplexMarketDataWithMetaDataResponse]]: # noqa: E501
|
435
435
|
"""ListComplexMarketData: List the set of ComplexMarketData # noqa: E501
|
436
436
|
|
437
437
|
List the set of ComplexMarketData at the specified date/time, along with the scope the data was stored in and its identifier in that scope. # noqa: E501
|
438
438
|
This method makes a synchronous HTTP request by default. To make an
|
439
439
|
asynchronous HTTP request, please pass async_req=True
|
440
440
|
|
441
|
-
>>> thread = api.list_complex_market_data(as_at, async_req=True)
|
441
|
+
>>> thread = api.list_complex_market_data(as_at, effective_at, page, limit, async_req=True)
|
442
442
|
>>> result = thread.get()
|
443
443
|
|
444
444
|
:param as_at: The asAt datetime at which to list the ComplexMarketData. Defaults to latest if not specified.
|
445
445
|
:type as_at: datetime
|
446
|
+
:param effective_at: The effectiveAt datetime at which to list the ComplexMarketData. Defaults to latest if not specified. Note that this parameter is not implemented at this time and the latest version of the ComplexMarketData will always be returned.
|
447
|
+
:type effective_at: str
|
448
|
+
:param page: The pagination token to use to continue listing ComplexMarketData; this value is returned from the previous call. If a pagination token is provided, the effectiveAt and asAt fields must not have changed since the original request.
|
449
|
+
:type page: str
|
450
|
+
:param limit: When paginating, limit the results to this number. If not specified, no pagination will be applied. It is highly recommended to supply a value for this parameter as the default behaviour will change in the future.
|
451
|
+
:type limit: int
|
446
452
|
:param async_req: Whether to execute the request asynchronously.
|
447
453
|
:type async_req: bool, optional
|
448
454
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
@@ -459,21 +465,27 @@ class ComplexMarketDataApi:
|
|
459
465
|
raise ValueError(message)
|
460
466
|
if async_req is not None:
|
461
467
|
kwargs['async_req'] = async_req
|
462
|
-
return self.list_complex_market_data_with_http_info(as_at, **kwargs) # noqa: E501
|
468
|
+
return self.list_complex_market_data_with_http_info(as_at, effective_at, page, limit, **kwargs) # noqa: E501
|
463
469
|
|
464
470
|
@validate_arguments
|
465
|
-
def list_complex_market_data_with_http_info(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the ComplexMarketData. Defaults to latest if not specified.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
471
|
+
def list_complex_market_data_with_http_info(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the ComplexMarketData. Defaults to latest if not specified.")] = None, effective_at : Annotated[Optional[StrictStr], Field( description="The effectiveAt datetime at which to list the ComplexMarketData. Defaults to latest if not specified. Note that this parameter is not implemented at this time and the latest version of the ComplexMarketData will always be returned.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing ComplexMarketData; this value is returned from the previous call. If a pagination token is provided, the effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. If not specified, no pagination will be applied. It is highly recommended to supply a value for this parameter as the default behaviour will change in the future.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
466
472
|
"""ListComplexMarketData: List the set of ComplexMarketData # noqa: E501
|
467
473
|
|
468
474
|
List the set of ComplexMarketData at the specified date/time, along with the scope the data was stored in and its identifier in that scope. # noqa: E501
|
469
475
|
This method makes a synchronous HTTP request by default. To make an
|
470
476
|
asynchronous HTTP request, please pass async_req=True
|
471
477
|
|
472
|
-
>>> thread = api.list_complex_market_data_with_http_info(as_at, async_req=True)
|
478
|
+
>>> thread = api.list_complex_market_data_with_http_info(as_at, effective_at, page, limit, async_req=True)
|
473
479
|
>>> result = thread.get()
|
474
480
|
|
475
481
|
:param as_at: The asAt datetime at which to list the ComplexMarketData. Defaults to latest if not specified.
|
476
482
|
:type as_at: datetime
|
483
|
+
:param effective_at: The effectiveAt datetime at which to list the ComplexMarketData. Defaults to latest if not specified. Note that this parameter is not implemented at this time and the latest version of the ComplexMarketData will always be returned.
|
484
|
+
:type effective_at: str
|
485
|
+
:param page: The pagination token to use to continue listing ComplexMarketData; this value is returned from the previous call. If a pagination token is provided, the effectiveAt and asAt fields must not have changed since the original request.
|
486
|
+
:type page: str
|
487
|
+
:param limit: When paginating, limit the results to this number. If not specified, no pagination will be applied. It is highly recommended to supply a value for this parameter as the default behaviour will change in the future.
|
488
|
+
:type limit: int
|
477
489
|
:param async_req: Whether to execute the request asynchronously.
|
478
490
|
:type async_req: bool, optional
|
479
491
|
:param _preload_content: if False, the ApiResponse.data will
|
@@ -501,7 +513,10 @@ class ComplexMarketDataApi:
|
|
501
513
|
_params = locals()
|
502
514
|
|
503
515
|
_all_params = [
|
504
|
-
'as_at'
|
516
|
+
'as_at',
|
517
|
+
'effective_at',
|
518
|
+
'page',
|
519
|
+
'limit'
|
505
520
|
]
|
506
521
|
_all_params.extend(
|
507
522
|
[
|
@@ -539,6 +554,15 @@ class ComplexMarketDataApi:
|
|
539
554
|
else:
|
540
555
|
_query_params.append(('asAt', _params['as_at']))
|
541
556
|
|
557
|
+
if _params.get('effective_at') is not None: # noqa: E501
|
558
|
+
_query_params.append(('effectiveAt', _params['effective_at']))
|
559
|
+
|
560
|
+
if _params.get('page') is not None: # noqa: E501
|
561
|
+
_query_params.append(('page', _params['page']))
|
562
|
+
|
563
|
+
if _params.get('limit') is not None: # noqa: E501
|
564
|
+
_query_params.append(('limit', _params['limit']))
|
565
|
+
|
542
566
|
# process the header parameters
|
543
567
|
_header_params = dict(_params.get('_headers', {}))
|
544
568
|
# process the form parameters
|
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.7729\n"\
|
449
449
|
"SDK Package Version: {package_version}".\
|
450
450
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
451
451
|
|
@@ -53,6 +53,7 @@ class FundJournalEntryLine(BaseModel):
|
|
53
53
|
holding_type: StrictStr = Field(...,alias="holdingType", description="Defines the broad category holding within the portfolio.")
|
54
54
|
economic_bucket: StrictStr = Field(...,alias="economicBucket", description="Raw Journal Entry Line details of the economic bucket for the Journal Entry Line.")
|
55
55
|
economic_bucket_component: Optional[StrictStr] = Field(None,alias="economicBucketComponent", description="Sub bucket of the economic bucket.")
|
56
|
+
economic_bucket_variant: Optional[StrictStr] = Field(None,alias="economicBucketVariant", description="Categorisation of a Mark-to-market journal entry line into LongTerm or ShortTerm based on whether the ActivityDate is more than a year after the purchase trade date or not.")
|
56
57
|
levels: Optional[conlist(StrictStr)] = Field(None, description="Resolved data from the general ledger profile where the GeneralLedgerProfileCode is specified in the GetJournalEntryLines request body.")
|
57
58
|
source_levels: Optional[conlist(StrictStr)] = Field(None, alias="sourceLevels", description="Source data from the general ledger profile where the GeneralLedgerProfileCode is specified in the GetJournalEntryLines request body.")
|
58
59
|
movement_sign: Optional[StrictStr] = Field(None,alias="movementSign", description="Indicates if the Journal Entry Line corresponds to a Long or Short movement.")
|
@@ -61,7 +62,7 @@ class FundJournalEntryLine(BaseModel):
|
|
61
62
|
journal_entry_line_type: Optional[StrictStr] = Field(None,alias="journalEntryLineType", description="Indicates the Journal Entry Line type")
|
62
63
|
share_class_breakdowns: Optional[conlist(JournalEntryLineShareClassBreakdown)] = Field(None, alias="shareClassBreakdowns", description="Share Class breakdown data for this Journal Entry Line.")
|
63
64
|
links: Optional[conlist(Link)] = None
|
64
|
-
__properties = ["accountingDate", "activityDate", "portfolioId", "instrumentId", "instrumentScope", "subHoldingKeys", "taxLotId", "generalLedgerAccountCode", "local", "base", "units", "postingModuleCode", "postingRule", "asAtDate", "activitiesDescription", "sourceType", "sourceId", "properties", "movementName", "holdingType", "economicBucket", "economicBucketComponent", "levels", "sourceLevels", "movementSign", "holdingSign", "ledgerColumn", "journalEntryLineType", "shareClassBreakdowns", "links"]
|
65
|
+
__properties = ["accountingDate", "activityDate", "portfolioId", "instrumentId", "instrumentScope", "subHoldingKeys", "taxLotId", "generalLedgerAccountCode", "local", "base", "units", "postingModuleCode", "postingRule", "asAtDate", "activitiesDescription", "sourceType", "sourceId", "properties", "movementName", "holdingType", "economicBucket", "economicBucketComponent", "economicBucketVariant", "levels", "sourceLevels", "movementSign", "holdingSign", "ledgerColumn", "journalEntryLineType", "shareClassBreakdowns", "links"]
|
65
66
|
|
66
67
|
class Config:
|
67
68
|
"""Pydantic configuration"""
|
@@ -167,6 +168,11 @@ class FundJournalEntryLine(BaseModel):
|
|
167
168
|
if self.economic_bucket_component is None and "economic_bucket_component" in self.__fields_set__:
|
168
169
|
_dict['economicBucketComponent'] = None
|
169
170
|
|
171
|
+
# set to None if economic_bucket_variant (nullable) is None
|
172
|
+
# and __fields_set__ contains the field
|
173
|
+
if self.economic_bucket_variant is None and "economic_bucket_variant" in self.__fields_set__:
|
174
|
+
_dict['economicBucketVariant'] = None
|
175
|
+
|
170
176
|
# set to None if levels (nullable) is None
|
171
177
|
# and __fields_set__ contains the field
|
172
178
|
if self.levels is None and "levels" in self.__fields_set__:
|
@@ -251,6 +257,7 @@ class FundJournalEntryLine(BaseModel):
|
|
251
257
|
"holding_type": obj.get("holdingType"),
|
252
258
|
"economic_bucket": obj.get("economicBucket"),
|
253
259
|
"economic_bucket_component": obj.get("economicBucketComponent"),
|
260
|
+
"economic_bucket_variant": obj.get("economicBucketVariant"),
|
254
261
|
"levels": obj.get("levels"),
|
255
262
|
"source_levels": obj.get("sourceLevels"),
|
256
263
|
"movement_sign": obj.get("movementSign"),
|
@@ -52,6 +52,7 @@ class JournalEntryLine(BaseModel):
|
|
52
52
|
holding_type: StrictStr = Field(...,alias="holdingType", description="Defines the broad category holding within the portfolio.")
|
53
53
|
economic_bucket: StrictStr = Field(...,alias="economicBucket", description="Raw Journal Entry Line details of the economic bucket for the Journal Entry Line.")
|
54
54
|
economic_bucket_component: Optional[StrictStr] = Field(None,alias="economicBucketComponent", description="Sub bucket of the economic bucket.")
|
55
|
+
economic_bucket_variant: Optional[StrictStr] = Field(None,alias="economicBucketVariant", description="Categorisation of a Mark-to-market journal entry line into LongTerm or ShortTerm based on whether the ActivityDate is more than a year after the purchase trade date or not.")
|
55
56
|
levels: Optional[conlist(StrictStr)] = Field(None, description="Resolved data from the general ledger profile where the GeneralLedgerProfileCode is specified in the GetJournalEntryLines request body.")
|
56
57
|
source_levels: Optional[conlist(StrictStr)] = Field(None, alias="sourceLevels", description="Source data from the general ledger profile where the GeneralLedgerProfileCode is specified in the GetJournalEntryLines request body.")
|
57
58
|
movement_sign: Optional[StrictStr] = Field(None,alias="movementSign", description="Indicates if the Journal Entry Line corresponds to a Long or Short movement.")
|
@@ -59,7 +60,7 @@ class JournalEntryLine(BaseModel):
|
|
59
60
|
ledger_column: Optional[StrictStr] = Field(None,alias="ledgerColumn", description="Indicates if the Journal Entry Line is credit or debit.")
|
60
61
|
journal_entry_line_type: Optional[StrictStr] = Field(None,alias="journalEntryLineType", description="Indicates the Journal Entry Line type")
|
61
62
|
links: Optional[conlist(Link)] = None
|
62
|
-
__properties = ["accountingDate", "activityDate", "portfolioId", "instrumentId", "instrumentScope", "subHoldingKeys", "taxLotId", "generalLedgerAccountCode", "local", "base", "units", "postingModuleCode", "postingRule", "asAtDate", "activitiesDescription", "sourceType", "sourceId", "properties", "movementName", "holdingType", "economicBucket", "economicBucketComponent", "levels", "sourceLevels", "movementSign", "holdingSign", "ledgerColumn", "journalEntryLineType", "links"]
|
63
|
+
__properties = ["accountingDate", "activityDate", "portfolioId", "instrumentId", "instrumentScope", "subHoldingKeys", "taxLotId", "generalLedgerAccountCode", "local", "base", "units", "postingModuleCode", "postingRule", "asAtDate", "activitiesDescription", "sourceType", "sourceId", "properties", "movementName", "holdingType", "economicBucket", "economicBucketComponent", "economicBucketVariant", "levels", "sourceLevels", "movementSign", "holdingSign", "ledgerColumn", "journalEntryLineType", "links"]
|
63
64
|
|
64
65
|
class Config:
|
65
66
|
"""Pydantic configuration"""
|
@@ -158,6 +159,11 @@ class JournalEntryLine(BaseModel):
|
|
158
159
|
if self.economic_bucket_component is None and "economic_bucket_component" in self.__fields_set__:
|
159
160
|
_dict['economicBucketComponent'] = None
|
160
161
|
|
162
|
+
# set to None if economic_bucket_variant (nullable) is None
|
163
|
+
# and __fields_set__ contains the field
|
164
|
+
if self.economic_bucket_variant is None and "economic_bucket_variant" in self.__fields_set__:
|
165
|
+
_dict['economicBucketVariant'] = None
|
166
|
+
|
161
167
|
# set to None if levels (nullable) is None
|
162
168
|
# and __fields_set__ contains the field
|
163
169
|
if self.levels is None and "levels" in self.__fields_set__:
|
@@ -237,6 +243,7 @@ class JournalEntryLine(BaseModel):
|
|
237
243
|
"holding_type": obj.get("holdingType"),
|
238
244
|
"economic_bucket": obj.get("economicBucket"),
|
239
245
|
"economic_bucket_component": obj.get("economicBucketComponent"),
|
246
|
+
"economic_bucket_variant": obj.get("economicBucketVariant"),
|
240
247
|
"levels": obj.get("levels"),
|
241
248
|
"source_levels": obj.get("sourceLevels"),
|
242
249
|
"movement_sign": obj.get("movementSign"),
|
@@ -22,6 +22,7 @@ from typing import Any, Dict, List, Optional
|
|
22
22
|
from pydantic.v1 import StrictStr, Field, Field, StrictStr, conlist, constr, validator
|
23
23
|
from lusid.models.lusid_instrument import LusidInstrument
|
24
24
|
from lusid.models.time_zone_conventions import TimeZoneConventions
|
25
|
+
from lusid.models.trading_conventions import TradingConventions
|
25
26
|
|
26
27
|
class SimpleInstrument(LusidInstrument):
|
27
28
|
"""
|
@@ -33,9 +34,10 @@ class SimpleInstrument(LusidInstrument):
|
|
33
34
|
fgn_ccys: Optional[conlist(StrictStr)] = Field(None, alias="fgnCcys", description="The set of foreign currencies, if any (optional).")
|
34
35
|
simple_instrument_type: StrictStr = Field(...,alias="simpleInstrumentType", description="The Instrument type of the simple instrument.")
|
35
36
|
time_zone_conventions: Optional[TimeZoneConventions] = Field(None, alias="timeZoneConventions")
|
37
|
+
trading_conventions: Optional[TradingConventions] = Field(None, alias="tradingConventions")
|
36
38
|
instrument_type: StrictStr = Field(...,alias="instrumentType", description="The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan, UnsettledCash, Cash, MasteredInstrument, LoanFacility, FlexibleDeposit")
|
37
39
|
additional_properties: Dict[str, Any] = {}
|
38
|
-
__properties = ["instrumentType", "maturityDate", "domCcy", "assetClass", "fgnCcys", "simpleInstrumentType", "timeZoneConventions"]
|
40
|
+
__properties = ["instrumentType", "maturityDate", "domCcy", "assetClass", "fgnCcys", "simpleInstrumentType", "timeZoneConventions", "tradingConventions"]
|
39
41
|
|
40
42
|
@validator('asset_class')
|
41
43
|
def asset_class_validate_enum(cls, value):
|
@@ -191,6 +193,9 @@ class SimpleInstrument(LusidInstrument):
|
|
191
193
|
# override the default output from pydantic by calling `to_dict()` of time_zone_conventions
|
192
194
|
if self.time_zone_conventions:
|
193
195
|
_dict['timeZoneConventions'] = self.time_zone_conventions.to_dict()
|
196
|
+
# override the default output from pydantic by calling `to_dict()` of trading_conventions
|
197
|
+
if self.trading_conventions:
|
198
|
+
_dict['tradingConventions'] = self.trading_conventions.to_dict()
|
194
199
|
# puts key-value pairs in additional_properties in the top level
|
195
200
|
if self.additional_properties is not None:
|
196
201
|
for _key, _value in self.additional_properties.items():
|
@@ -219,7 +224,8 @@ class SimpleInstrument(LusidInstrument):
|
|
219
224
|
"asset_class": obj.get("assetClass"),
|
220
225
|
"fgn_ccys": obj.get("fgnCcys"),
|
221
226
|
"simple_instrument_type": obj.get("simpleInstrumentType"),
|
222
|
-
"time_zone_conventions": TimeZoneConventions.from_dict(obj.get("timeZoneConventions")) if obj.get("timeZoneConventions") is not None else None
|
227
|
+
"time_zone_conventions": TimeZoneConventions.from_dict(obj.get("timeZoneConventions")) if obj.get("timeZoneConventions") is not None else None,
|
228
|
+
"trading_conventions": TradingConventions.from_dict(obj.get("tradingConventions")) if obj.get("tradingConventions") is not None else None
|
223
229
|
})
|
224
230
|
# store additional fields in additional_properties
|
225
231
|
for _key in obj.keys():
|
@@ -10,7 +10,7 @@ lusid/api/application_metadata_api.py,sha256=GdueWnWdBjIhbyb6gfBgLYqQ7_UerR0J68T
|
|
10
10
|
lusid/api/blocks_api.py,sha256=WvkS7tK4jY1R_SWV8FqjCr5zpF9Gx1basp62FBdyH_E,43230
|
11
11
|
lusid/api/calendars_api.py,sha256=Z1Zo2PDggpII8e6DyKlun1EZkCqU0I9MtqTsKfu5buI,141755
|
12
12
|
lusid/api/chart_of_accounts_api.py,sha256=IjcmZkafnygX94B-Efv43JzCBPVkrambPnOvAbhmOzk,404308
|
13
|
-
lusid/api/complex_market_data_api.py,sha256=
|
13
|
+
lusid/api/complex_market_data_api.py,sha256=qxhtgdCS0oIctX3T6V90wk7FiTeB_Hubu_yRTUPyGwg,67034
|
14
14
|
lusid/api/compliance_api.py,sha256=mbq3E4h6nMQp7mowJussYN2f92YDIsjwYQw7wiTjHG4,147595
|
15
15
|
lusid/api/configuration_recipe_api.py,sha256=1hdNB1imRjVzf8KAmqnNJE10jv883s1SCza5dl8fP9Q,99363
|
16
16
|
lusid/api/conventions_api.py,sha256=dsvB_lAcR5oVQLTqVJj9_zruF7Tyn8aGzD9EmEKvfWY,104288
|
@@ -74,7 +74,7 @@ lusid/api/translation_api.py,sha256=xpRuTfwQvYBlWe6r_L2EI_uVpXqHFnEOim-i-kVQ85E,
|
|
74
74
|
lusid/api/workspace_api.py,sha256=QmcywrL34lbVo4CbSwyyJDh0kRG7Gt91xrQB0ShqQQQ,106017
|
75
75
|
lusid/api_client.py,sha256=ewMTmf9SRurY8pYnUx9jy24RdldPCOa4US38pnrVxjA,31140
|
76
76
|
lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
|
77
|
-
lusid/configuration.py,sha256=
|
77
|
+
lusid/configuration.py,sha256=4-E3zol5H65_puv9b9og-iiz1hsIrocrM_o4xl9CDAA,17972
|
78
78
|
lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
|
79
79
|
lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
|
80
80
|
lusid/extensions/api_client.py,sha256=GzygWg_h603QK1QS2HvAijuE2R1TnvoF6-Yg0CeM3ug,30943
|
@@ -488,7 +488,7 @@ lusid/models/fund_configuration_properties.py,sha256=b-4hJF9TltJf3lmaSyDjeGUhjjh
|
|
488
488
|
lusid/models/fund_configuration_request.py,sha256=ALjjBed5PSP9vPaJzGPeXmsm0LzfmiBmjZNGu5eWJ7Y,7208
|
489
489
|
lusid/models/fund_details.py,sha256=LCOrrTtyRtdxIfKxIuhf7a_qW5iNfQ_-5NJdMr7sZBw,2427
|
490
490
|
lusid/models/fund_id_list.py,sha256=D_idTEzdmYc5gDVHSI-K5aY7o1ZKSees358NO4g1h1w,6944
|
491
|
-
lusid/models/fund_journal_entry_line.py,sha256=
|
491
|
+
lusid/models/fund_journal_entry_line.py,sha256=bCCnsI9amXpTKxaR9w2WNElunxGn6XZ-PZ1aZ4d3Jug,15946
|
492
492
|
lusid/models/fund_pnl_breakdown.py,sha256=VnRhnpqPP6QNFaIKjJRx9UT77Rcquxl--ynKEzzVPDM,4653
|
493
493
|
lusid/models/fund_previous_nav.py,sha256=pS6RoeqlQRytoJq_vplGYDGX2oH-6Q44B7elZGRfYsE,2162
|
494
494
|
lusid/models/fund_properties.py,sha256=SfdvEcARxxk_Akxr92DTGxM_0Ode9T6bBcExeG6K7ys,4489
|
@@ -639,7 +639,7 @@ lusid/models/intermediate_securities_distribution_event.py,sha256=v_GTteLvKtoZgT
|
|
639
639
|
lusid/models/ir_vol_cube_data.py,sha256=uJGOWjam6iYYa2zv-Zq3YEtBPFa-ceiLom6CmCYmxGo,9097
|
640
640
|
lusid/models/ir_vol_dependency.py,sha256=KXlWve54ZYT7oD3L3nudagtHx70IYGSxNuZ-Fwlm13I,7758
|
641
641
|
lusid/models/is_business_day_response.py,sha256=s2swRw2kvUrJtUF-tVG_lIR9sFqdPzgfk4acEs9ifm8,2395
|
642
|
-
lusid/models/journal_entry_line.py,sha256=
|
642
|
+
lusid/models/journal_entry_line.py,sha256=ILP0DFuAQ8u6aghVa2fV4jQ2lXT-m8cKFqNmz1QdDjk,14726
|
643
643
|
lusid/models/journal_entry_line_share_class_breakdown.py,sha256=3owK3HEMv5Qa_NbKm9Wy3cQLyS0rfwvPkGVorV0h8VQ,3376
|
644
644
|
lusid/models/journal_entry_lines_query_parameters.py,sha256=btvDczLwU_gyjjwy9NRxZZ6ziPIYy8PSmllDNl_h0gs,4470
|
645
645
|
lusid/models/label_value_set.py,sha256=6ewaKwSt-cUanN0ZtH1E4y4UtZAe4hs9TF40MKXbtM4,2114
|
@@ -1078,7 +1078,7 @@ lusid/models/side_definition.py,sha256=CvaBprb8Yfn4-RIGZwDe_6lbYrXqIoceHHSEraDqq
|
|
1078
1078
|
lusid/models/side_definition_request.py,sha256=82qCIEygo3CVGiiXcYK8cf6GDgimJTo-ilI_HlNci6c,3867
|
1079
1079
|
lusid/models/sides_definition_request.py,sha256=tM5Eo8aIEQoMy0qzv1WQZlst_yV3RwIemY-wlvbFqMU,2654
|
1080
1080
|
lusid/models/simple_cash_flow_loan.py,sha256=_0mw2FuPfVzFODGeYwChRvO1vqZhckpjETx5EixP0uU,9766
|
1081
|
-
lusid/models/simple_instrument.py,sha256=
|
1081
|
+
lusid/models/simple_instrument.py,sha256=KG0VdyhnKBWcxwyr_qhqPPxozFsWSfefvEuAIzjaZs4,14376
|
1082
1082
|
lusid/models/simple_rounding_convention.py,sha256=txqtrVhoOfgLx5zQKvPJPl1lUNOQ95QYk4FPhkdDDbo,2996
|
1083
1083
|
lusid/models/sort_order.py,sha256=tx9hNHkrcdw2gQkSLTGQ-JED7cqZoFJ60abVdqkD-GM,644
|
1084
1084
|
lusid/models/specific_holding_pricing_info.py,sha256=dSwywkW-7xLyDND_JDzHrDDEbVeDNQC8AuDM0iUWaeM,2957
|
@@ -1300,6 +1300,6 @@ lusid/models/year_month_day.py,sha256=gwSoxFwlD_wffKdddo1wfvAcLq3Cht3FHQidiaHzAA
|
|
1300
1300
|
lusid/models/yield_curve_data.py,sha256=I1ZSWxHMgUxj9OQt6i9a4S91KB4_XtmrfFxpN_PV3YQ,9561
|
1301
1301
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1302
1302
|
lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
|
1303
|
-
lusid_sdk-2.1.
|
1304
|
-
lusid_sdk-2.1.
|
1305
|
-
lusid_sdk-2.1.
|
1303
|
+
lusid_sdk-2.1.778.dist-info/METADATA,sha256=Qnqc-SOew-4reu4TRawPFWdF1gg7hPo_jGvt2l5pjA4,217922
|
1304
|
+
lusid_sdk-2.1.778.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
1305
|
+
lusid_sdk-2.1.778.dist-info/RECORD,,
|
File without changes
|