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/compliance_api.py
CHANGED
|
@@ -22,13 +22,13 @@ from typing import overload, Optional, Union, Awaitable
|
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from datetime import datetime
|
|
24
24
|
|
|
25
|
-
from pydantic import Field, StrictBool,
|
|
25
|
+
from pydantic import Field, StrictBool, StrictStr, conint, conlist, constr, validator
|
|
26
26
|
|
|
27
27
|
from typing import Optional
|
|
28
28
|
|
|
29
29
|
from lusid.models.compliance_rule_response import ComplianceRuleResponse
|
|
30
|
+
from lusid.models.compliance_rule_result_v2 import ComplianceRuleResultV2
|
|
30
31
|
from lusid.models.compliance_run_info_v2 import ComplianceRunInfoV2
|
|
31
|
-
from lusid.models.compliance_run_summary import ComplianceRunSummary
|
|
32
32
|
from lusid.models.compliance_template import ComplianceTemplate
|
|
33
33
|
from lusid.models.decorated_compliance_run_summary import DecoratedComplianceRunSummary
|
|
34
34
|
from lusid.models.deleted_entity_response import DeletedEntityResponse
|
|
@@ -37,6 +37,7 @@ from lusid.models.paged_resource_list_of_compliance_run_info_v2 import PagedReso
|
|
|
37
37
|
from lusid.models.paged_resource_list_of_compliance_template import PagedResourceListOfComplianceTemplate
|
|
38
38
|
from lusid.models.upsert_compliance_rule_request import UpsertComplianceRuleRequest
|
|
39
39
|
from lusid.models.upsert_compliance_run_summary_request import UpsertComplianceRunSummaryRequest
|
|
40
|
+
from lusid.models.upsert_compliance_run_summary_result import UpsertComplianceRunSummaryResult
|
|
40
41
|
|
|
41
42
|
from lusid.api_client import ApiClient
|
|
42
43
|
from lusid.api_response import ApiResponse
|
|
@@ -397,28 +398,32 @@ class ComplianceApi:
|
|
|
397
398
|
_request_auth=_params.get('_request_auth'))
|
|
398
399
|
|
|
399
400
|
@overload
|
|
400
|
-
async def
|
|
401
|
+
async def get_compliance_rule_result(self, run_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Required: Run Scope.")], run_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Required: Run Code.")], rule_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Required: Rule Scope.")], rule_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Required: Rule Code.")], **kwargs) -> ComplianceRuleResultV2: # noqa: E501
|
|
401
402
|
...
|
|
402
403
|
|
|
403
404
|
@overload
|
|
404
|
-
def
|
|
405
|
+
def get_compliance_rule_result(self, run_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Required: Run Scope.")], run_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Required: Run Code.")], rule_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Required: Rule Scope.")], rule_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Required: Rule Code.")], async_req: Optional[bool]=True, **kwargs) -> ComplianceRuleResultV2: # noqa: E501
|
|
405
406
|
...
|
|
406
407
|
|
|
407
408
|
@validate_arguments
|
|
408
|
-
def
|
|
409
|
-
"""[EARLY ACCESS]
|
|
409
|
+
def get_compliance_rule_result(self, run_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Required: Run Scope.")], run_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Required: Run Code.")], rule_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Required: Rule Scope.")], rule_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Required: Rule Code.")], async_req: Optional[bool]=None, **kwargs) -> Union[ComplianceRuleResultV2, Awaitable[ComplianceRuleResultV2]]: # noqa: E501
|
|
410
|
+
"""[EARLY ACCESS] GetComplianceRuleResult: Get detailed results for a specific rule within a compliance run. # noqa: E501
|
|
410
411
|
|
|
411
|
-
Specify a run scope and code from a previously run compliance check to get
|
|
412
|
+
Specify a run scope and code from a previously run compliance check, and the scope and code of a rule within that run, to get detailed results for that rule. # noqa: E501
|
|
412
413
|
This method makes a synchronous HTTP request by default. To make an
|
|
413
414
|
asynchronous HTTP request, please pass async_req=True
|
|
414
415
|
|
|
415
|
-
>>> thread = api.
|
|
416
|
+
>>> thread = api.get_compliance_rule_result(run_scope, run_code, rule_scope, rule_code, async_req=True)
|
|
416
417
|
>>> result = thread.get()
|
|
417
418
|
|
|
418
|
-
:param
|
|
419
|
-
:type
|
|
420
|
-
:param
|
|
421
|
-
:type
|
|
419
|
+
:param run_scope: Required: Run Scope. (required)
|
|
420
|
+
:type run_scope: str
|
|
421
|
+
:param run_code: Required: Run Code. (required)
|
|
422
|
+
:type run_code: str
|
|
423
|
+
:param rule_scope: Required: Rule Scope. (required)
|
|
424
|
+
:type rule_scope: str
|
|
425
|
+
:param rule_code: Required: Rule Code. (required)
|
|
426
|
+
:type rule_code: str
|
|
422
427
|
:param async_req: Whether to execute the request asynchronously.
|
|
423
428
|
:type async_req: bool, optional
|
|
424
429
|
:param _request_timeout: timeout setting for this request.
|
|
@@ -428,31 +433,35 @@ class ComplianceApi:
|
|
|
428
433
|
:return: Returns the result object.
|
|
429
434
|
If the method is called asynchronously,
|
|
430
435
|
returns the request thread.
|
|
431
|
-
:rtype:
|
|
436
|
+
:rtype: ComplianceRuleResultV2
|
|
432
437
|
"""
|
|
433
438
|
kwargs['_return_http_data_only'] = True
|
|
434
439
|
if '_preload_content' in kwargs:
|
|
435
|
-
message = "Error! Please call the
|
|
440
|
+
message = "Error! Please call the get_compliance_rule_result_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
|
436
441
|
raise ValueError(message)
|
|
437
442
|
if async_req is not None:
|
|
438
443
|
kwargs['async_req'] = async_req
|
|
439
|
-
return self.
|
|
444
|
+
return self.get_compliance_rule_result_with_http_info(run_scope, run_code, rule_scope, rule_code, **kwargs) # noqa: E501
|
|
440
445
|
|
|
441
446
|
@validate_arguments
|
|
442
|
-
def
|
|
443
|
-
"""[EARLY ACCESS]
|
|
447
|
+
def get_compliance_rule_result_with_http_info(self, run_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Required: Run Scope.")], run_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Required: Run Code.")], rule_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Required: Rule Scope.")], rule_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Required: Rule Code.")], **kwargs) -> ApiResponse: # noqa: E501
|
|
448
|
+
"""[EARLY ACCESS] GetComplianceRuleResult: Get detailed results for a specific rule within a compliance run. # noqa: E501
|
|
444
449
|
|
|
445
|
-
Specify a run scope and code from a previously run compliance check to get
|
|
450
|
+
Specify a run scope and code from a previously run compliance check, and the scope and code of a rule within that run, to get detailed results for that rule. # noqa: E501
|
|
446
451
|
This method makes a synchronous HTTP request by default. To make an
|
|
447
452
|
asynchronous HTTP request, please pass async_req=True
|
|
448
453
|
|
|
449
|
-
>>> thread = api.
|
|
454
|
+
>>> thread = api.get_compliance_rule_result_with_http_info(run_scope, run_code, rule_scope, rule_code, async_req=True)
|
|
450
455
|
>>> result = thread.get()
|
|
451
456
|
|
|
452
|
-
:param
|
|
453
|
-
:type
|
|
454
|
-
:param
|
|
455
|
-
:type
|
|
457
|
+
:param run_scope: Required: Run Scope. (required)
|
|
458
|
+
:type run_scope: str
|
|
459
|
+
:param run_code: Required: Run Code. (required)
|
|
460
|
+
:type run_code: str
|
|
461
|
+
:param rule_scope: Required: Rule Scope. (required)
|
|
462
|
+
:type rule_scope: str
|
|
463
|
+
:param rule_code: Required: Rule Code. (required)
|
|
464
|
+
:type rule_code: str
|
|
456
465
|
:param async_req: Whether to execute the request asynchronously.
|
|
457
466
|
:type async_req: bool, optional
|
|
458
467
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -475,14 +484,16 @@ class ComplianceApi:
|
|
|
475
484
|
:return: Returns the result object.
|
|
476
485
|
If the method is called asynchronously,
|
|
477
486
|
returns the request thread.
|
|
478
|
-
:rtype: tuple(
|
|
487
|
+
:rtype: tuple(ComplianceRuleResultV2, status_code(int), headers(HTTPHeaderDict))
|
|
479
488
|
"""
|
|
480
489
|
|
|
481
490
|
_params = locals()
|
|
482
491
|
|
|
483
492
|
_all_params = [
|
|
484
|
-
'
|
|
485
|
-
'
|
|
493
|
+
'run_scope',
|
|
494
|
+
'run_code',
|
|
495
|
+
'rule_scope',
|
|
496
|
+
'rule_code'
|
|
486
497
|
]
|
|
487
498
|
_all_params.extend(
|
|
488
499
|
[
|
|
@@ -501,7 +512,7 @@ class ComplianceApi:
|
|
|
501
512
|
if _key not in _all_params:
|
|
502
513
|
raise ApiTypeError(
|
|
503
514
|
"Got an unexpected keyword argument '%s'"
|
|
504
|
-
" to method
|
|
515
|
+
" to method get_compliance_rule_result" % _key
|
|
505
516
|
)
|
|
506
517
|
_params[_key] = _val
|
|
507
518
|
del _params['kwargs']
|
|
@@ -510,11 +521,17 @@ class ComplianceApi:
|
|
|
510
521
|
|
|
511
522
|
# process the path parameters
|
|
512
523
|
_path_params = {}
|
|
513
|
-
if _params['
|
|
514
|
-
_path_params['
|
|
524
|
+
if _params['run_scope']:
|
|
525
|
+
_path_params['runScope'] = _params['run_scope']
|
|
515
526
|
|
|
516
|
-
if _params['
|
|
517
|
-
_path_params['
|
|
527
|
+
if _params['run_code']:
|
|
528
|
+
_path_params['runCode'] = _params['run_code']
|
|
529
|
+
|
|
530
|
+
if _params['rule_scope']:
|
|
531
|
+
_path_params['ruleScope'] = _params['rule_scope']
|
|
532
|
+
|
|
533
|
+
if _params['rule_code']:
|
|
534
|
+
_path_params['ruleCode'] = _params['rule_code']
|
|
518
535
|
|
|
519
536
|
|
|
520
537
|
# process the query parameters
|
|
@@ -534,12 +551,12 @@ class ComplianceApi:
|
|
|
534
551
|
_auth_settings = ['oauth2'] # noqa: E501
|
|
535
552
|
|
|
536
553
|
_response_types_map = {
|
|
537
|
-
'
|
|
554
|
+
'200': "ComplianceRuleResultV2",
|
|
538
555
|
'400': "LusidValidationProblemDetails",
|
|
539
556
|
}
|
|
540
557
|
|
|
541
558
|
return self.api_client.call_api(
|
|
542
|
-
'/api/compliance/runs/summary/{
|
|
559
|
+
'/api/compliance/runs/summary/{runScope}/{runCode}/{ruleScope}/{ruleCode}', 'GET',
|
|
543
560
|
_path_params,
|
|
544
561
|
_query_params,
|
|
545
562
|
_header_params,
|
|
@@ -1072,15 +1089,15 @@ class ComplianceApi:
|
|
|
1072
1089
|
_request_auth=_params.get('_request_auth'))
|
|
1073
1090
|
|
|
1074
1091
|
@overload
|
|
1075
|
-
async def list_compliance_runs(self, as_at : Annotated[Optional[datetime], Field(description="Optional. The time at which to get results from. Default : latest")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.
|
|
1092
|
+
async def list_compliance_runs(self, as_at : Annotated[Optional[datetime], Field(description="Optional. The time at which to get results from. Default : latest")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="Optional. 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="Optional. Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. A list of field names to sort by, each suffixed by \"ASC\" or \"DESC\"")] = None, **kwargs) -> PagedResourceListOfComplianceRunInfoV2: # noqa: E501
|
|
1076
1093
|
...
|
|
1077
1094
|
|
|
1078
1095
|
@overload
|
|
1079
|
-
def list_compliance_runs(self, as_at : Annotated[Optional[datetime], Field(description="Optional. The time at which to get results from. Default : latest")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.
|
|
1096
|
+
def list_compliance_runs(self, as_at : Annotated[Optional[datetime], Field(description="Optional. The time at which to get results from. Default : latest")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="Optional. 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="Optional. Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. A list of field names to sort by, each suffixed by \"ASC\" or \"DESC\"")] = None, async_req: Optional[bool]=True, **kwargs) -> PagedResourceListOfComplianceRunInfoV2: # noqa: E501
|
|
1080
1097
|
...
|
|
1081
1098
|
|
|
1082
1099
|
@validate_arguments
|
|
1083
|
-
def list_compliance_runs(self, as_at : Annotated[Optional[datetime], Field(description="Optional. The time at which to get results from. Default : latest")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.
|
|
1100
|
+
def list_compliance_runs(self, as_at : Annotated[Optional[datetime], Field(description="Optional. The time at which to get results from. Default : latest")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="Optional. 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="Optional. Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. A list of field names to sort by, each suffixed by \"ASC\" or \"DESC\"")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[PagedResourceListOfComplianceRunInfoV2, Awaitable[PagedResourceListOfComplianceRunInfoV2]]: # noqa: E501
|
|
1084
1101
|
"""[EARLY ACCESS] ListComplianceRuns: List historical compliance run identifiers. # noqa: E501
|
|
1085
1102
|
|
|
1086
1103
|
Lists RunIds of prior compliance runs, or a subset with a filter. # noqa: E501
|
|
@@ -1092,7 +1109,7 @@ class ComplianceApi:
|
|
|
1092
1109
|
|
|
1093
1110
|
:param as_at: Optional. The time at which to get results from. Default : latest
|
|
1094
1111
|
:type as_at: datetime
|
|
1095
|
-
:param page: Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.
|
|
1112
|
+
:param page: Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.
|
|
1096
1113
|
:type page: str
|
|
1097
1114
|
:param limit: Optional. When paginating, limit the number of returned results to this many.
|
|
1098
1115
|
:type limit: int
|
|
@@ -1120,7 +1137,7 @@ class ComplianceApi:
|
|
|
1120
1137
|
return self.list_compliance_runs_with_http_info(as_at, page, limit, filter, sort_by, **kwargs) # noqa: E501
|
|
1121
1138
|
|
|
1122
1139
|
@validate_arguments
|
|
1123
|
-
def list_compliance_runs_with_http_info(self, as_at : Annotated[Optional[datetime], Field(description="Optional. The time at which to get results from. Default : latest")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.
|
|
1140
|
+
def list_compliance_runs_with_http_info(self, as_at : Annotated[Optional[datetime], Field(description="Optional. The time at which to get results from. Default : latest")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="Optional. 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="Optional. Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. A list of field names to sort by, each suffixed by \"ASC\" or \"DESC\"")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
1124
1141
|
"""[EARLY ACCESS] ListComplianceRuns: List historical compliance run identifiers. # noqa: E501
|
|
1125
1142
|
|
|
1126
1143
|
Lists RunIds of prior compliance runs, or a subset with a filter. # noqa: E501
|
|
@@ -1132,7 +1149,7 @@ class ComplianceApi:
|
|
|
1132
1149
|
|
|
1133
1150
|
:param as_at: Optional. The time at which to get results from. Default : latest
|
|
1134
1151
|
:type as_at: datetime
|
|
1135
|
-
:param page: Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.
|
|
1152
|
+
:param page: Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.
|
|
1136
1153
|
:type page: str
|
|
1137
1154
|
:param limit: Optional. When paginating, limit the number of returned results to this many.
|
|
1138
1155
|
:type limit: int
|
|
@@ -1259,30 +1276,28 @@ class ComplianceApi:
|
|
|
1259
1276
|
_request_auth=_params.get('_request_auth'))
|
|
1260
1277
|
|
|
1261
1278
|
@overload
|
|
1262
|
-
async def list_compliance_templates(self, as_at : Annotated[Optional[datetime], Field(description="Optional. The time at which to get results from. Default : latest")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.
|
|
1279
|
+
async def list_compliance_templates(self, as_at : Annotated[Optional[datetime], Field(description="Optional. The time at which to get results from. Default : latest")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="Optional. 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="Optional. Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, **kwargs) -> PagedResourceListOfComplianceTemplate: # noqa: E501
|
|
1263
1280
|
...
|
|
1264
1281
|
|
|
1265
1282
|
@overload
|
|
1266
|
-
def list_compliance_templates(self, as_at : Annotated[Optional[datetime], Field(description="Optional. The time at which to get results from. Default : latest")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.
|
|
1283
|
+
def list_compliance_templates(self, as_at : Annotated[Optional[datetime], Field(description="Optional. The time at which to get results from. Default : latest")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="Optional. 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="Optional. 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) -> PagedResourceListOfComplianceTemplate: # noqa: E501
|
|
1267
1284
|
...
|
|
1268
1285
|
|
|
1269
1286
|
@validate_arguments
|
|
1270
|
-
def list_compliance_templates(self, as_at : Annotated[Optional[datetime], Field(description="Optional. The time at which to get results from. Default : latest")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.
|
|
1287
|
+
def list_compliance_templates(self, as_at : Annotated[Optional[datetime], Field(description="Optional. The time at which to get results from. Default : latest")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="Optional. 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="Optional. 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[PagedResourceListOfComplianceTemplate, Awaitable[PagedResourceListOfComplianceTemplate]]: # noqa: E501
|
|
1271
1288
|
"""[EARLY ACCESS] ListComplianceTemplates: List compliance templates. # noqa: E501
|
|
1272
1289
|
|
|
1273
1290
|
Use this endpoint to fetch a list of all available compliance template ids, or a subset using a filter. # noqa: E501
|
|
1274
1291
|
This method makes a synchronous HTTP request by default. To make an
|
|
1275
1292
|
asynchronous HTTP request, please pass async_req=True
|
|
1276
1293
|
|
|
1277
|
-
>>> thread = api.list_compliance_templates(as_at, page,
|
|
1294
|
+
>>> thread = api.list_compliance_templates(as_at, page, limit, filter, async_req=True)
|
|
1278
1295
|
>>> result = thread.get()
|
|
1279
1296
|
|
|
1280
1297
|
:param as_at: Optional. The time at which to get results from. Default : latest
|
|
1281
1298
|
:type as_at: datetime
|
|
1282
|
-
:param page: Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.
|
|
1299
|
+
:param page: Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.
|
|
1283
1300
|
:type page: str
|
|
1284
|
-
:param start: Optional. When paginating, skip this number of results.
|
|
1285
|
-
:type start: int
|
|
1286
1301
|
:param limit: Optional. When paginating, limit the number of returned results to this many.
|
|
1287
1302
|
:type limit: int
|
|
1288
1303
|
:param filter: Optional. Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.
|
|
@@ -1304,25 +1319,23 @@ class ComplianceApi:
|
|
|
1304
1319
|
raise ValueError(message)
|
|
1305
1320
|
if async_req is not None:
|
|
1306
1321
|
kwargs['async_req'] = async_req
|
|
1307
|
-
return self.list_compliance_templates_with_http_info(as_at, page,
|
|
1322
|
+
return self.list_compliance_templates_with_http_info(as_at, page, limit, filter, **kwargs) # noqa: E501
|
|
1308
1323
|
|
|
1309
1324
|
@validate_arguments
|
|
1310
|
-
def list_compliance_templates_with_http_info(self, as_at : Annotated[Optional[datetime], Field(description="Optional. The time at which to get results from. Default : latest")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.
|
|
1325
|
+
def list_compliance_templates_with_http_info(self, as_at : Annotated[Optional[datetime], Field(description="Optional. The time at which to get results from. Default : latest")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="Optional. 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="Optional. 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
|
|
1311
1326
|
"""[EARLY ACCESS] ListComplianceTemplates: List compliance templates. # noqa: E501
|
|
1312
1327
|
|
|
1313
1328
|
Use this endpoint to fetch a list of all available compliance template ids, or a subset using a filter. # noqa: E501
|
|
1314
1329
|
This method makes a synchronous HTTP request by default. To make an
|
|
1315
1330
|
asynchronous HTTP request, please pass async_req=True
|
|
1316
1331
|
|
|
1317
|
-
>>> thread = api.list_compliance_templates_with_http_info(as_at, page,
|
|
1332
|
+
>>> thread = api.list_compliance_templates_with_http_info(as_at, page, limit, filter, async_req=True)
|
|
1318
1333
|
>>> result = thread.get()
|
|
1319
1334
|
|
|
1320
1335
|
:param as_at: Optional. The time at which to get results from. Default : latest
|
|
1321
1336
|
:type as_at: datetime
|
|
1322
|
-
:param page: Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.
|
|
1337
|
+
:param page: Optional. The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request.
|
|
1323
1338
|
:type page: str
|
|
1324
|
-
:param start: Optional. When paginating, skip this number of results.
|
|
1325
|
-
:type start: int
|
|
1326
1339
|
:param limit: Optional. When paginating, limit the number of returned results to this many.
|
|
1327
1340
|
:type limit: int
|
|
1328
1341
|
:param filter: Optional. Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.
|
|
@@ -1357,7 +1370,6 @@ class ComplianceApi:
|
|
|
1357
1370
|
_all_params = [
|
|
1358
1371
|
'as_at',
|
|
1359
1372
|
'page',
|
|
1360
|
-
'start',
|
|
1361
1373
|
'limit',
|
|
1362
1374
|
'filter'
|
|
1363
1375
|
]
|
|
@@ -1399,9 +1411,6 @@ class ComplianceApi:
|
|
|
1399
1411
|
if _params.get('page') is not None: # noqa: E501
|
|
1400
1412
|
_query_params.append(('page', _params['page']))
|
|
1401
1413
|
|
|
1402
|
-
if _params.get('start') is not None: # noqa: E501
|
|
1403
|
-
_query_params.append(('start', _params['start']))
|
|
1404
|
-
|
|
1405
1414
|
if _params.get('limit') is not None: # noqa: E501
|
|
1406
1415
|
_query_params.append(('limit', _params['limit']))
|
|
1407
1416
|
|
|
@@ -1786,15 +1795,15 @@ class ComplianceApi:
|
|
|
1786
1795
|
_request_auth=_params.get('_request_auth'))
|
|
1787
1796
|
|
|
1788
1797
|
@overload
|
|
1789
|
-
async def upsert_compliance_run_summary(self, upsert_compliance_run_summary_request : Optional[UpsertComplianceRunSummaryRequest] = None, **kwargs) ->
|
|
1798
|
+
async def upsert_compliance_run_summary(self, upsert_compliance_run_summary_request : Optional[UpsertComplianceRunSummaryRequest] = None, **kwargs) -> UpsertComplianceRunSummaryResult: # noqa: E501
|
|
1790
1799
|
...
|
|
1791
1800
|
|
|
1792
1801
|
@overload
|
|
1793
|
-
def upsert_compliance_run_summary(self, upsert_compliance_run_summary_request : Optional[UpsertComplianceRunSummaryRequest] = None, async_req: Optional[bool]=True, **kwargs) ->
|
|
1802
|
+
def upsert_compliance_run_summary(self, upsert_compliance_run_summary_request : Optional[UpsertComplianceRunSummaryRequest] = None, async_req: Optional[bool]=True, **kwargs) -> UpsertComplianceRunSummaryResult: # noqa: E501
|
|
1794
1803
|
...
|
|
1795
1804
|
|
|
1796
1805
|
@validate_arguments
|
|
1797
|
-
def upsert_compliance_run_summary(self, upsert_compliance_run_summary_request : Optional[UpsertComplianceRunSummaryRequest] = None, async_req: Optional[bool]=None, **kwargs) -> Union[
|
|
1806
|
+
def upsert_compliance_run_summary(self, upsert_compliance_run_summary_request : Optional[UpsertComplianceRunSummaryRequest] = None, async_req: Optional[bool]=None, **kwargs) -> Union[UpsertComplianceRunSummaryResult, Awaitable[UpsertComplianceRunSummaryResult]]: # noqa: E501
|
|
1798
1807
|
"""[EARLY ACCESS] UpsertComplianceRunSummary: Upsert a compliance run summary. # noqa: E501
|
|
1799
1808
|
|
|
1800
1809
|
Use this endpoint to upsert a compliance run result summary. # noqa: E501
|
|
@@ -1815,7 +1824,7 @@ class ComplianceApi:
|
|
|
1815
1824
|
:return: Returns the result object.
|
|
1816
1825
|
If the method is called asynchronously,
|
|
1817
1826
|
returns the request thread.
|
|
1818
|
-
:rtype:
|
|
1827
|
+
:rtype: UpsertComplianceRunSummaryResult
|
|
1819
1828
|
"""
|
|
1820
1829
|
kwargs['_return_http_data_only'] = True
|
|
1821
1830
|
if '_preload_content' in kwargs:
|
|
@@ -1860,7 +1869,7 @@ class ComplianceApi:
|
|
|
1860
1869
|
:return: Returns the result object.
|
|
1861
1870
|
If the method is called asynchronously,
|
|
1862
1871
|
returns the request thread.
|
|
1863
|
-
:rtype: tuple(
|
|
1872
|
+
:rtype: tuple(UpsertComplianceRunSummaryResult, status_code(int), headers(HTTPHeaderDict))
|
|
1864
1873
|
"""
|
|
1865
1874
|
|
|
1866
1875
|
_params = locals()
|
|
@@ -1922,7 +1931,7 @@ class ComplianceApi:
|
|
|
1922
1931
|
_auth_settings = ['oauth2'] # noqa: E501
|
|
1923
1932
|
|
|
1924
1933
|
_response_types_map = {
|
|
1925
|
-
'200': "
|
|
1934
|
+
'200': "UpsertComplianceRunSummaryResult",
|
|
1926
1935
|
'400': "LusidValidationProblemDetails",
|
|
1927
1936
|
}
|
|
1928
1937
|
|