lusid-sdk 2.0.50b0__py3-none-any.whl → 2.0.470__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 +1117 -14
- lusid/api/__init__.py +69 -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 +1119 -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/queryable_keys_api.py +211 -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/staging_rule_set_api.py +885 -0
- 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 +1028 -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_staging_rule_set_request.py +91 -0
- 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/expiry_event.py +91 -0
- 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 +13 -5
- lusid/models/instrument_event_configuration.py +74 -0
- lusid/models/instrument_event_holder.py +12 -3
- lusid/models/instrument_event_type.py +8 -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_staging_rule_set.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 +3 -0
- lusid/models/property_key_compliance_parameter.py +3 -3
- lusid/models/property_key_list_compliance_parameter.py +3 -3
- lusid/models/queryable_key.py +124 -0
- 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/resource_list_of_queryable_key.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/set_share_class_instruments_request.py +79 -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/staging_rule.py +90 -0
- lusid/models/staging_rule_approval_criteria.py +81 -0
- lusid/models/staging_rule_match_criteria.py +95 -0
- lusid/models/staging_rule_set.py +103 -0
- 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/update_staging_rule_set_request.py +91 -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.470.dist-info}/METADATA +245 -48
- {lusid_sdk-2.0.50b0.dist-info → lusid_sdk-2.0.470.dist-info}/RECORD +326 -235
- {lusid_sdk-2.0.50b0.dist-info → lusid_sdk-2.0.470.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
lusid/api/schemas_api.py
CHANGED
|
@@ -366,28 +366,26 @@ class SchemasApi:
|
|
|
366
366
|
_request_auth=_params.get('_request_auth'))
|
|
367
367
|
|
|
368
368
|
@overload
|
|
369
|
-
async def get_value_types(self, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None,
|
|
369
|
+
async def get_value_types(self, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, **kwargs) -> ResourceListOfValueType: # noqa: E501
|
|
370
370
|
...
|
|
371
371
|
|
|
372
372
|
@overload
|
|
373
|
-
def get_value_types(self, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None,
|
|
373
|
+
def get_value_types(self, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfValueType: # noqa: E501
|
|
374
374
|
...
|
|
375
375
|
|
|
376
376
|
@validate_arguments
|
|
377
|
-
def get_value_types(self, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None,
|
|
377
|
+
def get_value_types(self, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfValueType, Awaitable[ResourceListOfValueType]]: # noqa: E501
|
|
378
378
|
"""[EARLY ACCESS] GetValueTypes: Get value types # noqa: E501
|
|
379
379
|
|
|
380
380
|
Gets the available value types for which a schema is available. # noqa: E501
|
|
381
381
|
This method makes a synchronous HTTP request by default. To make an
|
|
382
382
|
asynchronous HTTP request, please pass async_req=True
|
|
383
383
|
|
|
384
|
-
>>> thread = api.get_value_types(sort_by,
|
|
384
|
+
>>> thread = api.get_value_types(sort_by, limit, async_req=True)
|
|
385
385
|
>>> result = thread.get()
|
|
386
386
|
|
|
387
387
|
:param sort_by: Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName
|
|
388
388
|
:type sort_by: List[str]
|
|
389
|
-
:param start: Optional. When paginating, skip this number of results
|
|
390
|
-
:type start: int
|
|
391
389
|
:param limit: Optional. When paginating, limit the number of returned results to this many.
|
|
392
390
|
:type limit: int
|
|
393
391
|
:param async_req: Whether to execute the request asynchronously.
|
|
@@ -407,23 +405,21 @@ class SchemasApi:
|
|
|
407
405
|
raise ValueError(message)
|
|
408
406
|
if async_req is not None:
|
|
409
407
|
kwargs['async_req'] = async_req
|
|
410
|
-
return self.get_value_types_with_http_info(sort_by,
|
|
408
|
+
return self.get_value_types_with_http_info(sort_by, limit, **kwargs) # noqa: E501
|
|
411
409
|
|
|
412
410
|
@validate_arguments
|
|
413
|
-
def get_value_types_with_http_info(self, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None,
|
|
411
|
+
def get_value_types_with_http_info(self, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
414
412
|
"""[EARLY ACCESS] GetValueTypes: Get value types # noqa: E501
|
|
415
413
|
|
|
416
414
|
Gets the available value types for which a schema is available. # noqa: E501
|
|
417
415
|
This method makes a synchronous HTTP request by default. To make an
|
|
418
416
|
asynchronous HTTP request, please pass async_req=True
|
|
419
417
|
|
|
420
|
-
>>> thread = api.get_value_types_with_http_info(sort_by,
|
|
418
|
+
>>> thread = api.get_value_types_with_http_info(sort_by, limit, async_req=True)
|
|
421
419
|
>>> result = thread.get()
|
|
422
420
|
|
|
423
421
|
:param sort_by: Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName
|
|
424
422
|
:type sort_by: List[str]
|
|
425
|
-
:param start: Optional. When paginating, skip this number of results
|
|
426
|
-
:type start: int
|
|
427
423
|
:param limit: Optional. When paginating, limit the number of returned results to this many.
|
|
428
424
|
:type limit: int
|
|
429
425
|
:param async_req: Whether to execute the request asynchronously.
|
|
@@ -455,7 +451,6 @@ class SchemasApi:
|
|
|
455
451
|
|
|
456
452
|
_all_params = [
|
|
457
453
|
'sort_by',
|
|
458
|
-
'start',
|
|
459
454
|
'limit'
|
|
460
455
|
]
|
|
461
456
|
_all_params.extend(
|
|
@@ -491,9 +486,6 @@ class SchemasApi:
|
|
|
491
486
|
_query_params.append(('sortBy', _params['sort_by']))
|
|
492
487
|
_collection_formats['sortBy'] = 'multi'
|
|
493
488
|
|
|
494
|
-
if _params.get('start') is not None: # noqa: E501
|
|
495
|
-
_query_params.append(('start', _params['start']))
|
|
496
|
-
|
|
497
489
|
if _params.get('limit') is not None: # noqa: E501
|
|
498
490
|
_query_params.append(('limit', _params['limit']))
|
|
499
491
|
|
lusid/api/scopes_api.py
CHANGED
|
@@ -46,6 +46,157 @@ class ScopesApi:
|
|
|
46
46
|
api_client = ApiClient.get_default()
|
|
47
47
|
self.api_client = api_client
|
|
48
48
|
|
|
49
|
+
@overload
|
|
50
|
+
async def list_entity_scopes(self, entity_type : Annotated[constr(strict=True, max_length=100, min_length=0), Field(..., description="The entity type to list scopes for.")], **kwargs) -> ResourceListOfScopeDefinition: # noqa: E501
|
|
51
|
+
...
|
|
52
|
+
|
|
53
|
+
@overload
|
|
54
|
+
def list_entity_scopes(self, entity_type : Annotated[constr(strict=True, max_length=100, min_length=0), Field(..., description="The entity type to list scopes for.")], async_req: Optional[bool]=True, **kwargs) -> ResourceListOfScopeDefinition: # noqa: E501
|
|
55
|
+
...
|
|
56
|
+
|
|
57
|
+
@validate_arguments
|
|
58
|
+
def list_entity_scopes(self, entity_type : Annotated[constr(strict=True, max_length=100, min_length=0), Field(..., description="The entity type to list scopes for.")], async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfScopeDefinition, Awaitable[ResourceListOfScopeDefinition]]: # noqa: E501
|
|
59
|
+
"""ListEntityScopes: List Entity Scopes # noqa: E501
|
|
60
|
+
|
|
61
|
+
List all the scopes for a given entity type that contain data. # noqa: E501
|
|
62
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
63
|
+
asynchronous HTTP request, please pass async_req=True
|
|
64
|
+
|
|
65
|
+
>>> thread = api.list_entity_scopes(entity_type, async_req=True)
|
|
66
|
+
>>> result = thread.get()
|
|
67
|
+
|
|
68
|
+
:param entity_type: The entity type to list scopes for. (required)
|
|
69
|
+
:type entity_type: str
|
|
70
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
71
|
+
:type async_req: bool, optional
|
|
72
|
+
:param _request_timeout: timeout setting for this request.
|
|
73
|
+
If one number provided, it will be total request
|
|
74
|
+
timeout. It can also be a pair (tuple) of
|
|
75
|
+
(connection, read) timeouts.
|
|
76
|
+
:return: Returns the result object.
|
|
77
|
+
If the method is called asynchronously,
|
|
78
|
+
returns the request thread.
|
|
79
|
+
:rtype: ResourceListOfScopeDefinition
|
|
80
|
+
"""
|
|
81
|
+
kwargs['_return_http_data_only'] = True
|
|
82
|
+
if '_preload_content' in kwargs:
|
|
83
|
+
message = "Error! Please call the list_entity_scopes_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
|
84
|
+
raise ValueError(message)
|
|
85
|
+
if async_req is not None:
|
|
86
|
+
kwargs['async_req'] = async_req
|
|
87
|
+
return self.list_entity_scopes_with_http_info(entity_type, **kwargs) # noqa: E501
|
|
88
|
+
|
|
89
|
+
@validate_arguments
|
|
90
|
+
def list_entity_scopes_with_http_info(self, entity_type : Annotated[constr(strict=True, max_length=100, min_length=0), Field(..., description="The entity type to list scopes for.")], **kwargs) -> ApiResponse: # noqa: E501
|
|
91
|
+
"""ListEntityScopes: List Entity Scopes # noqa: E501
|
|
92
|
+
|
|
93
|
+
List all the scopes for a given entity type that contain data. # noqa: E501
|
|
94
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
95
|
+
asynchronous HTTP request, please pass async_req=True
|
|
96
|
+
|
|
97
|
+
>>> thread = api.list_entity_scopes_with_http_info(entity_type, async_req=True)
|
|
98
|
+
>>> result = thread.get()
|
|
99
|
+
|
|
100
|
+
:param entity_type: The entity type to list scopes for. (required)
|
|
101
|
+
:type entity_type: str
|
|
102
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
103
|
+
:type async_req: bool, optional
|
|
104
|
+
:param _preload_content: if False, the ApiResponse.data will
|
|
105
|
+
be set to none and raw_data will store the
|
|
106
|
+
HTTP response body without reading/decoding.
|
|
107
|
+
Default is True.
|
|
108
|
+
:type _preload_content: bool, optional
|
|
109
|
+
:param _return_http_data_only: response data instead of ApiResponse
|
|
110
|
+
object with status code, headers, etc
|
|
111
|
+
:type _return_http_data_only: bool, optional
|
|
112
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
113
|
+
number provided, it will be total request
|
|
114
|
+
timeout. It can also be a pair (tuple) of
|
|
115
|
+
(connection, read) timeouts.
|
|
116
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
117
|
+
request; this effectively ignores the authentication
|
|
118
|
+
in the spec for a single request.
|
|
119
|
+
:type _request_auth: dict, optional
|
|
120
|
+
:type _content_type: string, optional: force content-type for the request
|
|
121
|
+
:return: Returns the result object.
|
|
122
|
+
If the method is called asynchronously,
|
|
123
|
+
returns the request thread.
|
|
124
|
+
:rtype: tuple(ResourceListOfScopeDefinition, status_code(int), headers(HTTPHeaderDict))
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
_params = locals()
|
|
128
|
+
|
|
129
|
+
_all_params = [
|
|
130
|
+
'entity_type'
|
|
131
|
+
]
|
|
132
|
+
_all_params.extend(
|
|
133
|
+
[
|
|
134
|
+
'async_req',
|
|
135
|
+
'_return_http_data_only',
|
|
136
|
+
'_preload_content',
|
|
137
|
+
'_request_timeout',
|
|
138
|
+
'_request_auth',
|
|
139
|
+
'_content_type',
|
|
140
|
+
'_headers'
|
|
141
|
+
]
|
|
142
|
+
)
|
|
143
|
+
|
|
144
|
+
# validate the arguments
|
|
145
|
+
for _key, _val in _params['kwargs'].items():
|
|
146
|
+
if _key not in _all_params:
|
|
147
|
+
raise ApiTypeError(
|
|
148
|
+
"Got an unexpected keyword argument '%s'"
|
|
149
|
+
" to method list_entity_scopes" % _key
|
|
150
|
+
)
|
|
151
|
+
_params[_key] = _val
|
|
152
|
+
del _params['kwargs']
|
|
153
|
+
|
|
154
|
+
_collection_formats = {}
|
|
155
|
+
|
|
156
|
+
# process the path parameters
|
|
157
|
+
_path_params = {}
|
|
158
|
+
if _params['entity_type']:
|
|
159
|
+
_path_params['entityType'] = _params['entity_type']
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
# process the query parameters
|
|
163
|
+
_query_params = []
|
|
164
|
+
# process the header parameters
|
|
165
|
+
_header_params = dict(_params.get('_headers', {}))
|
|
166
|
+
# process the form parameters
|
|
167
|
+
_form_params = []
|
|
168
|
+
_files = {}
|
|
169
|
+
# process the body parameter
|
|
170
|
+
_body_params = None
|
|
171
|
+
# set the HTTP header `Accept`
|
|
172
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
173
|
+
['text/plain', 'application/json', 'text/json']) # noqa: E501
|
|
174
|
+
|
|
175
|
+
# authentication setting
|
|
176
|
+
_auth_settings = ['oauth2'] # noqa: E501
|
|
177
|
+
|
|
178
|
+
_response_types_map = {
|
|
179
|
+
'200': "ResourceListOfScopeDefinition",
|
|
180
|
+
'400': "LusidValidationProblemDetails",
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
return self.api_client.call_api(
|
|
184
|
+
'/api/scopes/{entityType}', 'GET',
|
|
185
|
+
_path_params,
|
|
186
|
+
_query_params,
|
|
187
|
+
_header_params,
|
|
188
|
+
body=_body_params,
|
|
189
|
+
post_params=_form_params,
|
|
190
|
+
files=_files,
|
|
191
|
+
response_types_map=_response_types_map,
|
|
192
|
+
auth_settings=_auth_settings,
|
|
193
|
+
async_req=_params.get('async_req'),
|
|
194
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
|
195
|
+
_preload_content=_params.get('_preload_content', True),
|
|
196
|
+
_request_timeout=_params.get('_request_timeout'),
|
|
197
|
+
collection_formats=_collection_formats,
|
|
198
|
+
_request_auth=_params.get('_request_auth'))
|
|
199
|
+
|
|
49
200
|
@overload
|
|
50
201
|
async def list_scopes(self, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set. For example, to filter on the Scope, use \"scope eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, **kwargs) -> ResourceListOfScopeDefinition: # noqa: E501
|
|
51
202
|
...
|
|
@@ -33,6 +33,8 @@ from lusid.models.translate_entities_inlined_request import TranslateEntitiesInl
|
|
|
33
33
|
from lusid.models.translate_entities_request import TranslateEntitiesRequest
|
|
34
34
|
from lusid.models.translate_entities_response import TranslateEntitiesResponse
|
|
35
35
|
from lusid.models.translation_script import TranslationScript
|
|
36
|
+
from lusid.models.upsert_dialect_request import UpsertDialectRequest
|
|
37
|
+
from lusid.models.upsert_translation_script_request import UpsertTranslationScriptRequest
|
|
36
38
|
|
|
37
39
|
from lusid.api_client import ApiClient
|
|
38
40
|
from lusid.api_response import ApiResponse
|
|
@@ -1107,26 +1109,26 @@ class ScriptedTranslationApi:
|
|
|
1107
1109
|
_request_auth=_params.get('_request_auth'))
|
|
1108
1110
|
|
|
1109
1111
|
@overload
|
|
1110
|
-
async def upsert_translation_dialect(self,
|
|
1112
|
+
async def upsert_translation_dialect(self, upsert_dialect_request : Annotated[UpsertDialectRequest, Field(..., description="The dialect to upsert.")], **kwargs) -> Dialect: # noqa: E501
|
|
1111
1113
|
...
|
|
1112
1114
|
|
|
1113
1115
|
@overload
|
|
1114
|
-
def upsert_translation_dialect(self,
|
|
1116
|
+
def upsert_translation_dialect(self, upsert_dialect_request : Annotated[UpsertDialectRequest, Field(..., description="The dialect to upsert.")], async_req: Optional[bool]=True, **kwargs) -> Dialect: # noqa: E501
|
|
1115
1117
|
...
|
|
1116
1118
|
|
|
1117
1119
|
@validate_arguments
|
|
1118
|
-
def upsert_translation_dialect(self,
|
|
1120
|
+
def upsert_translation_dialect(self, upsert_dialect_request : Annotated[UpsertDialectRequest, Field(..., description="The dialect to upsert.")], async_req: Optional[bool]=None, **kwargs) -> Union[Dialect, Awaitable[Dialect]]: # noqa: E501
|
|
1119
1121
|
"""[EARLY ACCESS] UpsertTranslationDialect: Upsert a Dialect. # noqa: E501
|
|
1120
1122
|
|
|
1121
1123
|
Upsert the given dialect. # noqa: E501
|
|
1122
1124
|
This method makes a synchronous HTTP request by default. To make an
|
|
1123
1125
|
asynchronous HTTP request, please pass async_req=True
|
|
1124
1126
|
|
|
1125
|
-
>>> thread = api.upsert_translation_dialect(
|
|
1127
|
+
>>> thread = api.upsert_translation_dialect(upsert_dialect_request, async_req=True)
|
|
1126
1128
|
>>> result = thread.get()
|
|
1127
1129
|
|
|
1128
|
-
:param
|
|
1129
|
-
:type
|
|
1130
|
+
:param upsert_dialect_request: The dialect to upsert. (required)
|
|
1131
|
+
:type upsert_dialect_request: UpsertDialectRequest
|
|
1130
1132
|
:param async_req: Whether to execute the request asynchronously.
|
|
1131
1133
|
:type async_req: bool, optional
|
|
1132
1134
|
:param _request_timeout: timeout setting for this request.
|
|
@@ -1144,21 +1146,21 @@ class ScriptedTranslationApi:
|
|
|
1144
1146
|
raise ValueError(message)
|
|
1145
1147
|
if async_req is not None:
|
|
1146
1148
|
kwargs['async_req'] = async_req
|
|
1147
|
-
return self.upsert_translation_dialect_with_http_info(
|
|
1149
|
+
return self.upsert_translation_dialect_with_http_info(upsert_dialect_request, **kwargs) # noqa: E501
|
|
1148
1150
|
|
|
1149
1151
|
@validate_arguments
|
|
1150
|
-
def upsert_translation_dialect_with_http_info(self,
|
|
1152
|
+
def upsert_translation_dialect_with_http_info(self, upsert_dialect_request : Annotated[UpsertDialectRequest, Field(..., description="The dialect to upsert.")], **kwargs) -> ApiResponse: # noqa: E501
|
|
1151
1153
|
"""[EARLY ACCESS] UpsertTranslationDialect: Upsert a Dialect. # noqa: E501
|
|
1152
1154
|
|
|
1153
1155
|
Upsert the given dialect. # noqa: E501
|
|
1154
1156
|
This method makes a synchronous HTTP request by default. To make an
|
|
1155
1157
|
asynchronous HTTP request, please pass async_req=True
|
|
1156
1158
|
|
|
1157
|
-
>>> thread = api.upsert_translation_dialect_with_http_info(
|
|
1159
|
+
>>> thread = api.upsert_translation_dialect_with_http_info(upsert_dialect_request, async_req=True)
|
|
1158
1160
|
>>> result = thread.get()
|
|
1159
1161
|
|
|
1160
|
-
:param
|
|
1161
|
-
:type
|
|
1162
|
+
:param upsert_dialect_request: The dialect to upsert. (required)
|
|
1163
|
+
:type upsert_dialect_request: UpsertDialectRequest
|
|
1162
1164
|
:param async_req: Whether to execute the request asynchronously.
|
|
1163
1165
|
:type async_req: bool, optional
|
|
1164
1166
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -1187,7 +1189,7 @@ class ScriptedTranslationApi:
|
|
|
1187
1189
|
_params = locals()
|
|
1188
1190
|
|
|
1189
1191
|
_all_params = [
|
|
1190
|
-
'
|
|
1192
|
+
'upsert_dialect_request'
|
|
1191
1193
|
]
|
|
1192
1194
|
_all_params.extend(
|
|
1193
1195
|
[
|
|
@@ -1225,8 +1227,8 @@ class ScriptedTranslationApi:
|
|
|
1225
1227
|
_files = {}
|
|
1226
1228
|
# process the body parameter
|
|
1227
1229
|
_body_params = None
|
|
1228
|
-
if _params['
|
|
1229
|
-
_body_params = _params['
|
|
1230
|
+
if _params['upsert_dialect_request'] is not None:
|
|
1231
|
+
_body_params = _params['upsert_dialect_request']
|
|
1230
1232
|
|
|
1231
1233
|
# set the HTTP header `Accept`
|
|
1232
1234
|
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
@@ -1265,26 +1267,26 @@ class ScriptedTranslationApi:
|
|
|
1265
1267
|
_request_auth=_params.get('_request_auth'))
|
|
1266
1268
|
|
|
1267
1269
|
@overload
|
|
1268
|
-
async def upsert_translation_script(self,
|
|
1270
|
+
async def upsert_translation_script(self, upsert_translation_script_request : Annotated[UpsertTranslationScriptRequest, Field(..., description="The translation script to be upserted.")], **kwargs) -> TranslationScript: # noqa: E501
|
|
1269
1271
|
...
|
|
1270
1272
|
|
|
1271
1273
|
@overload
|
|
1272
|
-
def upsert_translation_script(self,
|
|
1274
|
+
def upsert_translation_script(self, upsert_translation_script_request : Annotated[UpsertTranslationScriptRequest, Field(..., description="The translation script to be upserted.")], async_req: Optional[bool]=True, **kwargs) -> TranslationScript: # noqa: E501
|
|
1273
1275
|
...
|
|
1274
1276
|
|
|
1275
1277
|
@validate_arguments
|
|
1276
|
-
def upsert_translation_script(self,
|
|
1278
|
+
def upsert_translation_script(self, upsert_translation_script_request : Annotated[UpsertTranslationScriptRequest, Field(..., description="The translation script to be upserted.")], async_req: Optional[bool]=None, **kwargs) -> Union[TranslationScript, Awaitable[TranslationScript]]: # noqa: E501
|
|
1277
1279
|
"""[EARLY ACCESS] UpsertTranslationScript: Upsert a translation script. # noqa: E501
|
|
1278
1280
|
|
|
1279
1281
|
Upserts a translation script to be used for translating financial entities. # noqa: E501
|
|
1280
1282
|
This method makes a synchronous HTTP request by default. To make an
|
|
1281
1283
|
asynchronous HTTP request, please pass async_req=True
|
|
1282
1284
|
|
|
1283
|
-
>>> thread = api.upsert_translation_script(
|
|
1285
|
+
>>> thread = api.upsert_translation_script(upsert_translation_script_request, async_req=True)
|
|
1284
1286
|
>>> result = thread.get()
|
|
1285
1287
|
|
|
1286
|
-
:param
|
|
1287
|
-
:type
|
|
1288
|
+
:param upsert_translation_script_request: The translation script to be upserted. (required)
|
|
1289
|
+
:type upsert_translation_script_request: UpsertTranslationScriptRequest
|
|
1288
1290
|
:param async_req: Whether to execute the request asynchronously.
|
|
1289
1291
|
:type async_req: bool, optional
|
|
1290
1292
|
:param _request_timeout: timeout setting for this request.
|
|
@@ -1302,21 +1304,21 @@ class ScriptedTranslationApi:
|
|
|
1302
1304
|
raise ValueError(message)
|
|
1303
1305
|
if async_req is not None:
|
|
1304
1306
|
kwargs['async_req'] = async_req
|
|
1305
|
-
return self.upsert_translation_script_with_http_info(
|
|
1307
|
+
return self.upsert_translation_script_with_http_info(upsert_translation_script_request, **kwargs) # noqa: E501
|
|
1306
1308
|
|
|
1307
1309
|
@validate_arguments
|
|
1308
|
-
def upsert_translation_script_with_http_info(self,
|
|
1310
|
+
def upsert_translation_script_with_http_info(self, upsert_translation_script_request : Annotated[UpsertTranslationScriptRequest, Field(..., description="The translation script to be upserted.")], **kwargs) -> ApiResponse: # noqa: E501
|
|
1309
1311
|
"""[EARLY ACCESS] UpsertTranslationScript: Upsert a translation script. # noqa: E501
|
|
1310
1312
|
|
|
1311
1313
|
Upserts a translation script to be used for translating financial entities. # noqa: E501
|
|
1312
1314
|
This method makes a synchronous HTTP request by default. To make an
|
|
1313
1315
|
asynchronous HTTP request, please pass async_req=True
|
|
1314
1316
|
|
|
1315
|
-
>>> thread = api.upsert_translation_script_with_http_info(
|
|
1317
|
+
>>> thread = api.upsert_translation_script_with_http_info(upsert_translation_script_request, async_req=True)
|
|
1316
1318
|
>>> result = thread.get()
|
|
1317
1319
|
|
|
1318
|
-
:param
|
|
1319
|
-
:type
|
|
1320
|
+
:param upsert_translation_script_request: The translation script to be upserted. (required)
|
|
1321
|
+
:type upsert_translation_script_request: UpsertTranslationScriptRequest
|
|
1320
1322
|
:param async_req: Whether to execute the request asynchronously.
|
|
1321
1323
|
:type async_req: bool, optional
|
|
1322
1324
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -1345,7 +1347,7 @@ class ScriptedTranslationApi:
|
|
|
1345
1347
|
_params = locals()
|
|
1346
1348
|
|
|
1347
1349
|
_all_params = [
|
|
1348
|
-
'
|
|
1350
|
+
'upsert_translation_script_request'
|
|
1349
1351
|
]
|
|
1350
1352
|
_all_params.extend(
|
|
1351
1353
|
[
|
|
@@ -1383,8 +1385,8 @@ class ScriptedTranslationApi:
|
|
|
1383
1385
|
_files = {}
|
|
1384
1386
|
# process the body parameter
|
|
1385
1387
|
_body_params = None
|
|
1386
|
-
if _params['
|
|
1387
|
-
_body_params = _params['
|
|
1388
|
+
if _params['upsert_translation_script_request'] is not None:
|
|
1389
|
+
_body_params = _params['upsert_translation_script_request']
|
|
1388
1390
|
|
|
1389
1391
|
# set the HTTP header `Accept`
|
|
1390
1392
|
_header_params['Accept'] = self.api_client.select_header_accept(
|