lusid-sdk 2.1.405__py3-none-any.whl → 2.1.537__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 +142 -8
- lusid/api/__init__.py +2 -2
- lusid/api/abor_api.py +126 -133
- lusid/api/abor_configuration_api.py +46 -45
- lusid/api/address_key_definition_api.py +28 -27
- lusid/api/aggregation_api.py +37 -36
- lusid/api/allocations_api.py +39 -38
- lusid/api/amortisation_rule_sets_api.py +55 -54
- lusid/api/application_metadata_api.py +28 -27
- lusid/api/blocks_api.py +37 -36
- lusid/api/calendars_api.py +469 -111
- lusid/api/chart_of_accounts_api.py +454 -279
- lusid/api/complex_market_data_api.py +37 -36
- lusid/api/compliance_api.py +136 -135
- lusid/api/configuration_recipe_api.py +100 -99
- lusid/api/conventions_api.py +109 -108
- lusid/api/corporate_action_sources_api.py +82 -81
- lusid/api/counterparties_api.py +73 -72
- lusid/api/custom_entities_api.py +102 -101
- lusid/api/custom_entity_definitions_api.py +37 -36
- lusid/api/custom_entity_types_api.py +37 -36
- lusid/api/cut_label_definitions_api.py +46 -45
- lusid/api/data_types_api.py +248 -72
- lusid/api/derived_transaction_portfolios_api.py +19 -18
- lusid/api/entities_api.py +431 -46
- lusid/api/executions_api.py +37 -36
- lusid/api/fee_types_api.py +55 -54
- lusid/api/{fund_configurations_api.py → fund_configuration_api.py} +222 -46
- lusid/api/funds_api.py +337 -162
- lusid/api/group_reconciliations_api.py +2182 -63
- lusid/api/instrument_event_types_api.py +64 -63
- lusid/api/instrument_events_api.py +46 -45
- lusid/api/instruments_api.py +374 -186
- lusid/api/legacy_compliance_api.py +73 -72
- lusid/api/legal_entities_api.py +167 -166
- lusid/api/order_graph_api.py +32 -31
- lusid/api/order_instructions_api.py +37 -36
- lusid/api/order_management_api.py +251 -90
- lusid/api/orders_api.py +37 -36
- lusid/api/packages_api.py +37 -36
- lusid/api/participations_api.py +37 -36
- lusid/api/persons_api.py +163 -162
- lusid/api/placements_api.py +37 -36
- lusid/api/portfolio_groups_api.py +235 -234
- lusid/api/portfolios_api.py +307 -309
- lusid/api/property_definitions_api.py +100 -99
- lusid/api/queryable_keys_api.py +10 -9
- lusid/api/quotes_api.py +82 -81
- lusid/api/reconciliations_api.py +136 -135
- lusid/api/reference_lists_api.py +39 -38
- lusid/api/reference_portfolio_api.py +213 -36
- lusid/api/relation_definitions_api.py +28 -27
- lusid/api/relations_api.py +19 -18
- lusid/api/relationship_definitions_api.py +46 -45
- lusid/api/relationships_api.py +19 -18
- lusid/api/schemas_api.py +37 -36
- lusid/api/scopes_api.py +19 -18
- lusid/api/scripted_translation_api.py +73 -72
- lusid/api/search_api.py +37 -36
- lusid/api/sequences_api.py +37 -36
- lusid/api/staged_modifications_api.py +37 -36
- lusid/api/staging_rule_set_api.py +46 -45
- lusid/api/structured_result_data_api.py +82 -81
- lusid/api/system_configuration_api.py +64 -63
- lusid/api/tax_rule_sets_api.py +46 -45
- lusid/api/transaction_configuration_api.py +100 -99
- lusid/api/transaction_fees_api.py +46 -45
- lusid/api/transaction_portfolios_api.py +771 -328
- lusid/api/translation_api.py +19 -18
- lusid/api/workspace_api.py +181 -180
- lusid/api_client.py +26 -17
- lusid/configuration.py +87 -2
- lusid/extensions/api_client.py +25 -17
- lusid/extensions/api_client_factory.py +14 -5
- lusid/extensions/api_configuration.py +50 -1
- lusid/extensions/configuration_loaders.py +39 -11
- lusid/extensions/configuration_options.py +67 -0
- lusid/extensions/rest.py +78 -26
- lusid/extensions/retry.py +109 -37
- lusid/models/__init__.py +140 -6
- lusid/models/access_metadata_value.py +1 -1
- lusid/models/accounting_method.py +7 -0
- lusid/models/accumulation_event.py +3 -3
- lusid/models/address_key_list.py +3 -3
- lusid/models/amortisation_event.py +3 -3
- lusid/models/amount.py +69 -0
- lusid/models/applicable_instrument_event.py +7 -2
- lusid/models/asset_leg.py +1 -1
- lusid/models/basket.py +3 -3
- lusid/models/batch_update_user_review_for_comparison_result_request.py +81 -0
- lusid/models/batch_update_user_review_for_comparison_result_response.py +146 -0
- lusid/models/batch_upsert_dates_for_calendar_response.py +146 -0
- lusid/models/batch_upsert_portfolio_access_metadata_request.py +27 -17
- lusid/models/batch_upsert_portfolio_access_metadata_response.py +56 -16
- lusid/models/{metadata_key_value.py → batch_upsert_portfolio_access_metadata_response_item.py} +15 -9
- lusid/models/bond.py +3 -3
- lusid/models/bond_coupon_event.py +10 -5
- lusid/models/bond_default_event.py +3 -3
- lusid/models/bond_principal_event.py +10 -5
- lusid/models/bonus_issue_event.py +166 -0
- lusid/models/{component_rule.py → break_code_source.py} +17 -21
- lusid/models/call_on_intermediate_securities_event.py +139 -0
- lusid/models/cancel_order_and_move_remaining_result.py +84 -0
- lusid/models/cancel_orders_and_move_remaining_request.py +83 -0
- lusid/models/cancel_orders_and_move_remaining_response.py +153 -0
- lusid/models/cap_floor.py +3 -3
- lusid/models/capital_distribution_event.py +3 -3
- lusid/models/cash.py +3 -3
- lusid/models/cash_dividend_event.py +3 -3
- lusid/models/cash_flow_event.py +3 -3
- lusid/models/cash_perpetual.py +3 -3
- lusid/models/cds_credit_event.py +6 -6
- lusid/models/cds_index.py +3 -3
- lusid/models/cdx_credit_event.py +6 -6
- lusid/models/change_interval.py +123 -0
- lusid/models/change_interval_with_order_management_detail.py +3 -3
- lusid/models/close_event.py +3 -3
- lusid/models/comparison_attribute_value_pair.py +71 -0
- lusid/models/complex_bond.py +3 -3
- lusid/models/component_transaction.py +10 -3
- lusid/models/contract_for_difference.py +3 -3
- lusid/models/create_derived_transaction_portfolio_request.py +3 -3
- lusid/models/create_group_reconciliation_definition_request.py +113 -0
- lusid/models/create_staging_rule_set_request.py +1 -6
- lusid/models/create_transaction_portfolio_request.py +3 -3
- lusid/models/credit_default_swap.py +3 -3
- lusid/models/credit_premium_cash_flow_event.py +3 -3
- lusid/models/custodian_account_request.py +1 -1
- lusid/models/custom_entity_entity.py +146 -0
- lusid/models/custom_entity_response.py +7 -1
- lusid/models/decimal_list.py +3 -3
- lusid/models/delete_instrument_properties_response.py +7 -1
- lusid/models/delete_instrument_response.py +7 -1
- lusid/models/delete_instruments_response.py +22 -1
- lusid/models/deleted_entity_response.py +7 -1
- lusid/models/diary_entry_request.py +10 -1
- lusid/models/dividend_option_event.py +3 -3
- lusid/models/dividend_reinvestment_event.py +9 -4
- lusid/models/effective_range.py +71 -0
- lusid/models/equity.py +3 -3
- lusid/models/equity_option.py +22 -7
- lusid/models/equity_swap.py +3 -3
- lusid/models/exchange_traded_option.py +3 -3
- lusid/models/exchange_traded_option_contract_details.py +1 -1
- lusid/models/exercise_event.py +3 -3
- lusid/models/exotic_instrument.py +3 -3
- lusid/models/expiry_event.py +3 -3
- lusid/models/fee.py +17 -10
- lusid/models/fee_request.py +20 -13
- lusid/models/fee_type.py +4 -4
- lusid/models/fee_type_request.py +3 -3
- lusid/models/fixed_leg.py +3 -3
- lusid/models/fixed_schedule.py +3 -3
- lusid/models/flexible_loan.py +3 -3
- lusid/models/float_schedule.py +4 -4
- lusid/models/floating_leg.py +3 -3
- lusid/models/flow_conventions.py +7 -1
- lusid/models/forward_rate_agreement.py +3 -3
- lusid/models/fund_configuration.py +44 -17
- lusid/models/fund_configuration_request.py +31 -19
- lusid/models/fund_id_list.py +99 -0
- lusid/models/fund_share_class.py +23 -8
- lusid/models/funding_leg.py +3 -3
- lusid/models/future.py +3 -3
- lusid/models/future_expiry_event.py +3 -3
- lusid/models/fx_forward.py +3 -3
- lusid/models/fx_forward_settlement_event.py +3 -3
- lusid/models/fx_option.py +3 -3
- lusid/models/fx_swap.py +3 -3
- lusid/models/group_reconciliation_aggregate_attribute_rule.py +2 -2
- lusid/models/group_reconciliation_aggregate_attribute_values.py +86 -0
- lusid/models/group_reconciliation_aggregate_comparison_rule_operand.py +1 -1
- lusid/models/group_reconciliation_comparison_result.py +148 -0
- lusid/models/group_reconciliation_core_attribute_values.py +86 -0
- lusid/models/group_reconciliation_core_comparison_rule_operand.py +1 -1
- lusid/models/group_reconciliation_date_pair.py +81 -0
- lusid/models/group_reconciliation_dates.py +78 -0
- lusid/models/group_reconciliation_definition.py +136 -0
- lusid/models/group_reconciliation_definition_comparison_ruleset_ids.py +83 -0
- lusid/models/group_reconciliation_definition_currencies.py +71 -0
- lusid/models/group_reconciliation_definition_portfolio_entity_ids.py +86 -0
- lusid/models/group_reconciliation_definition_recipe_ids.py +78 -0
- lusid/models/group_reconciliation_instance_id.py +71 -0
- lusid/models/group_reconciliation_result_statuses.py +89 -0
- lusid/models/group_reconciliation_result_types.py +96 -0
- lusid/models/group_reconciliation_review_statuses.py +96 -0
- lusid/models/group_reconciliation_run_details.py +76 -0
- lusid/models/group_reconciliation_run_request.py +75 -0
- lusid/models/{metadata_key_value_response.py → group_reconciliation_run_response.py} +20 -29
- lusid/models/group_reconciliation_summary.py +121 -0
- lusid/models/group_reconciliation_user_review.py +112 -0
- lusid/models/group_reconciliation_user_review_add.py +88 -0
- lusid/models/group_reconciliation_user_review_break_code.py +80 -0
- lusid/models/group_reconciliation_user_review_comment.py +80 -0
- lusid/models/group_reconciliation_user_review_match_key.py +80 -0
- lusid/models/group_reconciliation_user_review_remove.py +88 -0
- lusid/models/holding_contributor.py +11 -4
- lusid/models/holding_ids_request.py +69 -0
- lusid/models/inflation_leg.py +3 -3
- lusid/models/inflation_linked_bond.py +3 -3
- lusid/models/inflation_swap.py +3 -3
- lusid/models/informational_error_event.py +3 -3
- lusid/models/informational_event.py +3 -3
- lusid/models/instrument.py +7 -1
- lusid/models/instrument_definition.py +8 -2
- lusid/models/instrument_event.py +17 -5
- lusid/models/instrument_event_holder.py +9 -1
- lusid/models/instrument_event_type.py +12 -0
- lusid/models/instrument_leg.py +3 -3
- lusid/models/instrument_list.py +3 -3
- lusid/models/instrument_type.py +2 -0
- lusid/models/interest_rate_swap.py +3 -3
- lusid/models/interest_rate_swaption.py +3 -3
- lusid/models/intermediate_securities_distribution_event.py +140 -0
- lusid/models/lapse_election.py +73 -0
- lusid/models/loan_facility.py +97 -0
- lusid/models/lusid_instrument.py +7 -5
- lusid/models/market_data_key_rule.py +5 -3
- lusid/models/market_data_specific_rule.py +5 -3
- lusid/models/mastered_instrument.py +139 -0
- lusid/models/maturity_event.py +3 -3
- lusid/models/mbs_coupon_event.py +102 -0
- lusid/models/mbs_interest_deferral_event.py +102 -0
- lusid/models/mbs_interest_shortfall_event.py +102 -0
- lusid/models/mbs_principal_event.py +102 -0
- lusid/models/mbs_principal_write_off_event.py +102 -0
- lusid/models/merger_event.py +22 -22
- lusid/models/new_instrument.py +1 -1
- lusid/models/open_event.py +3 -3
- lusid/models/option_exercise_cash_event.py +144 -0
- lusid/models/option_exercise_election.py +73 -0
- lusid/models/option_exercise_physical_event.py +149 -0
- lusid/models/output_transaction.py +9 -2
- lusid/models/paged_resource_list_of_group_reconciliation_comparison_result.py +113 -0
- lusid/models/paged_resource_list_of_group_reconciliation_comparison_ruleset.py +113 -0
- lusid/models/paged_resource_list_of_group_reconciliation_definition.py +113 -0
- lusid/models/portfolio.py +3 -3
- lusid/models/portfolio_details.py +3 -3
- lusid/models/portfolio_group_id_list.py +3 -3
- lusid/models/portfolio_id_list.py +3 -3
- lusid/models/portfolio_without_href.py +3 -3
- lusid/models/pricing_options.py +8 -2
- lusid/models/property_list.py +3 -3
- lusid/models/protection_payout_cash_flow_event.py +102 -0
- lusid/models/raw_vendor_event.py +3 -3
- lusid/models/reference_instrument.py +3 -3
- lusid/models/reference_list.py +6 -5
- lusid/models/reference_list_type.py +1 -0
- lusid/models/repo.py +3 -3
- lusid/models/reset_event.py +3 -3
- lusid/models/resource_list_of_change_interval.py +113 -0
- lusid/models/resource_list_of_output_transaction.py +113 -0
- lusid/models/return_zero_pv_options.py +69 -0
- lusid/models/reverse_stock_split_event.py +21 -7
- lusid/models/scrip_dividend_event.py +3 -3
- lusid/models/settlement_cycle.py +79 -0
- lusid/models/share_class_dealing_breakdown.py +3 -2
- lusid/models/share_class_details.py +18 -1
- lusid/models/simple_cash_flow_loan.py +3 -3
- lusid/models/simple_instrument.py +3 -3
- lusid/models/simple_rounding_convention.py +76 -0
- lusid/models/spin_off_event.py +3 -3
- lusid/models/staged_modification_effective_range.py +2 -2
- lusid/models/stock_dividend_event.py +20 -6
- lusid/models/stock_split_event.py +3 -3
- lusid/models/string_list.py +3 -3
- lusid/models/swap_cash_flow_event.py +3 -3
- lusid/models/swap_principal_event.py +3 -3
- lusid/models/target_tax_lot.py +23 -2
- lusid/models/target_tax_lot_request.py +23 -2
- lusid/models/tender_event.py +172 -0
- lusid/models/term_deposit.py +3 -3
- lusid/models/total_return_swap.py +4 -4
- lusid/models/transaction.py +9 -2
- lusid/models/transaction_date_windows.py +85 -0
- lusid/models/transaction_price.py +3 -3
- lusid/models/transaction_price_type.py +2 -0
- lusid/models/transaction_request.py +9 -2
- lusid/models/transition_event.py +3 -3
- lusid/models/trigger_event.py +3 -3
- lusid/models/update_fee_type_request.py +4 -4
- lusid/models/update_group_reconciliation_comparison_ruleset_request.py +91 -0
- lusid/models/update_group_reconciliation_definition_request.py +107 -0
- lusid/models/update_reference_data_request.py +87 -0
- lusid/models/update_staging_rule_set_request.py +1 -6
- lusid/models/upsert_custom_entities_response.py +20 -1
- lusid/models/upsert_reference_portfolio_constituent_properties_request.py +84 -0
- lusid/models/upsert_reference_portfolio_constituent_properties_response.py +115 -0
- lusid/models/valuation_point_data_query_parameters.py +3 -3
- lusid/models/valuation_point_data_response.py +8 -13
- lusid/rest.py +70 -20
- {lusid_sdk-2.1.405.dist-info → lusid_sdk-2.1.537.dist-info}/METADATA +118 -26
- {lusid_sdk-2.1.405.dist-info → lusid_sdk-2.1.537.dist-info}/RECORD +294 -226
- {lusid_sdk-2.1.405.dist-info → lusid_sdk-2.1.537.dist-info}/WHEEL +0 -0
lusid/api/instruments_api.py
CHANGED
@@ -26,6 +26,7 @@ from pydantic.v1 import Field, StrictStr, conint, conlist, constr, validator
|
|
26
26
|
|
27
27
|
from typing import Dict, List, Optional
|
28
28
|
|
29
|
+
from lusid.models.add_business_days_to_date_response import AddBusinessDaysToDateResponse
|
29
30
|
from lusid.models.batch_upsert_instrument_properties_response import BatchUpsertInstrumentPropertiesResponse
|
30
31
|
from lusid.models.delete_instrument_properties_response import DeleteInstrumentPropertiesResponse
|
31
32
|
from lusid.models.delete_instrument_response import DeleteInstrumentResponse
|
@@ -54,6 +55,7 @@ from lusid.exceptions import ( # noqa: F401
|
|
54
55
|
ApiTypeError,
|
55
56
|
ApiValueError
|
56
57
|
)
|
58
|
+
from lusid.extensions.configuration_options import ConfigurationOptions
|
57
59
|
|
58
60
|
|
59
61
|
class InstrumentsApi:
|
@@ -78,7 +80,7 @@ class InstrumentsApi:
|
|
78
80
|
|
79
81
|
@validate_arguments
|
80
82
|
def batch_upsert_instrument_properties(self, request_body : Annotated[Dict[str, UpsertInstrumentPropertyRequest], Field(..., description="A list of instruments and associated instrument properties to create or update.")], scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, identifier_effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime used to resolve each instrument from the provided identifiers. Defaults to the current LUSID system datetime if not specified.")] = None, success_mode : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[BatchUpsertInstrumentPropertiesResponse, Awaitable[BatchUpsertInstrumentPropertiesResponse]]: # noqa: E501
|
81
|
-
"""
|
83
|
+
"""BatchUpsertInstrumentProperties: Batch upsert instruments properties # noqa: E501
|
82
84
|
|
83
85
|
Create or update one or more properties for particular instruments. Each instrument property is updated if it exists and created if it does not. For any failures, a reason is provided. Properties have an <i>effectiveFrom</i> datetime from which the property is valid, and an <i>effectiveUntil</i> datetime until which the property is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property. # noqa: E501
|
84
86
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -97,10 +99,9 @@ class InstrumentsApi:
|
|
97
99
|
:type success_mode: str
|
98
100
|
:param async_req: Whether to execute the request asynchronously.
|
99
101
|
:type async_req: bool, optional
|
100
|
-
:param _request_timeout:
|
101
|
-
|
102
|
-
|
103
|
-
(connection, read) timeouts.
|
102
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
103
|
+
:param opts: Configuration options for this request
|
104
|
+
:type opts: ConfigurationOptions, optional
|
104
105
|
:return: Returns the result object.
|
105
106
|
If the method is called asynchronously,
|
106
107
|
returns the request thread.
|
@@ -116,7 +117,7 @@ class InstrumentsApi:
|
|
116
117
|
|
117
118
|
@validate_arguments
|
118
119
|
def batch_upsert_instrument_properties_with_http_info(self, request_body : Annotated[Dict[str, UpsertInstrumentPropertyRequest], Field(..., description="A list of instruments and associated instrument properties to create or update.")], scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, identifier_effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime used to resolve each instrument from the provided identifiers. Defaults to the current LUSID system datetime if not specified.")] = None, success_mode : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
119
|
-
"""
|
120
|
+
"""BatchUpsertInstrumentProperties: Batch upsert instruments properties # noqa: E501
|
120
121
|
|
121
122
|
Create or update one or more properties for particular instruments. Each instrument property is updated if it exists and created if it does not. For any failures, a reason is provided. Properties have an <i>effectiveFrom</i> datetime from which the property is valid, and an <i>effectiveUntil</i> datetime until which the property is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property. # noqa: E501
|
122
123
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -143,10 +144,9 @@ class InstrumentsApi:
|
|
143
144
|
:param _return_http_data_only: response data instead of ApiResponse
|
144
145
|
object with status code, headers, etc
|
145
146
|
:type _return_http_data_only: bool, optional
|
146
|
-
:param _request_timeout:
|
147
|
-
|
148
|
-
|
149
|
-
(connection, read) timeouts.
|
147
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
148
|
+
:param opts: Configuration options for this request
|
149
|
+
:type opts: ConfigurationOptions, optional
|
150
150
|
:param _request_auth: set to override the auth_settings for an a single
|
151
151
|
request; this effectively ignores the authentication
|
152
152
|
in the spec for a single request.
|
@@ -174,7 +174,8 @@ class InstrumentsApi:
|
|
174
174
|
'_request_timeout',
|
175
175
|
'_request_auth',
|
176
176
|
'_content_type',
|
177
|
-
'_headers'
|
177
|
+
'_headers',
|
178
|
+
'opts'
|
178
179
|
]
|
179
180
|
)
|
180
181
|
|
@@ -247,6 +248,193 @@ class InstrumentsApi:
|
|
247
248
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
248
249
|
_preload_content=_params.get('_preload_content', True),
|
249
250
|
_request_timeout=_params.get('_request_timeout'),
|
251
|
+
opts=_params.get('opts'),
|
252
|
+
collection_formats=_collection_formats,
|
253
|
+
_request_auth=_params.get('_request_auth'))
|
254
|
+
|
255
|
+
@overload
|
256
|
+
async def calculate_settlement_date(self, identifier_type : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="An identifier type attached to the Instrument.")], identifier : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The identifier value.")], transaction_date : Annotated[Optional[StrictStr], Field(description="The transaction date to calculate the settlement date from. This can be a UTC datetime offset or a cut label.")] = None, scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the related instrument and calendars for calculation. Defaults to returning the latest version if not specified.")] = None, **kwargs) -> AddBusinessDaysToDateResponse: # noqa: E501
|
257
|
+
...
|
258
|
+
|
259
|
+
@overload
|
260
|
+
def calculate_settlement_date(self, identifier_type : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="An identifier type attached to the Instrument.")], identifier : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The identifier value.")], transaction_date : Annotated[Optional[StrictStr], Field(description="The transaction date to calculate the settlement date from. This can be a UTC datetime offset or a cut label.")] = None, scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the related instrument and calendars for calculation. Defaults to returning the latest version if not specified.")] = None, async_req: Optional[bool]=True, **kwargs) -> AddBusinessDaysToDateResponse: # noqa: E501
|
261
|
+
...
|
262
|
+
|
263
|
+
@validate_arguments
|
264
|
+
def calculate_settlement_date(self, identifier_type : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="An identifier type attached to the Instrument.")], identifier : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The identifier value.")], transaction_date : Annotated[Optional[StrictStr], Field(description="The transaction date to calculate the settlement date from. This can be a UTC datetime offset or a cut label.")] = None, scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the related instrument and calendars for calculation. Defaults to returning the latest version if not specified.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[AddBusinessDaysToDateResponse, Awaitable[AddBusinessDaysToDateResponse]]: # noqa: E501
|
265
|
+
"""[EARLY ACCESS] CalculateSettlementDate: Get the settlement date for an instrument. # noqa: E501
|
266
|
+
|
267
|
+
Get the settlement date for a given trade date and instrument. The calculated settlement date will be in UTC. If a cut label transaction date is provided, the settlement date will be calculated relative to the absolute UTC datetime. # noqa: E501
|
268
|
+
This method makes a synchronous HTTP request by default. To make an
|
269
|
+
asynchronous HTTP request, please pass async_req=True
|
270
|
+
|
271
|
+
>>> thread = api.calculate_settlement_date(identifier_type, identifier, transaction_date, scope, as_at, async_req=True)
|
272
|
+
>>> result = thread.get()
|
273
|
+
|
274
|
+
:param identifier_type: An identifier type attached to the Instrument. (required)
|
275
|
+
:type identifier_type: str
|
276
|
+
:param identifier: The identifier value. (required)
|
277
|
+
:type identifier: str
|
278
|
+
:param transaction_date: The transaction date to calculate the settlement date from. This can be a UTC datetime offset or a cut label.
|
279
|
+
:type transaction_date: str
|
280
|
+
:param scope: The scope in which the instrument lies. When not supplied the scope is 'default'.
|
281
|
+
:type scope: str
|
282
|
+
:param as_at: The asAt datetime at which to retrieve the related instrument and calendars for calculation. Defaults to returning the latest version if not specified.
|
283
|
+
:type as_at: datetime
|
284
|
+
:param async_req: Whether to execute the request asynchronously.
|
285
|
+
:type async_req: bool, optional
|
286
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
287
|
+
:param opts: Configuration options for this request
|
288
|
+
:type opts: ConfigurationOptions, optional
|
289
|
+
:return: Returns the result object.
|
290
|
+
If the method is called asynchronously,
|
291
|
+
returns the request thread.
|
292
|
+
:rtype: AddBusinessDaysToDateResponse
|
293
|
+
"""
|
294
|
+
kwargs['_return_http_data_only'] = True
|
295
|
+
if '_preload_content' in kwargs:
|
296
|
+
message = "Error! Please call the calculate_settlement_date_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
297
|
+
raise ValueError(message)
|
298
|
+
if async_req is not None:
|
299
|
+
kwargs['async_req'] = async_req
|
300
|
+
return self.calculate_settlement_date_with_http_info(identifier_type, identifier, transaction_date, scope, as_at, **kwargs) # noqa: E501
|
301
|
+
|
302
|
+
@validate_arguments
|
303
|
+
def calculate_settlement_date_with_http_info(self, identifier_type : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="An identifier type attached to the Instrument.")], identifier : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The identifier value.")], transaction_date : Annotated[Optional[StrictStr], Field(description="The transaction date to calculate the settlement date from. This can be a UTC datetime offset or a cut label.")] = None, scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the related instrument and calendars for calculation. Defaults to returning the latest version if not specified.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
304
|
+
"""[EARLY ACCESS] CalculateSettlementDate: Get the settlement date for an instrument. # noqa: E501
|
305
|
+
|
306
|
+
Get the settlement date for a given trade date and instrument. The calculated settlement date will be in UTC. If a cut label transaction date is provided, the settlement date will be calculated relative to the absolute UTC datetime. # noqa: E501
|
307
|
+
This method makes a synchronous HTTP request by default. To make an
|
308
|
+
asynchronous HTTP request, please pass async_req=True
|
309
|
+
|
310
|
+
>>> thread = api.calculate_settlement_date_with_http_info(identifier_type, identifier, transaction_date, scope, as_at, async_req=True)
|
311
|
+
>>> result = thread.get()
|
312
|
+
|
313
|
+
:param identifier_type: An identifier type attached to the Instrument. (required)
|
314
|
+
:type identifier_type: str
|
315
|
+
:param identifier: The identifier value. (required)
|
316
|
+
:type identifier: str
|
317
|
+
:param transaction_date: The transaction date to calculate the settlement date from. This can be a UTC datetime offset or a cut label.
|
318
|
+
:type transaction_date: str
|
319
|
+
:param scope: The scope in which the instrument lies. When not supplied the scope is 'default'.
|
320
|
+
:type scope: str
|
321
|
+
:param as_at: The asAt datetime at which to retrieve the related instrument and calendars for calculation. Defaults to returning the latest version if not specified.
|
322
|
+
:type as_at: datetime
|
323
|
+
:param async_req: Whether to execute the request asynchronously.
|
324
|
+
:type async_req: bool, optional
|
325
|
+
:param _preload_content: if False, the ApiResponse.data will
|
326
|
+
be set to none and raw_data will store the
|
327
|
+
HTTP response body without reading/decoding.
|
328
|
+
Default is True.
|
329
|
+
:type _preload_content: bool, optional
|
330
|
+
:param _return_http_data_only: response data instead of ApiResponse
|
331
|
+
object with status code, headers, etc
|
332
|
+
:type _return_http_data_only: bool, optional
|
333
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
334
|
+
:param opts: Configuration options for this request
|
335
|
+
:type opts: ConfigurationOptions, optional
|
336
|
+
:param _request_auth: set to override the auth_settings for an a single
|
337
|
+
request; this effectively ignores the authentication
|
338
|
+
in the spec for a single request.
|
339
|
+
:type _request_auth: dict, optional
|
340
|
+
:type _content_type: string, optional: force content-type for the request
|
341
|
+
:return: Returns the result object.
|
342
|
+
If the method is called asynchronously,
|
343
|
+
returns the request thread.
|
344
|
+
:rtype: tuple(AddBusinessDaysToDateResponse, status_code(int), headers(HTTPHeaderDict))
|
345
|
+
"""
|
346
|
+
|
347
|
+
_params = locals()
|
348
|
+
|
349
|
+
_all_params = [
|
350
|
+
'identifier_type',
|
351
|
+
'identifier',
|
352
|
+
'transaction_date',
|
353
|
+
'scope',
|
354
|
+
'as_at'
|
355
|
+
]
|
356
|
+
_all_params.extend(
|
357
|
+
[
|
358
|
+
'async_req',
|
359
|
+
'_return_http_data_only',
|
360
|
+
'_preload_content',
|
361
|
+
'_request_timeout',
|
362
|
+
'_request_auth',
|
363
|
+
'_content_type',
|
364
|
+
'_headers',
|
365
|
+
'opts'
|
366
|
+
]
|
367
|
+
)
|
368
|
+
|
369
|
+
# validate the arguments
|
370
|
+
for _key, _val in _params['kwargs'].items():
|
371
|
+
if _key not in _all_params:
|
372
|
+
raise ApiTypeError(
|
373
|
+
"Got an unexpected keyword argument '%s'"
|
374
|
+
" to method calculate_settlement_date" % _key
|
375
|
+
)
|
376
|
+
_params[_key] = _val
|
377
|
+
del _params['kwargs']
|
378
|
+
|
379
|
+
_collection_formats = {}
|
380
|
+
|
381
|
+
# process the path parameters
|
382
|
+
_path_params = {}
|
383
|
+
if _params['identifier_type']:
|
384
|
+
_path_params['identifierType'] = _params['identifier_type']
|
385
|
+
|
386
|
+
if _params['identifier']:
|
387
|
+
_path_params['identifier'] = _params['identifier']
|
388
|
+
|
389
|
+
|
390
|
+
# process the query parameters
|
391
|
+
_query_params = []
|
392
|
+
if _params.get('transaction_date') is not None: # noqa: E501
|
393
|
+
_query_params.append(('transactionDate', _params['transaction_date']))
|
394
|
+
|
395
|
+
if _params.get('scope') is not None: # noqa: E501
|
396
|
+
_query_params.append(('scope', _params['scope']))
|
397
|
+
|
398
|
+
if _params.get('as_at') is not None: # noqa: E501
|
399
|
+
if isinstance(_params['as_at'], datetime):
|
400
|
+
_query_params.append(('asAt', _params['as_at'].strftime(self.api_client.configuration.datetime_format)))
|
401
|
+
else:
|
402
|
+
_query_params.append(('asAt', _params['as_at']))
|
403
|
+
|
404
|
+
# process the header parameters
|
405
|
+
_header_params = dict(_params.get('_headers', {}))
|
406
|
+
# process the form parameters
|
407
|
+
_form_params = []
|
408
|
+
_files = {}
|
409
|
+
# process the body parameter
|
410
|
+
_body_params = None
|
411
|
+
# set the HTTP header `Accept`
|
412
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
413
|
+
['text/plain', 'application/json', 'text/json']) # noqa: E501
|
414
|
+
|
415
|
+
# authentication setting
|
416
|
+
_auth_settings = ['oauth2'] # noqa: E501
|
417
|
+
|
418
|
+
_response_types_map = {
|
419
|
+
'200': "AddBusinessDaysToDateResponse",
|
420
|
+
'400': "LusidValidationProblemDetails",
|
421
|
+
}
|
422
|
+
|
423
|
+
return self.api_client.call_api(
|
424
|
+
'/api/instruments/{identifierType}/{identifier}/settlementdate', 'GET',
|
425
|
+
_path_params,
|
426
|
+
_query_params,
|
427
|
+
_header_params,
|
428
|
+
body=_body_params,
|
429
|
+
post_params=_form_params,
|
430
|
+
files=_files,
|
431
|
+
response_types_map=_response_types_map,
|
432
|
+
auth_settings=_auth_settings,
|
433
|
+
async_req=_params.get('async_req'),
|
434
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
435
|
+
_preload_content=_params.get('_preload_content', True),
|
436
|
+
_request_timeout=_params.get('_request_timeout'),
|
437
|
+
opts=_params.get('opts'),
|
250
438
|
collection_formats=_collection_formats,
|
251
439
|
_request_auth=_params.get('_request_auth'))
|
252
440
|
|
@@ -277,10 +465,9 @@ class InstrumentsApi:
|
|
277
465
|
:type scope: str
|
278
466
|
:param async_req: Whether to execute the request asynchronously.
|
279
467
|
:type async_req: bool, optional
|
280
|
-
:param _request_timeout:
|
281
|
-
|
282
|
-
|
283
|
-
(connection, read) timeouts.
|
468
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
469
|
+
:param opts: Configuration options for this request
|
470
|
+
:type opts: ConfigurationOptions, optional
|
284
471
|
:return: Returns the result object.
|
285
472
|
If the method is called asynchronously,
|
286
473
|
returns the request thread.
|
@@ -321,10 +508,9 @@ class InstrumentsApi:
|
|
321
508
|
:param _return_http_data_only: response data instead of ApiResponse
|
322
509
|
object with status code, headers, etc
|
323
510
|
:type _return_http_data_only: bool, optional
|
324
|
-
:param _request_timeout:
|
325
|
-
|
326
|
-
|
327
|
-
(connection, read) timeouts.
|
511
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
512
|
+
:param opts: Configuration options for this request
|
513
|
+
:type opts: ConfigurationOptions, optional
|
328
514
|
:param _request_auth: set to override the auth_settings for an a single
|
329
515
|
request; this effectively ignores the authentication
|
330
516
|
in the spec for a single request.
|
@@ -351,7 +537,8 @@ class InstrumentsApi:
|
|
351
537
|
'_request_timeout',
|
352
538
|
'_request_auth',
|
353
539
|
'_content_type',
|
354
|
-
'_headers'
|
540
|
+
'_headers',
|
541
|
+
'opts'
|
355
542
|
]
|
356
543
|
)
|
357
544
|
|
@@ -414,6 +601,7 @@ class InstrumentsApi:
|
|
414
601
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
415
602
|
_preload_content=_params.get('_preload_content', True),
|
416
603
|
_request_timeout=_params.get('_request_timeout'),
|
604
|
+
opts=_params.get('opts'),
|
417
605
|
collection_formats=_collection_formats,
|
418
606
|
_request_auth=_params.get('_request_auth'))
|
419
607
|
|
@@ -448,10 +636,9 @@ class InstrumentsApi:
|
|
448
636
|
:type scope: str
|
449
637
|
:param async_req: Whether to execute the request asynchronously.
|
450
638
|
:type async_req: bool, optional
|
451
|
-
:param _request_timeout:
|
452
|
-
|
453
|
-
|
454
|
-
(connection, read) timeouts.
|
639
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
640
|
+
:param opts: Configuration options for this request
|
641
|
+
:type opts: ConfigurationOptions, optional
|
455
642
|
:return: Returns the result object.
|
456
643
|
If the method is called asynchronously,
|
457
644
|
returns the request thread.
|
@@ -496,10 +683,9 @@ class InstrumentsApi:
|
|
496
683
|
:param _return_http_data_only: response data instead of ApiResponse
|
497
684
|
object with status code, headers, etc
|
498
685
|
:type _return_http_data_only: bool, optional
|
499
|
-
:param _request_timeout:
|
500
|
-
|
501
|
-
|
502
|
-
(connection, read) timeouts.
|
686
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
687
|
+
:param opts: Configuration options for this request
|
688
|
+
:type opts: ConfigurationOptions, optional
|
503
689
|
:param _request_auth: set to override the auth_settings for an a single
|
504
690
|
request; this effectively ignores the authentication
|
505
691
|
in the spec for a single request.
|
@@ -528,7 +714,8 @@ class InstrumentsApi:
|
|
528
714
|
'_request_timeout',
|
529
715
|
'_request_auth',
|
530
716
|
'_content_type',
|
531
|
-
'_headers'
|
717
|
+
'_headers',
|
718
|
+
'opts'
|
532
719
|
]
|
533
720
|
)
|
534
721
|
|
@@ -604,6 +791,7 @@ class InstrumentsApi:
|
|
604
791
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
605
792
|
_preload_content=_params.get('_preload_content', True),
|
606
793
|
_request_timeout=_params.get('_request_timeout'),
|
794
|
+
opts=_params.get('opts'),
|
607
795
|
collection_formats=_collection_formats,
|
608
796
|
_request_auth=_params.get('_request_auth'))
|
609
797
|
|
@@ -634,10 +822,9 @@ class InstrumentsApi:
|
|
634
822
|
:type scope: str
|
635
823
|
:param async_req: Whether to execute the request asynchronously.
|
636
824
|
:type async_req: bool, optional
|
637
|
-
:param _request_timeout:
|
638
|
-
|
639
|
-
|
640
|
-
(connection, read) timeouts.
|
825
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
826
|
+
:param opts: Configuration options for this request
|
827
|
+
:type opts: ConfigurationOptions, optional
|
641
828
|
:return: Returns the result object.
|
642
829
|
If the method is called asynchronously,
|
643
830
|
returns the request thread.
|
@@ -678,10 +865,9 @@ class InstrumentsApi:
|
|
678
865
|
:param _return_http_data_only: response data instead of ApiResponse
|
679
866
|
object with status code, headers, etc
|
680
867
|
:type _return_http_data_only: bool, optional
|
681
|
-
:param _request_timeout:
|
682
|
-
|
683
|
-
|
684
|
-
(connection, read) timeouts.
|
868
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
869
|
+
:param opts: Configuration options for this request
|
870
|
+
:type opts: ConfigurationOptions, optional
|
685
871
|
:param _request_auth: set to override the auth_settings for an a single
|
686
872
|
request; this effectively ignores the authentication
|
687
873
|
in the spec for a single request.
|
@@ -708,7 +894,8 @@ class InstrumentsApi:
|
|
708
894
|
'_request_timeout',
|
709
895
|
'_request_auth',
|
710
896
|
'_content_type',
|
711
|
-
'_headers'
|
897
|
+
'_headers',
|
898
|
+
'opts'
|
712
899
|
]
|
713
900
|
)
|
714
901
|
|
@@ -778,6 +965,7 @@ class InstrumentsApi:
|
|
778
965
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
779
966
|
_preload_content=_params.get('_preload_content', True),
|
780
967
|
_request_timeout=_params.get('_request_timeout'),
|
968
|
+
opts=_params.get('opts'),
|
781
969
|
collection_formats=_collection_formats,
|
782
970
|
_request_auth=_params.get('_request_auth'))
|
783
971
|
|
@@ -804,10 +992,9 @@ class InstrumentsApi:
|
|
804
992
|
:type instrument_type: str
|
805
993
|
:param async_req: Whether to execute the request asynchronously.
|
806
994
|
:type async_req: bool, optional
|
807
|
-
:param _request_timeout:
|
808
|
-
|
809
|
-
|
810
|
-
(connection, read) timeouts.
|
995
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
996
|
+
:param opts: Configuration options for this request
|
997
|
+
:type opts: ConfigurationOptions, optional
|
811
998
|
:return: Returns the result object.
|
812
999
|
If the method is called asynchronously,
|
813
1000
|
returns the request thread.
|
@@ -844,10 +1031,9 @@ class InstrumentsApi:
|
|
844
1031
|
:param _return_http_data_only: response data instead of ApiResponse
|
845
1032
|
object with status code, headers, etc
|
846
1033
|
:type _return_http_data_only: bool, optional
|
847
|
-
:param _request_timeout:
|
848
|
-
|
849
|
-
|
850
|
-
(connection, read) timeouts.
|
1034
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1035
|
+
:param opts: Configuration options for this request
|
1036
|
+
:type opts: ConfigurationOptions, optional
|
851
1037
|
:param _request_auth: set to override the auth_settings for an a single
|
852
1038
|
request; this effectively ignores the authentication
|
853
1039
|
in the spec for a single request.
|
@@ -872,7 +1058,8 @@ class InstrumentsApi:
|
|
872
1058
|
'_request_timeout',
|
873
1059
|
'_request_auth',
|
874
1060
|
'_content_type',
|
875
|
-
'_headers'
|
1061
|
+
'_headers',
|
1062
|
+
'opts'
|
876
1063
|
]
|
877
1064
|
)
|
878
1065
|
|
@@ -929,6 +1116,7 @@ class InstrumentsApi:
|
|
929
1116
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
930
1117
|
_preload_content=_params.get('_preload_content', True),
|
931
1118
|
_request_timeout=_params.get('_request_timeout'),
|
1119
|
+
opts=_params.get('opts'),
|
932
1120
|
collection_formats=_collection_formats,
|
933
1121
|
_request_auth=_params.get('_request_auth'))
|
934
1122
|
|
@@ -967,10 +1155,9 @@ class InstrumentsApi:
|
|
967
1155
|
:type recipe_code: str
|
968
1156
|
:param async_req: Whether to execute the request asynchronously.
|
969
1157
|
:type async_req: bool, optional
|
970
|
-
:param _request_timeout:
|
971
|
-
|
972
|
-
|
973
|
-
(connection, read) timeouts.
|
1158
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1159
|
+
:param opts: Configuration options for this request
|
1160
|
+
:type opts: ConfigurationOptions, optional
|
974
1161
|
:return: Returns the result object.
|
975
1162
|
If the method is called asynchronously,
|
976
1163
|
returns the request thread.
|
@@ -1019,10 +1206,9 @@ class InstrumentsApi:
|
|
1019
1206
|
:param _return_http_data_only: response data instead of ApiResponse
|
1020
1207
|
object with status code, headers, etc
|
1021
1208
|
:type _return_http_data_only: bool, optional
|
1022
|
-
:param _request_timeout:
|
1023
|
-
|
1024
|
-
|
1025
|
-
(connection, read) timeouts.
|
1209
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1210
|
+
:param opts: Configuration options for this request
|
1211
|
+
:type opts: ConfigurationOptions, optional
|
1026
1212
|
:param _request_auth: set to override the auth_settings for an a single
|
1027
1213
|
request; this effectively ignores the authentication
|
1028
1214
|
in the spec for a single request.
|
@@ -1053,7 +1239,8 @@ class InstrumentsApi:
|
|
1053
1239
|
'_request_timeout',
|
1054
1240
|
'_request_auth',
|
1055
1241
|
'_content_type',
|
1056
|
-
'_headers'
|
1242
|
+
'_headers',
|
1243
|
+
'opts'
|
1057
1244
|
]
|
1058
1245
|
)
|
1059
1246
|
|
@@ -1131,6 +1318,7 @@ class InstrumentsApi:
|
|
1131
1318
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1132
1319
|
_preload_content=_params.get('_preload_content', True),
|
1133
1320
|
_request_timeout=_params.get('_request_timeout'),
|
1321
|
+
opts=_params.get('opts'),
|
1134
1322
|
collection_formats=_collection_formats,
|
1135
1323
|
_request_auth=_params.get('_request_auth'))
|
1136
1324
|
|
@@ -1167,10 +1355,9 @@ class InstrumentsApi:
|
|
1167
1355
|
:type recipe_code: str
|
1168
1356
|
:param async_req: Whether to execute the request asynchronously.
|
1169
1357
|
:type async_req: bool, optional
|
1170
|
-
:param _request_timeout:
|
1171
|
-
|
1172
|
-
|
1173
|
-
(connection, read) timeouts.
|
1358
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1359
|
+
:param opts: Configuration options for this request
|
1360
|
+
:type opts: ConfigurationOptions, optional
|
1174
1361
|
:return: Returns the result object.
|
1175
1362
|
If the method is called asynchronously,
|
1176
1363
|
returns the request thread.
|
@@ -1217,10 +1404,9 @@ class InstrumentsApi:
|
|
1217
1404
|
:param _return_http_data_only: response data instead of ApiResponse
|
1218
1405
|
object with status code, headers, etc
|
1219
1406
|
:type _return_http_data_only: bool, optional
|
1220
|
-
:param _request_timeout:
|
1221
|
-
|
1222
|
-
|
1223
|
-
(connection, read) timeouts.
|
1407
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1408
|
+
:param opts: Configuration options for this request
|
1409
|
+
:type opts: ConfigurationOptions, optional
|
1224
1410
|
:param _request_auth: set to override the auth_settings for an a single
|
1225
1411
|
request; this effectively ignores the authentication
|
1226
1412
|
in the spec for a single request.
|
@@ -1250,7 +1436,8 @@ class InstrumentsApi:
|
|
1250
1436
|
'_request_timeout',
|
1251
1437
|
'_request_auth',
|
1252
1438
|
'_content_type',
|
1253
|
-
'_headers'
|
1439
|
+
'_headers',
|
1440
|
+
'opts'
|
1254
1441
|
]
|
1255
1442
|
)
|
1256
1443
|
|
@@ -1325,6 +1512,7 @@ class InstrumentsApi:
|
|
1325
1512
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1326
1513
|
_preload_content=_params.get('_preload_content', True),
|
1327
1514
|
_request_timeout=_params.get('_request_timeout'),
|
1515
|
+
opts=_params.get('opts'),
|
1328
1516
|
collection_formats=_collection_formats,
|
1329
1517
|
_request_auth=_params.get('_request_auth'))
|
1330
1518
|
|
@@ -1363,10 +1551,9 @@ class InstrumentsApi:
|
|
1363
1551
|
:type relationship_definition_ids: List[str]
|
1364
1552
|
:param async_req: Whether to execute the request asynchronously.
|
1365
1553
|
:type async_req: bool, optional
|
1366
|
-
:param _request_timeout:
|
1367
|
-
|
1368
|
-
|
1369
|
-
(connection, read) timeouts.
|
1554
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1555
|
+
:param opts: Configuration options for this request
|
1556
|
+
:type opts: ConfigurationOptions, optional
|
1370
1557
|
:return: Returns the result object.
|
1371
1558
|
If the method is called asynchronously,
|
1372
1559
|
returns the request thread.
|
@@ -1415,10 +1602,9 @@ class InstrumentsApi:
|
|
1415
1602
|
:param _return_http_data_only: response data instead of ApiResponse
|
1416
1603
|
object with status code, headers, etc
|
1417
1604
|
:type _return_http_data_only: bool, optional
|
1418
|
-
:param _request_timeout:
|
1419
|
-
|
1420
|
-
|
1421
|
-
(connection, read) timeouts.
|
1605
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1606
|
+
:param opts: Configuration options for this request
|
1607
|
+
:type opts: ConfigurationOptions, optional
|
1422
1608
|
:param _request_auth: set to override the auth_settings for an a single
|
1423
1609
|
request; this effectively ignores the authentication
|
1424
1610
|
in the spec for a single request.
|
@@ -1449,7 +1635,8 @@ class InstrumentsApi:
|
|
1449
1635
|
'_request_timeout',
|
1450
1636
|
'_request_auth',
|
1451
1637
|
'_content_type',
|
1452
|
-
'_headers'
|
1638
|
+
'_headers',
|
1639
|
+
'opts'
|
1453
1640
|
]
|
1454
1641
|
)
|
1455
1642
|
|
@@ -1529,6 +1716,7 @@ class InstrumentsApi:
|
|
1529
1716
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1530
1717
|
_preload_content=_params.get('_preload_content', True),
|
1531
1718
|
_request_timeout=_params.get('_request_timeout'),
|
1719
|
+
opts=_params.get('opts'),
|
1532
1720
|
collection_formats=_collection_formats,
|
1533
1721
|
_request_auth=_params.get('_request_auth'))
|
1534
1722
|
|
@@ -1553,10 +1741,9 @@ class InstrumentsApi:
|
|
1553
1741
|
|
1554
1742
|
:param async_req: Whether to execute the request asynchronously.
|
1555
1743
|
:type async_req: bool, optional
|
1556
|
-
:param _request_timeout:
|
1557
|
-
|
1558
|
-
|
1559
|
-
(connection, read) timeouts.
|
1744
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1745
|
+
:param opts: Configuration options for this request
|
1746
|
+
:type opts: ConfigurationOptions, optional
|
1560
1747
|
:return: Returns the result object.
|
1561
1748
|
If the method is called asynchronously,
|
1562
1749
|
returns the request thread.
|
@@ -1591,10 +1778,9 @@ class InstrumentsApi:
|
|
1591
1778
|
:param _return_http_data_only: response data instead of ApiResponse
|
1592
1779
|
object with status code, headers, etc
|
1593
1780
|
:type _return_http_data_only: bool, optional
|
1594
|
-
:param _request_timeout:
|
1595
|
-
|
1596
|
-
|
1597
|
-
(connection, read) timeouts.
|
1781
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1782
|
+
:param opts: Configuration options for this request
|
1783
|
+
:type opts: ConfigurationOptions, optional
|
1598
1784
|
:param _request_auth: set to override the auth_settings for an a single
|
1599
1785
|
request; this effectively ignores the authentication
|
1600
1786
|
in the spec for a single request.
|
@@ -1618,7 +1804,8 @@ class InstrumentsApi:
|
|
1618
1804
|
'_request_timeout',
|
1619
1805
|
'_request_auth',
|
1620
1806
|
'_content_type',
|
1621
|
-
'_headers'
|
1807
|
+
'_headers',
|
1808
|
+
'opts'
|
1622
1809
|
]
|
1623
1810
|
)
|
1624
1811
|
|
@@ -1671,6 +1858,7 @@ class InstrumentsApi:
|
|
1671
1858
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1672
1859
|
_preload_content=_params.get('_preload_content', True),
|
1673
1860
|
_request_timeout=_params.get('_request_timeout'),
|
1861
|
+
opts=_params.get('opts'),
|
1674
1862
|
collection_formats=_collection_formats,
|
1675
1863
|
_request_auth=_params.get('_request_auth'))
|
1676
1864
|
|
@@ -1709,10 +1897,9 @@ class InstrumentsApi:
|
|
1709
1897
|
:type scope: str
|
1710
1898
|
:param async_req: Whether to execute the request asynchronously.
|
1711
1899
|
:type async_req: bool, optional
|
1712
|
-
:param _request_timeout:
|
1713
|
-
|
1714
|
-
|
1715
|
-
(connection, read) timeouts.
|
1900
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1901
|
+
:param opts: Configuration options for this request
|
1902
|
+
:type opts: ConfigurationOptions, optional
|
1716
1903
|
:return: Returns the result object.
|
1717
1904
|
If the method is called asynchronously,
|
1718
1905
|
returns the request thread.
|
@@ -1761,10 +1948,9 @@ class InstrumentsApi:
|
|
1761
1948
|
:param _return_http_data_only: response data instead of ApiResponse
|
1762
1949
|
object with status code, headers, etc
|
1763
1950
|
:type _return_http_data_only: bool, optional
|
1764
|
-
:param _request_timeout:
|
1765
|
-
|
1766
|
-
|
1767
|
-
(connection, read) timeouts.
|
1951
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1952
|
+
:param opts: Configuration options for this request
|
1953
|
+
:type opts: ConfigurationOptions, optional
|
1768
1954
|
:param _request_auth: set to override the auth_settings for an a single
|
1769
1955
|
request; this effectively ignores the authentication
|
1770
1956
|
in the spec for a single request.
|
@@ -1795,7 +1981,8 @@ class InstrumentsApi:
|
|
1795
1981
|
'_request_timeout',
|
1796
1982
|
'_request_auth',
|
1797
1983
|
'_content_type',
|
1798
|
-
'_headers'
|
1984
|
+
'_headers',
|
1985
|
+
'opts'
|
1799
1986
|
]
|
1800
1987
|
)
|
1801
1988
|
|
@@ -1873,6 +2060,7 @@ class InstrumentsApi:
|
|
1873
2060
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1874
2061
|
_preload_content=_params.get('_preload_content', True),
|
1875
2062
|
_request_timeout=_params.get('_request_timeout'),
|
2063
|
+
opts=_params.get('opts'),
|
1876
2064
|
collection_formats=_collection_formats,
|
1877
2065
|
_request_auth=_params.get('_request_auth'))
|
1878
2066
|
|
@@ -1886,7 +2074,7 @@ class InstrumentsApi:
|
|
1886
2074
|
|
1887
2075
|
@validate_arguments
|
1888
2076
|
def get_instrument_properties(self, identifier_type : Annotated[StrictStr, Field(..., description="The unique identifier type to search, for example 'Figi'.")], identifier : Annotated[StrictStr, Field(..., description="An <i>identifierType</i> value to use to identify the instrument, for example 'BBG000BLNNV0'.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the instrument's properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the instrument's properties. Defaults to returning the latest version of each property if not specified.")] = None, scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[InstrumentProperties, Awaitable[InstrumentProperties]]: # noqa: E501
|
1889
|
-
"""
|
2077
|
+
"""GetInstrumentProperties: Get instrument properties # noqa: E501
|
1890
2078
|
|
1891
2079
|
List all the properties of a particular instrument, as identified by a particular unique identifier. # noqa: E501
|
1892
2080
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -1907,10 +2095,9 @@ class InstrumentsApi:
|
|
1907
2095
|
:type scope: str
|
1908
2096
|
:param async_req: Whether to execute the request asynchronously.
|
1909
2097
|
:type async_req: bool, optional
|
1910
|
-
:param _request_timeout:
|
1911
|
-
|
1912
|
-
|
1913
|
-
(connection, read) timeouts.
|
2098
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
2099
|
+
:param opts: Configuration options for this request
|
2100
|
+
:type opts: ConfigurationOptions, optional
|
1914
2101
|
:return: Returns the result object.
|
1915
2102
|
If the method is called asynchronously,
|
1916
2103
|
returns the request thread.
|
@@ -1926,7 +2113,7 @@ class InstrumentsApi:
|
|
1926
2113
|
|
1927
2114
|
@validate_arguments
|
1928
2115
|
def get_instrument_properties_with_http_info(self, identifier_type : Annotated[StrictStr, Field(..., description="The unique identifier type to search, for example 'Figi'.")], identifier : Annotated[StrictStr, Field(..., description="An <i>identifierType</i> value to use to identify the instrument, for example 'BBG000BLNNV0'.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the instrument's properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the instrument's properties. Defaults to returning the latest version of each property if not specified.")] = None, scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
1929
|
-
"""
|
2116
|
+
"""GetInstrumentProperties: Get instrument properties # noqa: E501
|
1930
2117
|
|
1931
2118
|
List all the properties of a particular instrument, as identified by a particular unique identifier. # noqa: E501
|
1932
2119
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -1955,10 +2142,9 @@ class InstrumentsApi:
|
|
1955
2142
|
:param _return_http_data_only: response data instead of ApiResponse
|
1956
2143
|
object with status code, headers, etc
|
1957
2144
|
:type _return_http_data_only: bool, optional
|
1958
|
-
:param _request_timeout:
|
1959
|
-
|
1960
|
-
|
1961
|
-
(connection, read) timeouts.
|
2145
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
2146
|
+
:param opts: Configuration options for this request
|
2147
|
+
:type opts: ConfigurationOptions, optional
|
1962
2148
|
:param _request_auth: set to override the auth_settings for an a single
|
1963
2149
|
request; this effectively ignores the authentication
|
1964
2150
|
in the spec for a single request.
|
@@ -1987,7 +2173,8 @@ class InstrumentsApi:
|
|
1987
2173
|
'_request_timeout',
|
1988
2174
|
'_request_auth',
|
1989
2175
|
'_content_type',
|
1990
|
-
'_headers'
|
2176
|
+
'_headers',
|
2177
|
+
'opts'
|
1991
2178
|
]
|
1992
2179
|
)
|
1993
2180
|
|
@@ -2059,6 +2246,7 @@ class InstrumentsApi:
|
|
2059
2246
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
2060
2247
|
_preload_content=_params.get('_preload_content', True),
|
2061
2248
|
_request_timeout=_params.get('_request_timeout'),
|
2249
|
+
opts=_params.get('opts'),
|
2062
2250
|
collection_formats=_collection_formats,
|
2063
2251
|
_request_auth=_params.get('_request_auth'))
|
2064
2252
|
|
@@ -2072,7 +2260,7 @@ class InstrumentsApi:
|
|
2072
2260
|
|
2073
2261
|
@validate_arguments
|
2074
2262
|
def get_instrument_property_time_series(self, identifier_type : Annotated[StrictStr, Field(..., description="The unique identifier type to search, for example 'Figi'.")], identifier : Annotated[StrictStr, Field(..., description="An <i>identifierType</i> value to use to identify the instrument, for example 'BBG000BLNNV0'.")], property_key : Annotated[StrictStr, Field(..., description="The property key of a property from the 'Instrument' domain whose history to retrieve. This must have the format {domain}/{scope}/{code}, for example 'Instrument/system/Name'.")], identifier_effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime used to resolve the instrument from the identifier. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the instrument's property history. Defaults to returning the current datetime if not supplied.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For more information about filtering, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing properties; this value is returned from the previous call. If a pagination token is provided, the <i>filter</i>, <i>effectiveAt</i> and <i>asAt</i> fields must not have changed since the original request. For more information, see https://support.lusid.com/knowledgebase/article/KA-01915.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number.")] = None, scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfPropertyInterval, Awaitable[ResourceListOfPropertyInterval]]: # noqa: E501
|
2075
|
-
"""
|
2263
|
+
"""GetInstrumentPropertyTimeSeries: Get instrument property time series # noqa: E501
|
2076
2264
|
|
2077
2265
|
Retrieve the complete time series (history) for a particular property of an instrument. # noqa: E501
|
2078
2266
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -2101,10 +2289,9 @@ class InstrumentsApi:
|
|
2101
2289
|
:type scope: str
|
2102
2290
|
:param async_req: Whether to execute the request asynchronously.
|
2103
2291
|
:type async_req: bool, optional
|
2104
|
-
:param _request_timeout:
|
2105
|
-
|
2106
|
-
|
2107
|
-
(connection, read) timeouts.
|
2292
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
2293
|
+
:param opts: Configuration options for this request
|
2294
|
+
:type opts: ConfigurationOptions, optional
|
2108
2295
|
:return: Returns the result object.
|
2109
2296
|
If the method is called asynchronously,
|
2110
2297
|
returns the request thread.
|
@@ -2120,7 +2307,7 @@ class InstrumentsApi:
|
|
2120
2307
|
|
2121
2308
|
@validate_arguments
|
2122
2309
|
def get_instrument_property_time_series_with_http_info(self, identifier_type : Annotated[StrictStr, Field(..., description="The unique identifier type to search, for example 'Figi'.")], identifier : Annotated[StrictStr, Field(..., description="An <i>identifierType</i> value to use to identify the instrument, for example 'BBG000BLNNV0'.")], property_key : Annotated[StrictStr, Field(..., description="The property key of a property from the 'Instrument' domain whose history to retrieve. This must have the format {domain}/{scope}/{code}, for example 'Instrument/system/Name'.")], identifier_effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime used to resolve the instrument from the identifier. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the instrument's property history. Defaults to returning the current datetime if not supplied.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For more information about filtering, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing properties; this value is returned from the previous call. If a pagination token is provided, the <i>filter</i>, <i>effectiveAt</i> and <i>asAt</i> fields must not have changed since the original request. For more information, see https://support.lusid.com/knowledgebase/article/KA-01915.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number.")] = None, scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
2123
|
-
"""
|
2310
|
+
"""GetInstrumentPropertyTimeSeries: Get instrument property time series # noqa: E501
|
2124
2311
|
|
2125
2312
|
Retrieve the complete time series (history) for a particular property of an instrument. # noqa: E501
|
2126
2313
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -2157,10 +2344,9 @@ class InstrumentsApi:
|
|
2157
2344
|
:param _return_http_data_only: response data instead of ApiResponse
|
2158
2345
|
object with status code, headers, etc
|
2159
2346
|
:type _return_http_data_only: bool, optional
|
2160
|
-
:param _request_timeout:
|
2161
|
-
|
2162
|
-
|
2163
|
-
(connection, read) timeouts.
|
2347
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
2348
|
+
:param opts: Configuration options for this request
|
2349
|
+
:type opts: ConfigurationOptions, optional
|
2164
2350
|
:param _request_auth: set to override the auth_settings for an a single
|
2165
2351
|
request; this effectively ignores the authentication
|
2166
2352
|
in the spec for a single request.
|
@@ -2193,7 +2379,8 @@ class InstrumentsApi:
|
|
2193
2379
|
'_request_timeout',
|
2194
2380
|
'_request_auth',
|
2195
2381
|
'_content_type',
|
2196
|
-
'_headers'
|
2382
|
+
'_headers',
|
2383
|
+
'opts'
|
2197
2384
|
]
|
2198
2385
|
)
|
2199
2386
|
|
@@ -2277,6 +2464,7 @@ class InstrumentsApi:
|
|
2277
2464
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
2278
2465
|
_preload_content=_params.get('_preload_content', True),
|
2279
2466
|
_request_timeout=_params.get('_request_timeout'),
|
2467
|
+
opts=_params.get('opts'),
|
2280
2468
|
collection_formats=_collection_formats,
|
2281
2469
|
_request_auth=_params.get('_request_auth'))
|
2282
2470
|
|
@@ -2315,10 +2503,9 @@ class InstrumentsApi:
|
|
2315
2503
|
:type scope: str
|
2316
2504
|
:param async_req: Whether to execute the request asynchronously.
|
2317
2505
|
:type async_req: bool, optional
|
2318
|
-
:param _request_timeout:
|
2319
|
-
|
2320
|
-
|
2321
|
-
(connection, read) timeouts.
|
2506
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
2507
|
+
:param opts: Configuration options for this request
|
2508
|
+
:type opts: ConfigurationOptions, optional
|
2322
2509
|
:return: Returns the result object.
|
2323
2510
|
If the method is called asynchronously,
|
2324
2511
|
returns the request thread.
|
@@ -2367,10 +2554,9 @@ class InstrumentsApi:
|
|
2367
2554
|
:param _return_http_data_only: response data instead of ApiResponse
|
2368
2555
|
object with status code, headers, etc
|
2369
2556
|
:type _return_http_data_only: bool, optional
|
2370
|
-
:param _request_timeout:
|
2371
|
-
|
2372
|
-
|
2373
|
-
(connection, read) timeouts.
|
2557
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
2558
|
+
:param opts: Configuration options for this request
|
2559
|
+
:type opts: ConfigurationOptions, optional
|
2374
2560
|
:param _request_auth: set to override the auth_settings for an a single
|
2375
2561
|
request; this effectively ignores the authentication
|
2376
2562
|
in the spec for a single request.
|
@@ -2401,7 +2587,8 @@ class InstrumentsApi:
|
|
2401
2587
|
'_request_timeout',
|
2402
2588
|
'_request_auth',
|
2403
2589
|
'_content_type',
|
2404
|
-
'_headers'
|
2590
|
+
'_headers',
|
2591
|
+
'opts'
|
2405
2592
|
]
|
2406
2593
|
)
|
2407
2594
|
|
@@ -2480,6 +2667,7 @@ class InstrumentsApi:
|
|
2480
2667
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
2481
2668
|
_preload_content=_params.get('_preload_content', True),
|
2482
2669
|
_request_timeout=_params.get('_request_timeout'),
|
2670
|
+
opts=_params.get('opts'),
|
2483
2671
|
collection_formats=_collection_formats,
|
2484
2672
|
_request_auth=_params.get('_request_auth'))
|
2485
2673
|
|
@@ -2518,10 +2706,9 @@ class InstrumentsApi:
|
|
2518
2706
|
:type relationship_definition_ids: List[str]
|
2519
2707
|
:param async_req: Whether to execute the request asynchronously.
|
2520
2708
|
:type async_req: bool, optional
|
2521
|
-
:param _request_timeout:
|
2522
|
-
|
2523
|
-
|
2524
|
-
(connection, read) timeouts.
|
2709
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
2710
|
+
:param opts: Configuration options for this request
|
2711
|
+
:type opts: ConfigurationOptions, optional
|
2525
2712
|
:return: Returns the result object.
|
2526
2713
|
If the method is called asynchronously,
|
2527
2714
|
returns the request thread.
|
@@ -2570,10 +2757,9 @@ class InstrumentsApi:
|
|
2570
2757
|
:param _return_http_data_only: response data instead of ApiResponse
|
2571
2758
|
object with status code, headers, etc
|
2572
2759
|
:type _return_http_data_only: bool, optional
|
2573
|
-
:param _request_timeout:
|
2574
|
-
|
2575
|
-
|
2576
|
-
(connection, read) timeouts.
|
2760
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
2761
|
+
:param opts: Configuration options for this request
|
2762
|
+
:type opts: ConfigurationOptions, optional
|
2577
2763
|
:param _request_auth: set to override the auth_settings for an a single
|
2578
2764
|
request; this effectively ignores the authentication
|
2579
2765
|
in the spec for a single request.
|
@@ -2604,7 +2790,8 @@ class InstrumentsApi:
|
|
2604
2790
|
'_request_timeout',
|
2605
2791
|
'_request_auth',
|
2606
2792
|
'_content_type',
|
2607
|
-
'_headers'
|
2793
|
+
'_headers',
|
2794
|
+
'opts'
|
2608
2795
|
]
|
2609
2796
|
)
|
2610
2797
|
|
@@ -2691,6 +2878,7 @@ class InstrumentsApi:
|
|
2691
2878
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
2692
2879
|
_preload_content=_params.get('_preload_content', True),
|
2693
2880
|
_request_timeout=_params.get('_request_timeout'),
|
2881
|
+
opts=_params.get('opts'),
|
2694
2882
|
collection_formats=_collection_formats,
|
2695
2883
|
_request_auth=_params.get('_request_auth'))
|
2696
2884
|
|
@@ -2729,10 +2917,9 @@ class InstrumentsApi:
|
|
2729
2917
|
:type scope: str
|
2730
2918
|
:param async_req: Whether to execute the request asynchronously.
|
2731
2919
|
:type async_req: bool, optional
|
2732
|
-
:param _request_timeout:
|
2733
|
-
|
2734
|
-
|
2735
|
-
(connection, read) timeouts.
|
2920
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
2921
|
+
:param opts: Configuration options for this request
|
2922
|
+
:type opts: ConfigurationOptions, optional
|
2736
2923
|
:return: Returns the result object.
|
2737
2924
|
If the method is called asynchronously,
|
2738
2925
|
returns the request thread.
|
@@ -2781,10 +2968,9 @@ class InstrumentsApi:
|
|
2781
2968
|
:param _return_http_data_only: response data instead of ApiResponse
|
2782
2969
|
object with status code, headers, etc
|
2783
2970
|
:type _return_http_data_only: bool, optional
|
2784
|
-
:param _request_timeout:
|
2785
|
-
|
2786
|
-
|
2787
|
-
(connection, read) timeouts.
|
2971
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
2972
|
+
:param opts: Configuration options for this request
|
2973
|
+
:type opts: ConfigurationOptions, optional
|
2788
2974
|
:param _request_auth: set to override the auth_settings for an a single
|
2789
2975
|
request; this effectively ignores the authentication
|
2790
2976
|
in the spec for a single request.
|
@@ -2815,7 +3001,8 @@ class InstrumentsApi:
|
|
2815
3001
|
'_request_timeout',
|
2816
3002
|
'_request_auth',
|
2817
3003
|
'_content_type',
|
2818
|
-
'_headers'
|
3004
|
+
'_headers',
|
3005
|
+
'opts'
|
2819
3006
|
]
|
2820
3007
|
)
|
2821
3008
|
|
@@ -2893,6 +3080,7 @@ class InstrumentsApi:
|
|
2893
3080
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
2894
3081
|
_preload_content=_params.get('_preload_content', True),
|
2895
3082
|
_request_timeout=_params.get('_request_timeout'),
|
3083
|
+
opts=_params.get('opts'),
|
2896
3084
|
collection_formats=_collection_formats,
|
2897
3085
|
_request_auth=_params.get('_request_auth'))
|
2898
3086
|
|
@@ -2935,10 +3123,9 @@ class InstrumentsApi:
|
|
2935
3123
|
:type relationship_definition_ids: List[str]
|
2936
3124
|
:param async_req: Whether to execute the request asynchronously.
|
2937
3125
|
:type async_req: bool, optional
|
2938
|
-
:param _request_timeout:
|
2939
|
-
|
2940
|
-
|
2941
|
-
(connection, read) timeouts.
|
3126
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
3127
|
+
:param opts: Configuration options for this request
|
3128
|
+
:type opts: ConfigurationOptions, optional
|
2942
3129
|
:return: Returns the result object.
|
2943
3130
|
If the method is called asynchronously,
|
2944
3131
|
returns the request thread.
|
@@ -2991,10 +3178,9 @@ class InstrumentsApi:
|
|
2991
3178
|
:param _return_http_data_only: response data instead of ApiResponse
|
2992
3179
|
object with status code, headers, etc
|
2993
3180
|
:type _return_http_data_only: bool, optional
|
2994
|
-
:param _request_timeout:
|
2995
|
-
|
2996
|
-
|
2997
|
-
(connection, read) timeouts.
|
3181
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
3182
|
+
:param opts: Configuration options for this request
|
3183
|
+
:type opts: ConfigurationOptions, optional
|
2998
3184
|
:param _request_auth: set to override the auth_settings for an a single
|
2999
3185
|
request; this effectively ignores the authentication
|
3000
3186
|
in the spec for a single request.
|
@@ -3027,7 +3213,8 @@ class InstrumentsApi:
|
|
3027
3213
|
'_request_timeout',
|
3028
3214
|
'_request_auth',
|
3029
3215
|
'_content_type',
|
3030
|
-
'_headers'
|
3216
|
+
'_headers',
|
3217
|
+
'opts'
|
3031
3218
|
]
|
3032
3219
|
)
|
3033
3220
|
|
@@ -3114,6 +3301,7 @@ class InstrumentsApi:
|
|
3114
3301
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
3115
3302
|
_preload_content=_params.get('_preload_content', True),
|
3116
3303
|
_request_timeout=_params.get('_request_timeout'),
|
3304
|
+
opts=_params.get('opts'),
|
3117
3305
|
collection_formats=_collection_formats,
|
3118
3306
|
_request_auth=_params.get('_request_auth'))
|
3119
3307
|
|
@@ -3142,10 +3330,9 @@ class InstrumentsApi:
|
|
3142
3330
|
:type model: str
|
3143
3331
|
:param async_req: Whether to execute the request asynchronously.
|
3144
3332
|
:type async_req: bool, optional
|
3145
|
-
:param _request_timeout:
|
3146
|
-
|
3147
|
-
|
3148
|
-
(connection, read) timeouts.
|
3333
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
3334
|
+
:param opts: Configuration options for this request
|
3335
|
+
:type opts: ConfigurationOptions, optional
|
3149
3336
|
:return: Returns the result object.
|
3150
3337
|
If the method is called asynchronously,
|
3151
3338
|
returns the request thread.
|
@@ -3184,10 +3371,9 @@ class InstrumentsApi:
|
|
3184
3371
|
:param _return_http_data_only: response data instead of ApiResponse
|
3185
3372
|
object with status code, headers, etc
|
3186
3373
|
:type _return_http_data_only: bool, optional
|
3187
|
-
:param _request_timeout:
|
3188
|
-
|
3189
|
-
|
3190
|
-
(connection, read) timeouts.
|
3374
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
3375
|
+
:param opts: Configuration options for this request
|
3376
|
+
:type opts: ConfigurationOptions, optional
|
3191
3377
|
:param _request_auth: set to override the auth_settings for an a single
|
3192
3378
|
request; this effectively ignores the authentication
|
3193
3379
|
in the spec for a single request.
|
@@ -3213,7 +3399,8 @@ class InstrumentsApi:
|
|
3213
3399
|
'_request_timeout',
|
3214
3400
|
'_request_auth',
|
3215
3401
|
'_content_type',
|
3216
|
-
'_headers'
|
3402
|
+
'_headers',
|
3403
|
+
'opts'
|
3217
3404
|
]
|
3218
3405
|
)
|
3219
3406
|
|
@@ -3280,6 +3467,7 @@ class InstrumentsApi:
|
|
3280
3467
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
3281
3468
|
_preload_content=_params.get('_preload_content', True),
|
3282
3469
|
_request_timeout=_params.get('_request_timeout'),
|
3470
|
+
opts=_params.get('opts'),
|
3283
3471
|
collection_formats=_collection_formats,
|
3284
3472
|
_request_auth=_params.get('_request_auth'))
|
3285
3473
|
|
@@ -3312,10 +3500,9 @@ class InstrumentsApi:
|
|
3312
3500
|
:type scope: str
|
3313
3501
|
:param async_req: Whether to execute the request asynchronously.
|
3314
3502
|
:type async_req: bool, optional
|
3315
|
-
:param _request_timeout:
|
3316
|
-
|
3317
|
-
|
3318
|
-
(connection, read) timeouts.
|
3503
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
3504
|
+
:param opts: Configuration options for this request
|
3505
|
+
:type opts: ConfigurationOptions, optional
|
3319
3506
|
:return: Returns the result object.
|
3320
3507
|
If the method is called asynchronously,
|
3321
3508
|
returns the request thread.
|
@@ -3358,10 +3545,9 @@ class InstrumentsApi:
|
|
3358
3545
|
:param _return_http_data_only: response data instead of ApiResponse
|
3359
3546
|
object with status code, headers, etc
|
3360
3547
|
:type _return_http_data_only: bool, optional
|
3361
|
-
:param _request_timeout:
|
3362
|
-
|
3363
|
-
|
3364
|
-
(connection, read) timeouts.
|
3548
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
3549
|
+
:param opts: Configuration options for this request
|
3550
|
+
:type opts: ConfigurationOptions, optional
|
3365
3551
|
:param _request_auth: set to override the auth_settings for an a single
|
3366
3552
|
request; this effectively ignores the authentication
|
3367
3553
|
in the spec for a single request.
|
@@ -3389,7 +3575,8 @@ class InstrumentsApi:
|
|
3389
3575
|
'_request_timeout',
|
3390
3576
|
'_request_auth',
|
3391
3577
|
'_content_type',
|
3392
|
-
'_headers'
|
3578
|
+
'_headers',
|
3579
|
+
'opts'
|
3393
3580
|
]
|
3394
3581
|
)
|
3395
3582
|
|
@@ -3462,6 +3649,7 @@ class InstrumentsApi:
|
|
3462
3649
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
3463
3650
|
_preload_content=_params.get('_preload_content', True),
|
3464
3651
|
_request_timeout=_params.get('_request_timeout'),
|
3652
|
+
opts=_params.get('opts'),
|
3465
3653
|
collection_formats=_collection_formats,
|
3466
3654
|
_request_auth=_params.get('_request_auth'))
|
3467
3655
|
|
@@ -3490,10 +3678,9 @@ class InstrumentsApi:
|
|
3490
3678
|
:type scope: str
|
3491
3679
|
:param async_req: Whether to execute the request asynchronously.
|
3492
3680
|
:type async_req: bool, optional
|
3493
|
-
:param _request_timeout:
|
3494
|
-
|
3495
|
-
|
3496
|
-
(connection, read) timeouts.
|
3681
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
3682
|
+
:param opts: Configuration options for this request
|
3683
|
+
:type opts: ConfigurationOptions, optional
|
3497
3684
|
:return: Returns the result object.
|
3498
3685
|
If the method is called asynchronously,
|
3499
3686
|
returns the request thread.
|
@@ -3532,10 +3719,9 @@ class InstrumentsApi:
|
|
3532
3719
|
:param _return_http_data_only: response data instead of ApiResponse
|
3533
3720
|
object with status code, headers, etc
|
3534
3721
|
:type _return_http_data_only: bool, optional
|
3535
|
-
:param _request_timeout:
|
3536
|
-
|
3537
|
-
|
3538
|
-
(connection, read) timeouts.
|
3722
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
3723
|
+
:param opts: Configuration options for this request
|
3724
|
+
:type opts: ConfigurationOptions, optional
|
3539
3725
|
:param _request_auth: set to override the auth_settings for an a single
|
3540
3726
|
request; this effectively ignores the authentication
|
3541
3727
|
in the spec for a single request.
|
@@ -3561,7 +3747,8 @@ class InstrumentsApi:
|
|
3561
3747
|
'_request_timeout',
|
3562
3748
|
'_request_auth',
|
3563
3749
|
'_content_type',
|
3564
|
-
'_headers'
|
3750
|
+
'_headers',
|
3751
|
+
'opts'
|
3565
3752
|
]
|
3566
3753
|
)
|
3567
3754
|
|
@@ -3628,6 +3815,7 @@ class InstrumentsApi:
|
|
3628
3815
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
3629
3816
|
_preload_content=_params.get('_preload_content', True),
|
3630
3817
|
_request_timeout=_params.get('_request_timeout'),
|
3818
|
+
opts=_params.get('opts'),
|
3631
3819
|
collection_formats=_collection_formats,
|
3632
3820
|
_request_auth=_params.get('_request_auth'))
|
3633
3821
|
|
@@ -3656,10 +3844,9 @@ class InstrumentsApi:
|
|
3656
3844
|
:type scope: str
|
3657
3845
|
:param async_req: Whether to execute the request asynchronously.
|
3658
3846
|
:type async_req: bool, optional
|
3659
|
-
:param _request_timeout:
|
3660
|
-
|
3661
|
-
|
3662
|
-
(connection, read) timeouts.
|
3847
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
3848
|
+
:param opts: Configuration options for this request
|
3849
|
+
:type opts: ConfigurationOptions, optional
|
3663
3850
|
:return: Returns the result object.
|
3664
3851
|
If the method is called asynchronously,
|
3665
3852
|
returns the request thread.
|
@@ -3698,10 +3885,9 @@ class InstrumentsApi:
|
|
3698
3885
|
:param _return_http_data_only: response data instead of ApiResponse
|
3699
3886
|
object with status code, headers, etc
|
3700
3887
|
:type _return_http_data_only: bool, optional
|
3701
|
-
:param _request_timeout:
|
3702
|
-
|
3703
|
-
|
3704
|
-
(connection, read) timeouts.
|
3888
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
3889
|
+
:param opts: Configuration options for this request
|
3890
|
+
:type opts: ConfigurationOptions, optional
|
3705
3891
|
:param _request_auth: set to override the auth_settings for an a single
|
3706
3892
|
request; this effectively ignores the authentication
|
3707
3893
|
in the spec for a single request.
|
@@ -3727,7 +3913,8 @@ class InstrumentsApi:
|
|
3727
3913
|
'_request_timeout',
|
3728
3914
|
'_request_auth',
|
3729
3915
|
'_content_type',
|
3730
|
-
'_headers'
|
3916
|
+
'_headers',
|
3917
|
+
'opts'
|
3731
3918
|
]
|
3732
3919
|
)
|
3733
3920
|
|
@@ -3794,5 +3981,6 @@ class InstrumentsApi:
|
|
3794
3981
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
3795
3982
|
_preload_content=_params.get('_preload_content', True),
|
3796
3983
|
_request_timeout=_params.get('_request_timeout'),
|
3984
|
+
opts=_params.get('opts'),
|
3797
3985
|
collection_formats=_collection_formats,
|
3798
3986
|
_request_auth=_params.get('_request_auth'))
|