lusid-sdk 2.0.50b0__py3-none-any.whl → 2.0.438__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of lusid-sdk might be problematic. Click here for more details.
- lusid/__init__.py +1091 -14
- lusid/api/__init__.py +65 -0
- lusid/api/abor_api.py +513 -179
- lusid/api/abor_configuration_api.py +25 -24
- lusid/api/allocations_api.py +12 -20
- lusid/api/blocks_api.py +6 -6
- lusid/api/calendars_api.py +16 -24
- lusid/api/chart_of_accounts_api.py +1745 -441
- lusid/api/compliance_api.py +71 -62
- lusid/api/configuration_recipe_api.py +1198 -56
- lusid/api/corporate_action_sources_api.py +8 -8
- lusid/api/custom_entities_api.py +6 -6
- lusid/api/cut_label_definitions_api.py +9 -17
- lusid/api/data_types_api.py +16 -32
- lusid/api/executions_api.py +6 -6
- lusid/api/funds_api.py +944 -0
- lusid/api/instrument_event_types_api.py +1287 -0
- lusid/api/instruments_api.py +12 -20
- lusid/api/legacy_compliance_api.py +12 -12
- lusid/api/legal_entities_api.py +12 -12
- lusid/api/order_graph_api.py +12 -12
- lusid/api/order_instructions_api.py +6 -6
- lusid/api/order_management_api.py +495 -14
- lusid/api/orders_api.py +16 -24
- lusid/api/packages_api.py +6 -6
- lusid/api/persons_api.py +16 -24
- lusid/api/placements_api.py +12 -12
- lusid/api/portfolio_groups_api.py +6 -6
- lusid/api/portfolios_api.py +23 -39
- lusid/api/property_definitions_api.py +205 -0
- lusid/api/quotes_api.py +20 -36
- lusid/api/reconciliations_api.py +410 -1978
- lusid/api/schemas_api.py +7 -15
- lusid/api/scopes_api.py +151 -0
- lusid/api/scripted_translation_api.py +30 -28
- lusid/api/transaction_configuration_api.py +22 -22
- lusid/api/transaction_portfolios_api.py +282 -577
- lusid/api_client.py +5 -3
- lusid/configuration.py +1 -1
- lusid/extensions/__init__.py +10 -7
- lusid/extensions/api_client.py +3 -1
- lusid/extensions/api_client_factory.py +156 -45
- lusid/extensions/api_configuration.py +124 -15
- lusid/extensions/configuration_loaders.py +2 -4
- lusid/extensions/proxy_config.py +8 -5
- lusid/extensions/socket_keep_alive.py +14 -15
- lusid/extensions/tcp_keep_alive_connector.py +93 -46
- lusid/models/__init__.py +1006 -13
- lusid/models/abor.py +9 -2
- lusid/models/abor_configuration.py +8 -8
- lusid/models/abor_configuration_request.py +9 -9
- lusid/models/abor_request.py +1 -1
- lusid/models/account.py +6 -1
- lusid/models/accumulation_event.py +104 -0
- lusid/models/address_key_compliance_parameter.py +5 -12
- lusid/models/address_key_list_compliance_parameter.py +3 -3
- lusid/models/address_key_option_definition.py +3 -1
- lusid/models/amortisation_event.py +4 -6
- lusid/models/{underlying_leg.py → asset_leg.py} +15 -15
- lusid/models/basket.py +3 -3
- lusid/models/block_and_order_id_request.py +78 -0
- lusid/models/block_and_orders.py +83 -0
- lusid/models/block_and_orders_create_request.py +77 -0
- lusid/models/block_and_orders_request.py +134 -0
- lusid/models/blocked_order_request.py +130 -0
- lusid/models/bond.py +13 -6
- lusid/models/bond_coupon_event.py +97 -0
- lusid/models/bond_default_event.py +8 -18
- lusid/models/bond_principal_event.py +97 -0
- lusid/models/book_transactions_request.py +97 -0
- lusid/models/bool_compliance_parameter.py +3 -3
- lusid/models/bool_list_compliance_parameter.py +3 -3
- lusid/models/branch_step.py +101 -0
- lusid/models/cap_floor.py +3 -3
- lusid/models/cash_dividend_event.py +32 -10
- lusid/models/cash_election.py +91 -0
- lusid/models/cash_flow_event.py +5 -7
- lusid/models/cash_perpetual.py +3 -3
- lusid/models/cds_flow_conventions.py +1 -1
- lusid/models/cds_index.py +4 -4
- lusid/models/check_step.py +110 -0
- lusid/models/cleardown_module_details.py +95 -0
- lusid/models/cleardown_module_request.py +117 -0
- lusid/models/cleardown_module_response.py +139 -0
- lusid/models/cleardown_module_rule.py +94 -0
- lusid/models/{reconciliation_run_break.py → cleardown_module_rules_updated_response.py} +30 -36
- lusid/models/close_event.py +3 -3
- lusid/models/close_period_diary_entry_request.py +149 -0
- lusid/models/complete_portfolio.py +8 -1
- lusid/models/complex_bond.py +4 -4
- lusid/models/complex_market_data.py +6 -5
- lusid/models/compliance_parameter.py +8 -5
- lusid/models/compliance_parameter_type.py +3 -0
- lusid/models/compliance_rule_breakdown.py +16 -8
- lusid/models/compliance_rule_breakdown_request.py +12 -4
- lusid/models/compliance_rule_result_v2.py +85 -0
- lusid/models/compliance_step.py +99 -0
- lusid/models/compliance_step_type.py +42 -0
- lusid/models/compliance_summary_rule_result.py +12 -15
- lusid/models/compliance_summary_rule_result_request.py +12 -15
- lusid/models/compliance_template_variation.py +12 -2
- lusid/models/component_transaction.py +92 -0
- lusid/models/composite_dispersion.py +30 -5
- lusid/models/compounding.py +4 -4
- lusid/models/configuration_recipe.py +10 -19
- lusid/models/constant_volatility_surface.py +102 -0
- lusid/models/contract_for_difference.py +3 -3
- lusid/models/create_derived_property_definition_request.py +3 -3
- lusid/models/create_derived_transaction_portfolio_request.py +10 -3
- lusid/models/create_property_definition_request.py +12 -5
- lusid/models/create_trade_tickets_response.py +87 -0
- lusid/models/create_transaction_portfolio_request.py +16 -3
- lusid/models/credit_default_swap.py +4 -4
- lusid/models/credit_spread_curve_data.py +4 -4
- lusid/models/custom_entity_definition.py +8 -2
- lusid/models/custom_entity_type.py +8 -2
- lusid/models/cut_label_definition.py +7 -1
- lusid/models/data_type.py +7 -1
- lusid/models/data_type_summary.py +8 -2
- lusid/models/date_time_compliance_parameter.py +3 -3
- lusid/models/date_time_list_compliance_parameter.py +3 -3
- lusid/models/{upsert_reconciliation_run_request.py → day_month.py} +15 -15
- lusid/models/decimal_compliance_parameter.py +3 -3
- lusid/models/decimal_list_compliance_parameter.py +3 -3
- lusid/models/dialect.py +9 -3
- lusid/models/diary_entry.py +1 -1
- lusid/models/diary_entry_request.py +1 -1
- lusid/models/discount_factor_curve_data.py +3 -3
- lusid/models/dividend_option_event.py +129 -0
- lusid/models/dividend_reinvestment_event.py +124 -0
- lusid/models/election_specification.py +73 -0
- lusid/models/eligibility_calculation.py +71 -0
- lusid/models/empty_model_options.py +3 -3
- lusid/models/equity.py +8 -6
- lusid/models/equity_curve_by_prices_data.py +3 -3
- lusid/models/equity_model_options.py +3 -3
- lusid/models/equity_option.py +3 -3
- lusid/models/equity_swap.py +4 -4
- lusid/models/equity_vol_surface_data.py +3 -3
- lusid/models/exchange_traded_option.py +3 -3
- lusid/models/exercise_event.py +5 -7
- lusid/models/exotic_instrument.py +3 -3
- lusid/models/filter_predicate_compliance_parameter.py +91 -0
- lusid/models/filter_step.py +101 -0
- lusid/models/fixed_leg.py +3 -3
- lusid/models/fixed_schedule.py +4 -9
- lusid/models/flexible_loan.py +105 -0
- lusid/models/float_schedule.py +20 -12
- lusid/models/floating_leg.py +3 -3
- lusid/models/flow_convention_name.py +1 -1
- lusid/models/flow_conventions.py +1 -1
- lusid/models/forward_rate_agreement.py +3 -3
- lusid/models/from_recipe.py +81 -0
- lusid/models/fund.py +182 -0
- lusid/models/fund_properties.py +115 -0
- lusid/models/fund_request.py +165 -0
- lusid/models/fund_share_class.py +99 -0
- lusid/models/funding_leg.py +3 -3
- lusid/models/funding_leg_options.py +3 -3
- lusid/models/future.py +3 -3
- lusid/models/fx_conventions.py +73 -0
- lusid/models/fx_forward.py +8 -6
- lusid/models/fx_forward_curve_by_quote_reference.py +4 -4
- lusid/models/fx_forward_curve_data.py +3 -3
- lusid/models/fx_forward_model_options.py +3 -3
- lusid/models/fx_forward_pips_curve_data.py +3 -3
- lusid/models/fx_forward_settlement_event.py +136 -0
- lusid/models/fx_forward_tenor_curve_data.py +4 -4
- lusid/models/fx_forward_tenor_pips_curve_data.py +4 -4
- lusid/models/fx_linked_notional_schedule.py +108 -0
- lusid/models/fx_option.py +3 -3
- lusid/models/fx_rate_schedule.py +3 -3
- lusid/models/fx_swap.py +4 -4
- lusid/models/fx_vol_surface_data.py +3 -3
- lusid/models/{reconciliation_run.py → get_recipe_composer_response.py} +15 -15
- lusid/models/group_by_selector_compliance_parameter.py +91 -0
- lusid/models/group_by_step.py +101 -0
- lusid/models/group_filter_predicate_compliance_parameter.py +91 -0
- lusid/models/group_filter_step.py +110 -0
- lusid/models/group_of_market_data_key_rules.py +79 -0
- lusid/models/index_convention.py +1 -1
- lusid/models/index_model_options.py +3 -3
- lusid/models/inflation_index_conventions.py +2 -2
- lusid/models/inflation_leg.py +3 -3
- lusid/models/inflation_linked_bond.py +3 -3
- lusid/models/inflation_swap.py +4 -4
- lusid/models/informational_error_event.py +3 -3
- lusid/models/informational_event.py +4 -6
- lusid/models/instrument_event.py +12 -5
- lusid/models/instrument_event_configuration.py +74 -0
- lusid/models/instrument_event_holder.py +12 -3
- lusid/models/instrument_event_type.py +7 -0
- lusid/models/instrument_leg.py +3 -3
- lusid/models/instrument_list_compliance_parameter.py +3 -3
- lusid/models/instrument_payment_diary_leg.py +5 -3
- lusid/models/instrument_resolution_detail.py +105 -0
- lusid/models/instrument_type.py +2 -0
- lusid/models/interest_rate_swap.py +4 -4
- lusid/models/interest_rate_swaption.py +3 -3
- lusid/models/intermediate_compliance_step.py +110 -0
- lusid/models/ir_vol_cube_data.py +3 -3
- lusid/models/journal_entry_line.py +34 -3
- lusid/models/journal_entry_lines_query_parameters.py +1 -1
- lusid/models/label_value_set.py +1 -1
- lusid/models/leg_definition.py +16 -3
- lusid/models/lineage_member.py +87 -0
- lusid/models/lock_period_diary_entry_request.py +91 -0
- lusid/models/lusid_instrument.py +7 -5
- lusid/models/lusid_trade_ticket.py +8 -1
- lusid/models/market_context.py +17 -2
- lusid/models/market_data_type.py +1 -0
- lusid/models/maturity_event.py +91 -0
- lusid/models/model_options.py +5 -6
- lusid/models/model_options_type.py +0 -1
- lusid/models/model_selection.py +3 -3
- lusid/models/move_orders_to_different_blocks_request.py +77 -0
- lusid/models/moved_order_to_different_block_response.py +85 -0
- lusid/models/movement_type.py +2 -0
- lusid/models/multi_currency_amounts.py +71 -0
- lusid/models/opaque_market_data.py +3 -3
- lusid/models/opaque_model_options.py +3 -3
- lusid/models/open_event.py +3 -3
- lusid/models/optionality_schedule.py +3 -3
- lusid/models/order_graph_block.py +4 -2
- lusid/models/order_graph_block_order_detail.py +16 -2
- lusid/models/output_transaction.py +9 -2
- lusid/models/paged_resource_list_of_cleardown_module_response.py +113 -0
- lusid/models/{paged_resource_list_of_reconciliation_run_break.py → paged_resource_list_of_cleardown_module_rule.py} +11 -11
- lusid/models/{paged_resource_list_of_reconciliation_run.py → paged_resource_list_of_fund.py} +11 -11
- lusid/models/paged_resource_list_of_property_definition.py +113 -0
- lusid/models/paged_resource_list_of_transaction_template.py +113 -0
- lusid/models/paged_resource_list_of_transaction_template_specification.py +113 -0
- lusid/models/participation_request.py +3 -9
- lusid/models/performance_returns_metric.py +1 -1
- lusid/models/period_diary_entries_reopened_response.py +104 -0
- lusid/models/place_blocks_request.py +77 -0
- lusid/models/portfolio.py +15 -2
- lusid/models/portfolio_details.py +15 -2
- lusid/models/portfolio_group_id_compliance_parameter.py +3 -3
- lusid/models/portfolio_group_id_list_compliance_parameter.py +3 -3
- lusid/models/portfolio_holding.py +27 -2
- lusid/models/portfolio_id_compliance_parameter.py +3 -3
- lusid/models/portfolio_id_list_compliance_parameter.py +3 -3
- lusid/models/posting_module_rule.py +29 -4
- lusid/models/pricing_model.py +2 -1
- lusid/models/property_definition.py +17 -4
- lusid/models/property_definition_search_result.py +3 -3
- lusid/models/property_domain.py +2 -0
- lusid/models/property_key_compliance_parameter.py +3 -3
- lusid/models/property_key_list_compliance_parameter.py +3 -3
- lusid/models/raw_vendor_event.py +5 -7
- lusid/models/re_open_period_diary_entry_request.py +84 -0
- lusid/models/recipe_block.py +87 -0
- lusid/models/recipe_composer.py +100 -0
- lusid/models/{reconciliation_break_id.py → recipe_value.py} +22 -23
- lusid/models/recombine_step.py +101 -0
- lusid/models/reference_instrument.py +3 -3
- lusid/models/relative_date_offset.py +71 -0
- lusid/models/repo.py +3 -3
- lusid/models/reset_event.py +4 -6
- lusid/models/resource_list_of_block_and_orders.py +113 -0
- lusid/models/resource_list_of_get_recipe_composer_response.py +113 -0
- lusid/models/resource_list_of_moved_order_to_different_block_response.py +113 -0
- lusid/models/schedule.py +6 -5
- lusid/models/schedule_type.py +1 -0
- lusid/models/script_map_reference.py +94 -0
- lusid/models/security_election.py +86 -0
- lusid/models/side_definition.py +1 -8
- lusid/models/sides_definition_request.py +1 -8
- lusid/models/simple_cash_flow_loan.py +3 -3
- lusid/models/simple_instrument.py +3 -3
- lusid/models/step_schedule.py +3 -3
- lusid/models/stock_split_event.py +3 -3
- lusid/models/string_compliance_parameter.py +3 -3
- lusid/models/string_list_compliance_parameter.py +3 -3
- lusid/models/template_field.py +77 -0
- lusid/models/term_deposit.py +3 -3
- lusid/models/total_return_swap.py +16 -16
- lusid/models/transaction_configuration_movement_data.py +3 -3
- lusid/models/transaction_configuration_movement_data_request.py +3 -3
- lusid/models/transaction_currency_and_amount.py +81 -0
- lusid/models/transaction_field_map.py +97 -0
- lusid/models/transaction_price.py +3 -3
- lusid/models/transaction_price_and_type.py +81 -0
- lusid/models/transaction_price_type.py +1 -0
- lusid/models/transaction_property_map.py +80 -0
- lusid/models/transaction_template.py +100 -0
- lusid/models/transaction_template_request.py +79 -0
- lusid/models/transaction_template_specification.py +99 -0
- lusid/models/transaction_type_alias.py +0 -7
- lusid/models/transaction_type_calculation.py +1 -1
- lusid/models/transition_event.py +3 -3
- lusid/models/translation_context.py +75 -0
- lusid/models/translation_script.py +9 -3
- lusid/models/trial_balance.py +46 -11
- lusid/models/trial_balance_query_parameters.py +15 -6
- lusid/models/trigger_event.py +3 -3
- lusid/models/units_ratio.py +71 -0
- lusid/models/{compliance_run_summary.py → upsert_compliance_run_summary_result.py} +8 -8
- lusid/models/upsert_dialect_request.py +79 -0
- lusid/models/upsert_instrument_event_request.py +12 -3
- lusid/models/upsert_quote_request.py +1 -1
- lusid/models/upsert_recipe_composer_request.py +73 -0
- lusid/models/upsert_recipe_request.py +3 -9
- lusid/models/upsert_translation_script_request.py +75 -0
- lusid/models/valuation_schedule.py +10 -3
- lusid/models/weighted_instrument.py +13 -2
- lusid/models/weighted_instrument_in_line_lookup_identifiers.py +89 -0
- lusid/models/yield_curve_data.py +3 -3
- lusid/rest.py +1 -1
- {lusid_sdk-2.0.50b0.dist-info → lusid_sdk-2.0.438.dist-info}/METADATA +227 -48
- {lusid_sdk-2.0.50b0.dist-info → lusid_sdk-2.0.438.dist-info}/RECORD +313 -235
- {lusid_sdk-2.0.50b0.dist-info → lusid_sdk-2.0.438.dist-info}/WHEEL +1 -1
- lusid/extensions/api_client_builder.py +0 -138
- lusid/models/configuration_recipe_snippet.py +0 -139
- lusid/models/je_lines_query_parameters.py +0 -105
- lusid/models/look_up_pricing_model_options.py +0 -93
- lusid/models/reconciliation_run_id.py +0 -85
- lusid/models/upsert_reconciliation_break_request.py +0 -98
|
@@ -31,6 +31,7 @@ from lusid.models.create_derived_property_definition_request import CreateDerive
|
|
|
31
31
|
from lusid.models.create_property_definition_request import CreatePropertyDefinitionRequest
|
|
32
32
|
from lusid.models.deleted_entity_response import DeletedEntityResponse
|
|
33
33
|
from lusid.models.model_property import ModelProperty
|
|
34
|
+
from lusid.models.paged_resource_list_of_property_definition import PagedResourceListOfPropertyDefinition
|
|
34
35
|
from lusid.models.property_definition import PropertyDefinition
|
|
35
36
|
from lusid.models.resource_list_of_property_definition import ResourceListOfPropertyDefinition
|
|
36
37
|
from lusid.models.resource_list_of_property_interval import ResourceListOfPropertyInterval
|
|
@@ -1305,6 +1306,210 @@ class PropertyDefinitionsApi:
|
|
|
1305
1306
|
collection_formats=_collection_formats,
|
|
1306
1307
|
_request_auth=_params.get('_request_auth'))
|
|
1307
1308
|
|
|
1309
|
+
@overload
|
|
1310
|
+
async def list_property_definitions(self, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the property definitions. 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 property definitions. Defaults to returning the latest version of each property definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Property Definition' domain to decorate onto property definitions. These must take the format {domain}/{scope}/{code} e.g \"PropertyDefinition/myScope/someAttributeKey\". Each property must be from the \"PropertyDefinition\" domain.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing property definitions; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For example, to filter on the display name, specify \"DisplayName eq 'DisplayName'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names or properties to sort by, each suffixed by \" ASC\" or \" DESC\"")] = None, **kwargs) -> PagedResourceListOfPropertyDefinition: # noqa: E501
|
|
1311
|
+
...
|
|
1312
|
+
|
|
1313
|
+
@overload
|
|
1314
|
+
def list_property_definitions(self, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the property definitions. 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 property definitions. Defaults to returning the latest version of each property definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Property Definition' domain to decorate onto property definitions. These must take the format {domain}/{scope}/{code} e.g \"PropertyDefinition/myScope/someAttributeKey\". Each property must be from the \"PropertyDefinition\" domain.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing property definitions; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For example, to filter on the display name, specify \"DisplayName eq 'DisplayName'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names or properties to sort by, each suffixed by \" ASC\" or \" DESC\"")] = None, async_req: Optional[bool]=True, **kwargs) -> PagedResourceListOfPropertyDefinition: # noqa: E501
|
|
1315
|
+
...
|
|
1316
|
+
|
|
1317
|
+
@validate_arguments
|
|
1318
|
+
def list_property_definitions(self, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the property definitions. 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 property definitions. Defaults to returning the latest version of each property definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Property Definition' domain to decorate onto property definitions. These must take the format {domain}/{scope}/{code} e.g \"PropertyDefinition/myScope/someAttributeKey\". Each property must be from the \"PropertyDefinition\" domain.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing property definitions; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For example, to filter on the display name, specify \"DisplayName eq 'DisplayName'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names or properties to sort by, each suffixed by \" ASC\" or \" DESC\"")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[PagedResourceListOfPropertyDefinition, Awaitable[PagedResourceListOfPropertyDefinition]]: # noqa: E501
|
|
1319
|
+
"""ListPropertyDefinitions: List property definitions # noqa: E501
|
|
1320
|
+
|
|
1321
|
+
List all the property definitions matching particular criteria. # noqa: E501
|
|
1322
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1323
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1324
|
+
|
|
1325
|
+
>>> thread = api.list_property_definitions(effective_at, as_at, property_keys, page, limit, filter, sort_by, async_req=True)
|
|
1326
|
+
>>> result = thread.get()
|
|
1327
|
+
|
|
1328
|
+
:param effective_at: The effective datetime or cut label at which to list the property definitions. Defaults to the current LUSID system datetime if not specified.
|
|
1329
|
+
:type effective_at: str
|
|
1330
|
+
:param as_at: The asAt datetime at which to list the property definitions. Defaults to returning the latest version of each property definition if not specified.
|
|
1331
|
+
:type as_at: datetime
|
|
1332
|
+
:param property_keys: A list of property keys from the 'Property Definition' domain to decorate onto property definitions. These must take the format {domain}/{scope}/{code} e.g \"PropertyDefinition/myScope/someAttributeKey\". Each property must be from the \"PropertyDefinition\" domain.
|
|
1333
|
+
:type property_keys: List[str]
|
|
1334
|
+
:param page: The pagination token to use to continue listing property definitions; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.
|
|
1335
|
+
:type page: str
|
|
1336
|
+
:param limit: When paginating, limit the results to this number. Defaults to 100 if not specified.
|
|
1337
|
+
:type limit: int
|
|
1338
|
+
:param filter: Expression to filter the results. For example, to filter on the display name, specify \"DisplayName eq 'DisplayName'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.
|
|
1339
|
+
:type filter: str
|
|
1340
|
+
:param sort_by: A list of field names or properties to sort by, each suffixed by \" ASC\" or \" DESC\"
|
|
1341
|
+
:type sort_by: List[str]
|
|
1342
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
1343
|
+
:type async_req: bool, optional
|
|
1344
|
+
:param _request_timeout: timeout setting for this request.
|
|
1345
|
+
If one number provided, it will be total request
|
|
1346
|
+
timeout. It can also be a pair (tuple) of
|
|
1347
|
+
(connection, read) timeouts.
|
|
1348
|
+
:return: Returns the result object.
|
|
1349
|
+
If the method is called asynchronously,
|
|
1350
|
+
returns the request thread.
|
|
1351
|
+
:rtype: PagedResourceListOfPropertyDefinition
|
|
1352
|
+
"""
|
|
1353
|
+
kwargs['_return_http_data_only'] = True
|
|
1354
|
+
if '_preload_content' in kwargs:
|
|
1355
|
+
message = "Error! Please call the list_property_definitions_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
|
1356
|
+
raise ValueError(message)
|
|
1357
|
+
if async_req is not None:
|
|
1358
|
+
kwargs['async_req'] = async_req
|
|
1359
|
+
return self.list_property_definitions_with_http_info(effective_at, as_at, property_keys, page, limit, filter, sort_by, **kwargs) # noqa: E501
|
|
1360
|
+
|
|
1361
|
+
@validate_arguments
|
|
1362
|
+
def list_property_definitions_with_http_info(self, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the property definitions. 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 property definitions. Defaults to returning the latest version of each property definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Property Definition' domain to decorate onto property definitions. These must take the format {domain}/{scope}/{code} e.g \"PropertyDefinition/myScope/someAttributeKey\". Each property must be from the \"PropertyDefinition\" domain.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing property definitions; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For example, to filter on the display name, specify \"DisplayName eq 'DisplayName'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names or properties to sort by, each suffixed by \" ASC\" or \" DESC\"")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
1363
|
+
"""ListPropertyDefinitions: List property definitions # noqa: E501
|
|
1364
|
+
|
|
1365
|
+
List all the property definitions matching particular criteria. # noqa: E501
|
|
1366
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1367
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1368
|
+
|
|
1369
|
+
>>> thread = api.list_property_definitions_with_http_info(effective_at, as_at, property_keys, page, limit, filter, sort_by, async_req=True)
|
|
1370
|
+
>>> result = thread.get()
|
|
1371
|
+
|
|
1372
|
+
:param effective_at: The effective datetime or cut label at which to list the property definitions. Defaults to the current LUSID system datetime if not specified.
|
|
1373
|
+
:type effective_at: str
|
|
1374
|
+
:param as_at: The asAt datetime at which to list the property definitions. Defaults to returning the latest version of each property definition if not specified.
|
|
1375
|
+
:type as_at: datetime
|
|
1376
|
+
:param property_keys: A list of property keys from the 'Property Definition' domain to decorate onto property definitions. These must take the format {domain}/{scope}/{code} e.g \"PropertyDefinition/myScope/someAttributeKey\". Each property must be from the \"PropertyDefinition\" domain.
|
|
1377
|
+
:type property_keys: List[str]
|
|
1378
|
+
:param page: The pagination token to use to continue listing property definitions; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.
|
|
1379
|
+
:type page: str
|
|
1380
|
+
:param limit: When paginating, limit the results to this number. Defaults to 100 if not specified.
|
|
1381
|
+
:type limit: int
|
|
1382
|
+
:param filter: Expression to filter the results. For example, to filter on the display name, specify \"DisplayName eq 'DisplayName'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.
|
|
1383
|
+
:type filter: str
|
|
1384
|
+
:param sort_by: A list of field names or properties to sort by, each suffixed by \" ASC\" or \" DESC\"
|
|
1385
|
+
:type sort_by: List[str]
|
|
1386
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
1387
|
+
:type async_req: bool, optional
|
|
1388
|
+
:param _preload_content: if False, the ApiResponse.data will
|
|
1389
|
+
be set to none and raw_data will store the
|
|
1390
|
+
HTTP response body without reading/decoding.
|
|
1391
|
+
Default is True.
|
|
1392
|
+
:type _preload_content: bool, optional
|
|
1393
|
+
:param _return_http_data_only: response data instead of ApiResponse
|
|
1394
|
+
object with status code, headers, etc
|
|
1395
|
+
:type _return_http_data_only: bool, optional
|
|
1396
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1397
|
+
number provided, it will be total request
|
|
1398
|
+
timeout. It can also be a pair (tuple) of
|
|
1399
|
+
(connection, read) timeouts.
|
|
1400
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1401
|
+
request; this effectively ignores the authentication
|
|
1402
|
+
in the spec for a single request.
|
|
1403
|
+
:type _request_auth: dict, optional
|
|
1404
|
+
:type _content_type: string, optional: force content-type for the request
|
|
1405
|
+
:return: Returns the result object.
|
|
1406
|
+
If the method is called asynchronously,
|
|
1407
|
+
returns the request thread.
|
|
1408
|
+
:rtype: tuple(PagedResourceListOfPropertyDefinition, status_code(int), headers(HTTPHeaderDict))
|
|
1409
|
+
"""
|
|
1410
|
+
|
|
1411
|
+
_params = locals()
|
|
1412
|
+
|
|
1413
|
+
_all_params = [
|
|
1414
|
+
'effective_at',
|
|
1415
|
+
'as_at',
|
|
1416
|
+
'property_keys',
|
|
1417
|
+
'page',
|
|
1418
|
+
'limit',
|
|
1419
|
+
'filter',
|
|
1420
|
+
'sort_by'
|
|
1421
|
+
]
|
|
1422
|
+
_all_params.extend(
|
|
1423
|
+
[
|
|
1424
|
+
'async_req',
|
|
1425
|
+
'_return_http_data_only',
|
|
1426
|
+
'_preload_content',
|
|
1427
|
+
'_request_timeout',
|
|
1428
|
+
'_request_auth',
|
|
1429
|
+
'_content_type',
|
|
1430
|
+
'_headers'
|
|
1431
|
+
]
|
|
1432
|
+
)
|
|
1433
|
+
|
|
1434
|
+
# validate the arguments
|
|
1435
|
+
for _key, _val in _params['kwargs'].items():
|
|
1436
|
+
if _key not in _all_params:
|
|
1437
|
+
raise ApiTypeError(
|
|
1438
|
+
"Got an unexpected keyword argument '%s'"
|
|
1439
|
+
" to method list_property_definitions" % _key
|
|
1440
|
+
)
|
|
1441
|
+
_params[_key] = _val
|
|
1442
|
+
del _params['kwargs']
|
|
1443
|
+
|
|
1444
|
+
_collection_formats = {}
|
|
1445
|
+
|
|
1446
|
+
# process the path parameters
|
|
1447
|
+
_path_params = {}
|
|
1448
|
+
|
|
1449
|
+
# process the query parameters
|
|
1450
|
+
_query_params = []
|
|
1451
|
+
if _params.get('effective_at') is not None: # noqa: E501
|
|
1452
|
+
_query_params.append(('effectiveAt', _params['effective_at']))
|
|
1453
|
+
|
|
1454
|
+
if _params.get('as_at') is not None: # noqa: E501
|
|
1455
|
+
if isinstance(_params['as_at'], datetime):
|
|
1456
|
+
_query_params.append(('asAt', _params['as_at'].strftime(self.api_client.configuration.datetime_format)))
|
|
1457
|
+
else:
|
|
1458
|
+
_query_params.append(('asAt', _params['as_at']))
|
|
1459
|
+
|
|
1460
|
+
if _params.get('property_keys') is not None: # noqa: E501
|
|
1461
|
+
_query_params.append(('propertyKeys', _params['property_keys']))
|
|
1462
|
+
_collection_formats['propertyKeys'] = 'multi'
|
|
1463
|
+
|
|
1464
|
+
if _params.get('page') is not None: # noqa: E501
|
|
1465
|
+
_query_params.append(('page', _params['page']))
|
|
1466
|
+
|
|
1467
|
+
if _params.get('limit') is not None: # noqa: E501
|
|
1468
|
+
_query_params.append(('limit', _params['limit']))
|
|
1469
|
+
|
|
1470
|
+
if _params.get('filter') is not None: # noqa: E501
|
|
1471
|
+
_query_params.append(('filter', _params['filter']))
|
|
1472
|
+
|
|
1473
|
+
if _params.get('sort_by') is not None: # noqa: E501
|
|
1474
|
+
_query_params.append(('sortBy', _params['sort_by']))
|
|
1475
|
+
_collection_formats['sortBy'] = 'multi'
|
|
1476
|
+
|
|
1477
|
+
# process the header parameters
|
|
1478
|
+
_header_params = dict(_params.get('_headers', {}))
|
|
1479
|
+
# process the form parameters
|
|
1480
|
+
_form_params = []
|
|
1481
|
+
_files = {}
|
|
1482
|
+
# process the body parameter
|
|
1483
|
+
_body_params = None
|
|
1484
|
+
# set the HTTP header `Accept`
|
|
1485
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1486
|
+
['text/plain', 'application/json', 'text/json']) # noqa: E501
|
|
1487
|
+
|
|
1488
|
+
# authentication setting
|
|
1489
|
+
_auth_settings = ['oauth2'] # noqa: E501
|
|
1490
|
+
|
|
1491
|
+
_response_types_map = {
|
|
1492
|
+
'200': "PagedResourceListOfPropertyDefinition",
|
|
1493
|
+
'400': "LusidValidationProblemDetails",
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
return self.api_client.call_api(
|
|
1497
|
+
'/api/propertydefinitions/$list', 'GET',
|
|
1498
|
+
_path_params,
|
|
1499
|
+
_query_params,
|
|
1500
|
+
_header_params,
|
|
1501
|
+
body=_body_params,
|
|
1502
|
+
post_params=_form_params,
|
|
1503
|
+
files=_files,
|
|
1504
|
+
response_types_map=_response_types_map,
|
|
1505
|
+
auth_settings=_auth_settings,
|
|
1506
|
+
async_req=_params.get('async_req'),
|
|
1507
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
|
1508
|
+
_preload_content=_params.get('_preload_content', True),
|
|
1509
|
+
_request_timeout=_params.get('_request_timeout'),
|
|
1510
|
+
collection_formats=_collection_formats,
|
|
1511
|
+
_request_auth=_params.get('_request_auth'))
|
|
1512
|
+
|
|
1308
1513
|
@overload
|
|
1309
1514
|
async def update_derived_property_definition(self, domain : Annotated[StrictStr, Field(..., description="Domain of the property definition")], scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Scope of the property definition")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Code of the property definition")], update_derived_property_definition_request : Annotated[UpdateDerivedPropertyDefinitionRequest, Field(..., description="Information about the derived property definition being updated")], **kwargs) -> PropertyDefinition: # noqa: E501
|
|
1310
1515
|
...
|
lusid/api/quotes_api.py
CHANGED
|
@@ -842,32 +842,30 @@ class QuotesApi:
|
|
|
842
842
|
_request_auth=_params.get('_request_auth'))
|
|
843
843
|
|
|
844
844
|
@overload
|
|
845
|
-
async def list_quotes(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the quotes to list.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the quotes. Defaults to latest if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.
|
|
845
|
+
async def list_quotes(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the quotes to list.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the quotes. Defaults to latest if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, **kwargs) -> ResourceListOfQuote: # noqa: E501
|
|
846
846
|
...
|
|
847
847
|
|
|
848
848
|
@overload
|
|
849
|
-
def list_quotes(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the quotes to list.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the quotes. Defaults to latest if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.
|
|
849
|
+
def list_quotes(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the quotes to list.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the quotes. Defaults to latest if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfQuote: # noqa: E501
|
|
850
850
|
...
|
|
851
851
|
|
|
852
852
|
@validate_arguments
|
|
853
|
-
def list_quotes(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the quotes to list.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the quotes. Defaults to latest if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.
|
|
853
|
+
def list_quotes(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the quotes to list.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the quotes. Defaults to latest if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfQuote, Awaitable[ResourceListOfQuote]]: # noqa: E501
|
|
854
854
|
"""[DEPRECATED] ListQuotes: List quotes # noqa: E501
|
|
855
855
|
|
|
856
|
-
List all the quotes from a single scope at the specified date/time Please use M:Finbourne.WebApi.Controllers.QuotesController.ListQuotesForScope(System.String,System.Nullable{System.DateTimeOffset},System.String,System.Nullable{System.Int32},System.
|
|
856
|
+
List all the quotes from a single scope at the specified date/time Please use M:Finbourne.WebApi.Controllers.QuotesController.ListQuotesForScope(System.String,System.Nullable{System.DateTimeOffset},System.String,System.Nullable{System.Int32},System.String) - the signature and behaviour of this endpoint will be changing to omit scope # noqa: E501
|
|
857
857
|
This method makes a synchronous HTTP request by default. To make an
|
|
858
858
|
asynchronous HTTP request, please pass async_req=True
|
|
859
859
|
|
|
860
|
-
>>> thread = api.list_quotes(scope, as_at, page,
|
|
860
|
+
>>> thread = api.list_quotes(scope, as_at, page, limit, filter, async_req=True)
|
|
861
861
|
>>> result = thread.get()
|
|
862
862
|
|
|
863
863
|
:param scope: The scope of the quotes to list. (required)
|
|
864
864
|
:type scope: str
|
|
865
865
|
:param as_at: The asAt datetime at which to list the quotes. Defaults to latest if not specified.
|
|
866
866
|
:type as_at: datetime
|
|
867
|
-
:param page: The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.
|
|
867
|
+
:param page: The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.
|
|
868
868
|
:type page: str
|
|
869
|
-
:param start: When paginating, skip this number of results.
|
|
870
|
-
:type start: int
|
|
871
869
|
:param limit: When paginating, limit the number of returned results to this many.
|
|
872
870
|
:type limit: int
|
|
873
871
|
:param filter: Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.
|
|
@@ -889,27 +887,25 @@ class QuotesApi:
|
|
|
889
887
|
raise ValueError(message)
|
|
890
888
|
if async_req is not None:
|
|
891
889
|
kwargs['async_req'] = async_req
|
|
892
|
-
return self.list_quotes_with_http_info(scope, as_at, page,
|
|
890
|
+
return self.list_quotes_with_http_info(scope, as_at, page, limit, filter, **kwargs) # noqa: E501
|
|
893
891
|
|
|
894
892
|
@validate_arguments
|
|
895
|
-
def list_quotes_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the quotes to list.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the quotes. Defaults to latest if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.
|
|
893
|
+
def list_quotes_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the quotes to list.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the quotes. Defaults to latest if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
896
894
|
"""[DEPRECATED] ListQuotes: List quotes # noqa: E501
|
|
897
895
|
|
|
898
|
-
List all the quotes from a single scope at the specified date/time Please use M:Finbourne.WebApi.Controllers.QuotesController.ListQuotesForScope(System.String,System.Nullable{System.DateTimeOffset},System.String,System.Nullable{System.Int32},System.
|
|
896
|
+
List all the quotes from a single scope at the specified date/time Please use M:Finbourne.WebApi.Controllers.QuotesController.ListQuotesForScope(System.String,System.Nullable{System.DateTimeOffset},System.String,System.Nullable{System.Int32},System.String) - the signature and behaviour of this endpoint will be changing to omit scope # noqa: E501
|
|
899
897
|
This method makes a synchronous HTTP request by default. To make an
|
|
900
898
|
asynchronous HTTP request, please pass async_req=True
|
|
901
899
|
|
|
902
|
-
>>> thread = api.list_quotes_with_http_info(scope, as_at, page,
|
|
900
|
+
>>> thread = api.list_quotes_with_http_info(scope, as_at, page, limit, filter, async_req=True)
|
|
903
901
|
>>> result = thread.get()
|
|
904
902
|
|
|
905
903
|
:param scope: The scope of the quotes to list. (required)
|
|
906
904
|
:type scope: str
|
|
907
905
|
:param as_at: The asAt datetime at which to list the quotes. Defaults to latest if not specified.
|
|
908
906
|
:type as_at: datetime
|
|
909
|
-
:param page: The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.
|
|
907
|
+
:param page: The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.
|
|
910
908
|
:type page: str
|
|
911
|
-
:param start: When paginating, skip this number of results.
|
|
912
|
-
:type start: int
|
|
913
909
|
:param limit: When paginating, limit the number of returned results to this many.
|
|
914
910
|
:type limit: int
|
|
915
911
|
:param filter: Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.
|
|
@@ -945,7 +941,6 @@ class QuotesApi:
|
|
|
945
941
|
'scope',
|
|
946
942
|
'as_at',
|
|
947
943
|
'page',
|
|
948
|
-
'start',
|
|
949
944
|
'limit',
|
|
950
945
|
'filter'
|
|
951
946
|
]
|
|
@@ -990,9 +985,6 @@ class QuotesApi:
|
|
|
990
985
|
if _params.get('page') is not None: # noqa: E501
|
|
991
986
|
_query_params.append(('page', _params['page']))
|
|
992
987
|
|
|
993
|
-
if _params.get('start') is not None: # noqa: E501
|
|
994
|
-
_query_params.append(('start', _params['start']))
|
|
995
|
-
|
|
996
988
|
if _params.get('limit') is not None: # noqa: E501
|
|
997
989
|
_query_params.append(('limit', _params['limit']))
|
|
998
990
|
|
|
@@ -1198,32 +1190,30 @@ class QuotesApi:
|
|
|
1198
1190
|
_request_auth=_params.get('_request_auth'))
|
|
1199
1191
|
|
|
1200
1192
|
@overload
|
|
1201
|
-
async def list_quotes_for_scope(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the quotes to list.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the quotes. Defaults to latest if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.
|
|
1193
|
+
async def list_quotes_for_scope(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the quotes to list.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the quotes. Defaults to latest if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, **kwargs) -> ResourceListOfQuote: # noqa: E501
|
|
1202
1194
|
...
|
|
1203
1195
|
|
|
1204
1196
|
@overload
|
|
1205
|
-
def list_quotes_for_scope(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the quotes to list.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the quotes. Defaults to latest if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.
|
|
1197
|
+
def list_quotes_for_scope(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the quotes to list.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the quotes. Defaults to latest if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfQuote: # noqa: E501
|
|
1206
1198
|
...
|
|
1207
1199
|
|
|
1208
1200
|
@validate_arguments
|
|
1209
|
-
def list_quotes_for_scope(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the quotes to list.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the quotes. Defaults to latest if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.
|
|
1201
|
+
def list_quotes_for_scope(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the quotes to list.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the quotes. Defaults to latest if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfQuote, Awaitable[ResourceListOfQuote]]: # noqa: E501
|
|
1210
1202
|
"""ListQuotesForScope: List quotes for scope # noqa: E501
|
|
1211
1203
|
|
|
1212
1204
|
List all the quotes from a single scope at the specified date/time # noqa: E501
|
|
1213
1205
|
This method makes a synchronous HTTP request by default. To make an
|
|
1214
1206
|
asynchronous HTTP request, please pass async_req=True
|
|
1215
1207
|
|
|
1216
|
-
>>> thread = api.list_quotes_for_scope(scope, as_at, page,
|
|
1208
|
+
>>> thread = api.list_quotes_for_scope(scope, as_at, page, limit, filter, async_req=True)
|
|
1217
1209
|
>>> result = thread.get()
|
|
1218
1210
|
|
|
1219
1211
|
:param scope: The scope of the quotes to list. (required)
|
|
1220
1212
|
:type scope: str
|
|
1221
1213
|
:param as_at: The asAt datetime at which to list the quotes. Defaults to latest if not specified.
|
|
1222
1214
|
:type as_at: datetime
|
|
1223
|
-
:param page: The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.
|
|
1215
|
+
:param page: The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.
|
|
1224
1216
|
:type page: str
|
|
1225
|
-
:param start: When paginating, skip this number of results.
|
|
1226
|
-
:type start: int
|
|
1227
1217
|
:param limit: When paginating, limit the number of returned results to this many.
|
|
1228
1218
|
:type limit: int
|
|
1229
1219
|
:param filter: Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.
|
|
@@ -1245,27 +1235,25 @@ class QuotesApi:
|
|
|
1245
1235
|
raise ValueError(message)
|
|
1246
1236
|
if async_req is not None:
|
|
1247
1237
|
kwargs['async_req'] = async_req
|
|
1248
|
-
return self.list_quotes_for_scope_with_http_info(scope, as_at, page,
|
|
1238
|
+
return self.list_quotes_for_scope_with_http_info(scope, as_at, page, limit, filter, **kwargs) # noqa: E501
|
|
1249
1239
|
|
|
1250
1240
|
@validate_arguments
|
|
1251
|
-
def list_quotes_for_scope_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the quotes to list.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the quotes. Defaults to latest if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.
|
|
1241
|
+
def list_quotes_for_scope_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the quotes to list.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the quotes. Defaults to latest if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
1252
1242
|
"""ListQuotesForScope: List quotes for scope # noqa: E501
|
|
1253
1243
|
|
|
1254
1244
|
List all the quotes from a single scope at the specified date/time # noqa: E501
|
|
1255
1245
|
This method makes a synchronous HTTP request by default. To make an
|
|
1256
1246
|
asynchronous HTTP request, please pass async_req=True
|
|
1257
1247
|
|
|
1258
|
-
>>> thread = api.list_quotes_for_scope_with_http_info(scope, as_at, page,
|
|
1248
|
+
>>> thread = api.list_quotes_for_scope_with_http_info(scope, as_at, page, limit, filter, async_req=True)
|
|
1259
1249
|
>>> result = thread.get()
|
|
1260
1250
|
|
|
1261
1251
|
:param scope: The scope of the quotes to list. (required)
|
|
1262
1252
|
:type scope: str
|
|
1263
1253
|
:param as_at: The asAt datetime at which to list the quotes. Defaults to latest if not specified.
|
|
1264
1254
|
:type as_at: datetime
|
|
1265
|
-
:param page: The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.
|
|
1255
|
+
:param page: The pagination token to use to continue listing quotes from a previous call to list quotes. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request.
|
|
1266
1256
|
:type page: str
|
|
1267
|
-
:param start: When paginating, skip this number of results.
|
|
1268
|
-
:type start: int
|
|
1269
1257
|
:param limit: When paginating, limit the number of returned results to this many.
|
|
1270
1258
|
:type limit: int
|
|
1271
1259
|
:param filter: Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.
|
|
@@ -1301,7 +1289,6 @@ class QuotesApi:
|
|
|
1301
1289
|
'scope',
|
|
1302
1290
|
'as_at',
|
|
1303
1291
|
'page',
|
|
1304
|
-
'start',
|
|
1305
1292
|
'limit',
|
|
1306
1293
|
'filter'
|
|
1307
1294
|
]
|
|
@@ -1346,9 +1333,6 @@ class QuotesApi:
|
|
|
1346
1333
|
if _params.get('page') is not None: # noqa: E501
|
|
1347
1334
|
_query_params.append(('page', _params['page']))
|
|
1348
1335
|
|
|
1349
|
-
if _params.get('start') is not None: # noqa: E501
|
|
1350
|
-
_query_params.append(('start', _params['start']))
|
|
1351
|
-
|
|
1352
1336
|
if _params.get('limit') is not None: # noqa: E501
|
|
1353
1337
|
_query_params.append(('limit', _params['limit']))
|
|
1354
1338
|
|