lusid-sdk 2.1.599__py3-none-any.whl → 2.1.642__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lusid/__init__.py +36 -0
- lusid/api/corporate_action_sources_api.py +6 -6
- lusid/api/entities_api.py +24 -24
- lusid/api/funds_api.py +438 -1
- lusid/api/order_management_api.py +16 -8
- lusid/api/staged_modifications_api.py +12 -12
- lusid/api/timelines_api.py +579 -3
- lusid/api/transaction_portfolios_api.py +183 -0
- lusid/api/workspace_api.py +96 -48
- lusid/configuration.py +1 -1
- lusid/models/__init__.py +36 -0
- lusid/models/accounted_transaction.py +88 -0
- lusid/models/accumulation_event.py +3 -3
- lusid/models/adjust_global_commitment_event.py +93 -0
- lusid/models/amortisation_event.py +3 -3
- lusid/models/basket.py +3 -3
- lusid/models/bond.py +11 -5
- lusid/models/bond_coupon_event.py +3 -3
- lusid/models/bond_default_event.py +3 -3
- lusid/models/bond_principal_event.py +3 -3
- lusid/models/bonus_issue_event.py +3 -3
- lusid/models/call_on_intermediate_securities_event.py +3 -3
- lusid/models/cancel_single_holding_adjustment_request.py +96 -0
- lusid/models/cap_floor.py +22 -7
- lusid/models/capital_distribution_event.py +3 -3
- lusid/models/cash.py +3 -3
- lusid/models/cash_dividend_event.py +3 -3
- lusid/models/cash_flow_event.py +3 -3
- lusid/models/cash_perpetual.py +3 -3
- lusid/models/cds_credit_event.py +3 -3
- lusid/models/cds_index.py +3 -3
- lusid/models/cdx_credit_event.py +3 -3
- lusid/models/close_event.py +3 -3
- lusid/models/closed_period.py +128 -0
- lusid/models/complete_portfolio.py +3 -3
- lusid/models/complex_bond.py +20 -7
- lusid/models/contract_details.py +101 -0
- lusid/models/contract_for_difference.py +3 -3
- lusid/models/contract_initialisation_event.py +99 -0
- lusid/models/create_closed_period_request.py +96 -0
- lusid/models/create_derived_property_definition_request.py +3 -3
- lusid/models/create_derived_transaction_portfolio_request.py +8 -2
- lusid/models/create_property_definition_request.py +3 -3
- lusid/models/credit_default_swap.py +3 -3
- lusid/models/credit_premium_cash_flow_event.py +3 -3
- lusid/models/dependency_source_filter.py +19 -4
- lusid/models/dividend_option_event.py +3 -3
- lusid/models/dividend_reinvestment_event.py +3 -3
- lusid/models/drawdown_event.py +99 -0
- lusid/models/early_redemption_event.py +3 -3
- lusid/models/eligibility_calculation.py +6 -4
- lusid/models/equity.py +3 -3
- lusid/models/equity_option.py +23 -7
- lusid/models/equity_swap.py +3 -3
- lusid/models/exchange_traded_option.py +12 -6
- lusid/models/exercise_event.py +3 -3
- lusid/models/exotic_instrument.py +3 -3
- lusid/models/expiry_event.py +3 -3
- lusid/models/fee_accrual.py +3 -1
- lusid/models/fixed_leg.py +3 -3
- lusid/models/flexible_deposit.py +105 -0
- lusid/models/flexible_loan.py +3 -3
- lusid/models/floating_leg.py +3 -3
- lusid/models/forward_rate_agreement.py +3 -3
- lusid/models/fund_share_class.py +3 -3
- lusid/models/funding_leg.py +3 -3
- lusid/models/future.py +19 -7
- lusid/models/future_expiry_event.py +3 -3
- lusid/models/future_mark_to_market_event.py +100 -0
- lusid/models/fx_forward.py +3 -3
- lusid/models/fx_forward_settlement_event.py +3 -3
- lusid/models/fx_option.py +3 -3
- lusid/models/fx_swap.py +3 -3
- lusid/models/group_reconciliation_summary.py +2 -2
- lusid/models/inflation_leg.py +3 -3
- lusid/models/inflation_linked_bond.py +11 -5
- lusid/models/inflation_swap.py +3 -3
- lusid/models/informational_error_event.py +3 -3
- lusid/models/informational_event.py +3 -3
- lusid/models/instrument_event.py +10 -5
- lusid/models/instrument_event_instruction.py +9 -2
- lusid/models/instrument_event_instruction_request.py +10 -3
- lusid/models/instrument_event_type.py +5 -0
- lusid/models/instrument_leg.py +3 -3
- lusid/models/instrument_type.py +1 -0
- lusid/models/interest_rate_swap.py +3 -3
- lusid/models/interest_rate_swaption.py +3 -3
- lusid/models/intermediate_securities_distribution_event.py +3 -3
- lusid/models/loan_facility.py +3 -3
- lusid/models/loan_interest_repayment_event.py +97 -0
- lusid/models/lusid_instrument.py +6 -5
- lusid/models/mark_to_market_conventions.py +74 -0
- lusid/models/market_data_key_rule.py +1 -1
- lusid/models/market_data_specific_rule.py +1 -1
- lusid/models/mastered_instrument.py +3 -3
- lusid/models/maturity_event.py +3 -3
- lusid/models/mbs_coupon_event.py +3 -3
- lusid/models/mbs_interest_deferral_event.py +3 -3
- lusid/models/mbs_interest_shortfall_event.py +3 -3
- lusid/models/mbs_principal_event.py +3 -3
- lusid/models/mbs_principal_write_off_event.py +3 -3
- lusid/models/merger_event.py +3 -3
- lusid/models/open_event.py +3 -3
- lusid/models/option_exercise_cash_event.py +3 -3
- lusid/models/option_exercise_physical_event.py +3 -3
- lusid/models/paged_resource_list_of_closed_period.py +113 -0
- lusid/models/pnl_journal_entry_line.py +95 -0
- lusid/models/portfolio.py +3 -3
- lusid/models/portfolio_id.py +80 -0
- lusid/models/portfolio_search_result.py +3 -3
- lusid/models/portfolio_type.py +1 -0
- lusid/models/portfolio_without_href.py +3 -3
- lusid/models/property_definition.py +3 -3
- lusid/models/property_definition_search_result.py +3 -3
- lusid/models/property_domain.py +1 -0
- lusid/models/protection_payout_cash_flow_event.py +3 -3
- lusid/models/raw_vendor_event.py +3 -3
- lusid/models/reference_instrument.py +3 -3
- lusid/models/repo.py +3 -3
- lusid/models/reset_event.py +3 -3
- lusid/models/reverse_stock_split_event.py +3 -3
- lusid/models/scrip_dividend_event.py +3 -3
- lusid/models/side_definition.py +8 -1
- lusid/models/side_definition_request.py +9 -2
- lusid/models/simple_cash_flow_loan.py +3 -3
- lusid/models/simple_instrument.py +3 -3
- lusid/models/spin_off_event.py +3 -3
- lusid/models/stock_dividend_event.py +3 -3
- lusid/models/stock_split_event.py +3 -3
- lusid/models/swap_cash_flow_event.py +3 -3
- lusid/models/swap_principal_event.py +3 -3
- lusid/models/tender_event.py +3 -3
- lusid/models/term_deposit.py +3 -3
- lusid/models/term_deposit_interest_event.py +3 -3
- lusid/models/term_deposit_principal_event.py +3 -3
- lusid/models/total_return_swap.py +3 -3
- lusid/models/trading_conventions.py +73 -0
- lusid/models/transition_event.py +3 -3
- lusid/models/trigger_event.py +3 -3
- lusid/models/valuation_point_resource_list_of_accounted_transaction.py +125 -0
- lusid/models/valuation_point_resource_list_of_pnl_journal_entry_line.py +125 -0
- lusid/models/workspace.py +1 -1
- lusid/models/workspace_creation_request.py +1 -1
- lusid/models/workspace_item.py +4 -2
- lusid/models/workspace_item_creation_request.py +11 -2
- {lusid_sdk-2.1.599.dist-info → lusid_sdk-2.1.642.dist-info}/METADATA +34 -10
- {lusid_sdk-2.1.599.dist-info → lusid_sdk-2.1.642.dist-info}/RECORD +148 -130
- {lusid_sdk-2.1.599.dist-info → lusid_sdk-2.1.642.dist-info}/WHEEL +0 -0
lusid/api/workspace_api.py
CHANGED
@@ -706,26 +706,28 @@ class WorkspaceApi:
|
|
706
706
|
_request_auth=_params.get('_request_auth'))
|
707
707
|
|
708
708
|
@overload
|
709
|
-
async def delete_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the personal workspace.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], **kwargs) -> DeletedEntityResponse: # noqa: E501
|
709
|
+
async def delete_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the personal workspace.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], **kwargs) -> DeletedEntityResponse: # noqa: E501
|
710
710
|
...
|
711
711
|
|
712
712
|
@overload
|
713
|
-
def delete_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the personal workspace.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], async_req: Optional[bool]=True, **kwargs) -> DeletedEntityResponse: # noqa: E501
|
713
|
+
def delete_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the personal workspace.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], async_req: Optional[bool]=True, **kwargs) -> DeletedEntityResponse: # noqa: E501
|
714
714
|
...
|
715
715
|
|
716
716
|
@validate_arguments
|
717
|
-
def delete_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the personal workspace.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], async_req: Optional[bool]=None, **kwargs) -> Union[DeletedEntityResponse, Awaitable[DeletedEntityResponse]]: # noqa: E501
|
717
|
+
def delete_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the personal workspace.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], async_req: Optional[bool]=None, **kwargs) -> Union[DeletedEntityResponse, Awaitable[DeletedEntityResponse]]: # noqa: E501
|
718
718
|
"""[EXPERIMENTAL] DeletePersonalItem: Delete an item from a personal workspace. # noqa: E501
|
719
719
|
|
720
720
|
Delete an item from a personal workspace. # noqa: E501
|
721
721
|
This method makes a synchronous HTTP request by default. To make an
|
722
722
|
asynchronous HTTP request, please pass async_req=True
|
723
723
|
|
724
|
-
>>> thread = api.delete_personal_item(workspace_name, item_name, async_req=True)
|
724
|
+
>>> thread = api.delete_personal_item(workspace_name, group_name, item_name, async_req=True)
|
725
725
|
>>> result = thread.get()
|
726
726
|
|
727
727
|
:param workspace_name: The name of the personal workspace. (required)
|
728
728
|
:type workspace_name: str
|
729
|
+
:param group_name: The group containing the item. (required)
|
730
|
+
:type group_name: str
|
729
731
|
:param item_name: The name of the item. (required)
|
730
732
|
:type item_name: str
|
731
733
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -744,21 +746,23 @@ class WorkspaceApi:
|
|
744
746
|
raise ValueError(message)
|
745
747
|
if async_req is not None:
|
746
748
|
kwargs['async_req'] = async_req
|
747
|
-
return self.delete_personal_item_with_http_info(workspace_name, item_name, **kwargs) # noqa: E501
|
749
|
+
return self.delete_personal_item_with_http_info(workspace_name, group_name, item_name, **kwargs) # noqa: E501
|
748
750
|
|
749
751
|
@validate_arguments
|
750
|
-
def delete_personal_item_with_http_info(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the personal workspace.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], **kwargs) -> ApiResponse: # noqa: E501
|
752
|
+
def delete_personal_item_with_http_info(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the personal workspace.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], **kwargs) -> ApiResponse: # noqa: E501
|
751
753
|
"""[EXPERIMENTAL] DeletePersonalItem: Delete an item from a personal workspace. # noqa: E501
|
752
754
|
|
753
755
|
Delete an item from a personal workspace. # noqa: E501
|
754
756
|
This method makes a synchronous HTTP request by default. To make an
|
755
757
|
asynchronous HTTP request, please pass async_req=True
|
756
758
|
|
757
|
-
>>> thread = api.delete_personal_item_with_http_info(workspace_name, item_name, async_req=True)
|
759
|
+
>>> thread = api.delete_personal_item_with_http_info(workspace_name, group_name, item_name, async_req=True)
|
758
760
|
>>> result = thread.get()
|
759
761
|
|
760
762
|
:param workspace_name: The name of the personal workspace. (required)
|
761
763
|
:type workspace_name: str
|
764
|
+
:param group_name: The group containing the item. (required)
|
765
|
+
:type group_name: str
|
762
766
|
:param item_name: The name of the item. (required)
|
763
767
|
:type item_name: str
|
764
768
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -789,6 +793,7 @@ class WorkspaceApi:
|
|
789
793
|
|
790
794
|
_all_params = [
|
791
795
|
'workspace_name',
|
796
|
+
'group_name',
|
792
797
|
'item_name'
|
793
798
|
]
|
794
799
|
_all_params.extend(
|
@@ -821,6 +826,9 @@ class WorkspaceApi:
|
|
821
826
|
if _params['workspace_name']:
|
822
827
|
_path_params['workspaceName'] = _params['workspace_name']
|
823
828
|
|
829
|
+
if _params['group_name']:
|
830
|
+
_path_params['groupName'] = _params['group_name']
|
831
|
+
|
824
832
|
if _params['item_name']:
|
825
833
|
_path_params['itemName'] = _params['item_name']
|
826
834
|
|
@@ -847,7 +855,7 @@ class WorkspaceApi:
|
|
847
855
|
}
|
848
856
|
|
849
857
|
return self.api_client.call_api(
|
850
|
-
'/api/workspaces/personal/{workspaceName}/items/{itemName}', 'DELETE',
|
858
|
+
'/api/workspaces/personal/{workspaceName}/items/{groupName}/{itemName}', 'DELETE',
|
851
859
|
_path_params,
|
852
860
|
_query_params,
|
853
861
|
_header_params,
|
@@ -1016,26 +1024,28 @@ class WorkspaceApi:
|
|
1016
1024
|
_request_auth=_params.get('_request_auth'))
|
1017
1025
|
|
1018
1026
|
@overload
|
1019
|
-
async def delete_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the shared workspace.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], **kwargs) -> DeletedEntityResponse: # noqa: E501
|
1027
|
+
async def delete_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the shared workspace.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], **kwargs) -> DeletedEntityResponse: # noqa: E501
|
1020
1028
|
...
|
1021
1029
|
|
1022
1030
|
@overload
|
1023
|
-
def delete_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the shared workspace.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], async_req: Optional[bool]=True, **kwargs) -> DeletedEntityResponse: # noqa: E501
|
1031
|
+
def delete_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the shared workspace.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], async_req: Optional[bool]=True, **kwargs) -> DeletedEntityResponse: # noqa: E501
|
1024
1032
|
...
|
1025
1033
|
|
1026
1034
|
@validate_arguments
|
1027
|
-
def delete_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the shared workspace.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], async_req: Optional[bool]=None, **kwargs) -> Union[DeletedEntityResponse, Awaitable[DeletedEntityResponse]]: # noqa: E501
|
1035
|
+
def delete_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the shared workspace.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], async_req: Optional[bool]=None, **kwargs) -> Union[DeletedEntityResponse, Awaitable[DeletedEntityResponse]]: # noqa: E501
|
1028
1036
|
"""[EXPERIMENTAL] DeleteSharedItem: Delete an item from a shared workspace. # noqa: E501
|
1029
1037
|
|
1030
1038
|
Delete an item from a shared workspace. # noqa: E501
|
1031
1039
|
This method makes a synchronous HTTP request by default. To make an
|
1032
1040
|
asynchronous HTTP request, please pass async_req=True
|
1033
1041
|
|
1034
|
-
>>> thread = api.delete_shared_item(workspace_name, item_name, async_req=True)
|
1042
|
+
>>> thread = api.delete_shared_item(workspace_name, group_name, item_name, async_req=True)
|
1035
1043
|
>>> result = thread.get()
|
1036
1044
|
|
1037
1045
|
:param workspace_name: The name of the shared workspace. (required)
|
1038
1046
|
:type workspace_name: str
|
1047
|
+
:param group_name: The group containing the item. (required)
|
1048
|
+
:type group_name: str
|
1039
1049
|
:param item_name: The name of the item. (required)
|
1040
1050
|
:type item_name: str
|
1041
1051
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -1054,21 +1064,23 @@ class WorkspaceApi:
|
|
1054
1064
|
raise ValueError(message)
|
1055
1065
|
if async_req is not None:
|
1056
1066
|
kwargs['async_req'] = async_req
|
1057
|
-
return self.delete_shared_item_with_http_info(workspace_name, item_name, **kwargs) # noqa: E501
|
1067
|
+
return self.delete_shared_item_with_http_info(workspace_name, group_name, item_name, **kwargs) # noqa: E501
|
1058
1068
|
|
1059
1069
|
@validate_arguments
|
1060
|
-
def delete_shared_item_with_http_info(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the shared workspace.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], **kwargs) -> ApiResponse: # noqa: E501
|
1070
|
+
def delete_shared_item_with_http_info(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the shared workspace.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], **kwargs) -> ApiResponse: # noqa: E501
|
1061
1071
|
"""[EXPERIMENTAL] DeleteSharedItem: Delete an item from a shared workspace. # noqa: E501
|
1062
1072
|
|
1063
1073
|
Delete an item from a shared workspace. # noqa: E501
|
1064
1074
|
This method makes a synchronous HTTP request by default. To make an
|
1065
1075
|
asynchronous HTTP request, please pass async_req=True
|
1066
1076
|
|
1067
|
-
>>> thread = api.delete_shared_item_with_http_info(workspace_name, item_name, async_req=True)
|
1077
|
+
>>> thread = api.delete_shared_item_with_http_info(workspace_name, group_name, item_name, async_req=True)
|
1068
1078
|
>>> result = thread.get()
|
1069
1079
|
|
1070
1080
|
:param workspace_name: The name of the shared workspace. (required)
|
1071
1081
|
:type workspace_name: str
|
1082
|
+
:param group_name: The group containing the item. (required)
|
1083
|
+
:type group_name: str
|
1072
1084
|
:param item_name: The name of the item. (required)
|
1073
1085
|
:type item_name: str
|
1074
1086
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -1099,6 +1111,7 @@ class WorkspaceApi:
|
|
1099
1111
|
|
1100
1112
|
_all_params = [
|
1101
1113
|
'workspace_name',
|
1114
|
+
'group_name',
|
1102
1115
|
'item_name'
|
1103
1116
|
]
|
1104
1117
|
_all_params.extend(
|
@@ -1131,6 +1144,9 @@ class WorkspaceApi:
|
|
1131
1144
|
if _params['workspace_name']:
|
1132
1145
|
_path_params['workspaceName'] = _params['workspace_name']
|
1133
1146
|
|
1147
|
+
if _params['group_name']:
|
1148
|
+
_path_params['groupName'] = _params['group_name']
|
1149
|
+
|
1134
1150
|
if _params['item_name']:
|
1135
1151
|
_path_params['itemName'] = _params['item_name']
|
1136
1152
|
|
@@ -1157,7 +1173,7 @@ class WorkspaceApi:
|
|
1157
1173
|
}
|
1158
1174
|
|
1159
1175
|
return self.api_client.call_api(
|
1160
|
-
'/api/workspaces/shared/{workspaceName}/items/{itemName}', 'DELETE',
|
1176
|
+
'/api/workspaces/shared/{workspaceName}/items/{groupName}/{itemName}', 'DELETE',
|
1161
1177
|
_path_params,
|
1162
1178
|
_query_params,
|
1163
1179
|
_header_params,
|
@@ -1326,26 +1342,28 @@ class WorkspaceApi:
|
|
1326
1342
|
_request_auth=_params.get('_request_auth'))
|
1327
1343
|
|
1328
1344
|
@overload
|
1329
|
-
async def get_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the personal workspace.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], as_at : Annotated[Optional[datetime], Field(description="The datetime at which to request the workspace item. If not provided, defaults to 'latest'.")] = None, **kwargs) -> WorkspaceItem: # noqa: E501
|
1345
|
+
async def get_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the personal workspace.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], as_at : Annotated[Optional[datetime], Field(description="The datetime at which to request the workspace item. If not provided, defaults to 'latest'.")] = None, **kwargs) -> WorkspaceItem: # noqa: E501
|
1330
1346
|
...
|
1331
1347
|
|
1332
1348
|
@overload
|
1333
|
-
def get_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the personal workspace.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], as_at : Annotated[Optional[datetime], Field(description="The datetime at which to request the workspace item. If not provided, defaults to 'latest'.")] = None, async_req: Optional[bool]=True, **kwargs) -> WorkspaceItem: # noqa: E501
|
1349
|
+
def get_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the personal workspace.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], as_at : Annotated[Optional[datetime], Field(description="The datetime at which to request the workspace item. If not provided, defaults to 'latest'.")] = None, async_req: Optional[bool]=True, **kwargs) -> WorkspaceItem: # noqa: E501
|
1334
1350
|
...
|
1335
1351
|
|
1336
1352
|
@validate_arguments
|
1337
|
-
def get_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the personal workspace.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], as_at : Annotated[Optional[datetime], Field(description="The datetime at which to request the workspace item. If not provided, defaults to 'latest'.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[WorkspaceItem, Awaitable[WorkspaceItem]]: # noqa: E501
|
1353
|
+
def get_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the personal workspace.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], as_at : Annotated[Optional[datetime], Field(description="The datetime at which to request the workspace item. If not provided, defaults to 'latest'.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[WorkspaceItem, Awaitable[WorkspaceItem]]: # noqa: E501
|
1338
1354
|
"""[EXPERIMENTAL] GetPersonalItem: Get a single personal workspace item. # noqa: E501
|
1339
1355
|
|
1340
1356
|
Get a single personal workspace item. # noqa: E501
|
1341
1357
|
This method makes a synchronous HTTP request by default. To make an
|
1342
1358
|
asynchronous HTTP request, please pass async_req=True
|
1343
1359
|
|
1344
|
-
>>> thread = api.get_personal_item(workspace_name, item_name, as_at, async_req=True)
|
1360
|
+
>>> thread = api.get_personal_item(workspace_name, group_name, item_name, as_at, async_req=True)
|
1345
1361
|
>>> result = thread.get()
|
1346
1362
|
|
1347
1363
|
:param workspace_name: The name of the personal workspace. (required)
|
1348
1364
|
:type workspace_name: str
|
1365
|
+
:param group_name: The group containing the item. (required)
|
1366
|
+
:type group_name: str
|
1349
1367
|
:param item_name: The name of the item. (required)
|
1350
1368
|
:type item_name: str
|
1351
1369
|
:param as_at: The datetime at which to request the workspace item. If not provided, defaults to 'latest'.
|
@@ -1366,21 +1384,23 @@ class WorkspaceApi:
|
|
1366
1384
|
raise ValueError(message)
|
1367
1385
|
if async_req is not None:
|
1368
1386
|
kwargs['async_req'] = async_req
|
1369
|
-
return self.get_personal_item_with_http_info(workspace_name, item_name, as_at, **kwargs) # noqa: E501
|
1387
|
+
return self.get_personal_item_with_http_info(workspace_name, group_name, item_name, as_at, **kwargs) # noqa: E501
|
1370
1388
|
|
1371
1389
|
@validate_arguments
|
1372
|
-
def get_personal_item_with_http_info(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the personal workspace.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], as_at : Annotated[Optional[datetime], Field(description="The datetime at which to request the workspace item. If not provided, defaults to 'latest'.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
1390
|
+
def get_personal_item_with_http_info(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the personal workspace.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], as_at : Annotated[Optional[datetime], Field(description="The datetime at which to request the workspace item. If not provided, defaults to 'latest'.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
1373
1391
|
"""[EXPERIMENTAL] GetPersonalItem: Get a single personal workspace item. # noqa: E501
|
1374
1392
|
|
1375
1393
|
Get a single personal workspace item. # noqa: E501
|
1376
1394
|
This method makes a synchronous HTTP request by default. To make an
|
1377
1395
|
asynchronous HTTP request, please pass async_req=True
|
1378
1396
|
|
1379
|
-
>>> thread = api.get_personal_item_with_http_info(workspace_name, item_name, as_at, async_req=True)
|
1397
|
+
>>> thread = api.get_personal_item_with_http_info(workspace_name, group_name, item_name, as_at, async_req=True)
|
1380
1398
|
>>> result = thread.get()
|
1381
1399
|
|
1382
1400
|
:param workspace_name: The name of the personal workspace. (required)
|
1383
1401
|
:type workspace_name: str
|
1402
|
+
:param group_name: The group containing the item. (required)
|
1403
|
+
:type group_name: str
|
1384
1404
|
:param item_name: The name of the item. (required)
|
1385
1405
|
:type item_name: str
|
1386
1406
|
:param as_at: The datetime at which to request the workspace item. If not provided, defaults to 'latest'.
|
@@ -1413,6 +1433,7 @@ class WorkspaceApi:
|
|
1413
1433
|
|
1414
1434
|
_all_params = [
|
1415
1435
|
'workspace_name',
|
1436
|
+
'group_name',
|
1416
1437
|
'item_name',
|
1417
1438
|
'as_at'
|
1418
1439
|
]
|
@@ -1446,6 +1467,9 @@ class WorkspaceApi:
|
|
1446
1467
|
if _params['workspace_name']:
|
1447
1468
|
_path_params['workspaceName'] = _params['workspace_name']
|
1448
1469
|
|
1470
|
+
if _params['group_name']:
|
1471
|
+
_path_params['groupName'] = _params['group_name']
|
1472
|
+
|
1449
1473
|
if _params['item_name']:
|
1450
1474
|
_path_params['itemName'] = _params['item_name']
|
1451
1475
|
|
@@ -1478,7 +1502,7 @@ class WorkspaceApi:
|
|
1478
1502
|
}
|
1479
1503
|
|
1480
1504
|
return self.api_client.call_api(
|
1481
|
-
'/api/workspaces/personal/{workspaceName}/items/{itemName}', 'GET',
|
1505
|
+
'/api/workspaces/personal/{workspaceName}/items/{groupName}/{itemName}', 'GET',
|
1482
1506
|
_path_params,
|
1483
1507
|
_query_params,
|
1484
1508
|
_header_params,
|
@@ -1658,26 +1682,28 @@ class WorkspaceApi:
|
|
1658
1682
|
_request_auth=_params.get('_request_auth'))
|
1659
1683
|
|
1660
1684
|
@overload
|
1661
|
-
async def get_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the shared workspace.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], as_at : Annotated[Optional[datetime], Field(description="The datetime at which to request the workspace item. If not provided, defaults to 'latest'.")] = None, **kwargs) -> WorkspaceItem: # noqa: E501
|
1685
|
+
async def get_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the shared workspace.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], as_at : Annotated[Optional[datetime], Field(description="The datetime at which to request the workspace item. If not provided, defaults to 'latest'.")] = None, **kwargs) -> WorkspaceItem: # noqa: E501
|
1662
1686
|
...
|
1663
1687
|
|
1664
1688
|
@overload
|
1665
|
-
def get_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the shared workspace.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], as_at : Annotated[Optional[datetime], Field(description="The datetime at which to request the workspace item. If not provided, defaults to 'latest'.")] = None, async_req: Optional[bool]=True, **kwargs) -> WorkspaceItem: # noqa: E501
|
1689
|
+
def get_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the shared workspace.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], as_at : Annotated[Optional[datetime], Field(description="The datetime at which to request the workspace item. If not provided, defaults to 'latest'.")] = None, async_req: Optional[bool]=True, **kwargs) -> WorkspaceItem: # noqa: E501
|
1666
1690
|
...
|
1667
1691
|
|
1668
1692
|
@validate_arguments
|
1669
|
-
def get_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the shared workspace.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], as_at : Annotated[Optional[datetime], Field(description="The datetime at which to request the workspace item. If not provided, defaults to 'latest'.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[WorkspaceItem, Awaitable[WorkspaceItem]]: # noqa: E501
|
1693
|
+
def get_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the shared workspace.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], as_at : Annotated[Optional[datetime], Field(description="The datetime at which to request the workspace item. If not provided, defaults to 'latest'.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[WorkspaceItem, Awaitable[WorkspaceItem]]: # noqa: E501
|
1670
1694
|
"""[EXPERIMENTAL] GetSharedItem: Get a single shared workspace item. # noqa: E501
|
1671
1695
|
|
1672
1696
|
Get a single shared workspace item. # noqa: E501
|
1673
1697
|
This method makes a synchronous HTTP request by default. To make an
|
1674
1698
|
asynchronous HTTP request, please pass async_req=True
|
1675
1699
|
|
1676
|
-
>>> thread = api.get_shared_item(workspace_name, item_name, as_at, async_req=True)
|
1700
|
+
>>> thread = api.get_shared_item(workspace_name, group_name, item_name, as_at, async_req=True)
|
1677
1701
|
>>> result = thread.get()
|
1678
1702
|
|
1679
1703
|
:param workspace_name: The name of the shared workspace. (required)
|
1680
1704
|
:type workspace_name: str
|
1705
|
+
:param group_name: The group containing the item. (required)
|
1706
|
+
:type group_name: str
|
1681
1707
|
:param item_name: The name of the item. (required)
|
1682
1708
|
:type item_name: str
|
1683
1709
|
:param as_at: The datetime at which to request the workspace item. If not provided, defaults to 'latest'.
|
@@ -1698,21 +1724,23 @@ class WorkspaceApi:
|
|
1698
1724
|
raise ValueError(message)
|
1699
1725
|
if async_req is not None:
|
1700
1726
|
kwargs['async_req'] = async_req
|
1701
|
-
return self.get_shared_item_with_http_info(workspace_name, item_name, as_at, **kwargs) # noqa: E501
|
1727
|
+
return self.get_shared_item_with_http_info(workspace_name, group_name, item_name, as_at, **kwargs) # noqa: E501
|
1702
1728
|
|
1703
1729
|
@validate_arguments
|
1704
|
-
def get_shared_item_with_http_info(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the shared workspace.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], as_at : Annotated[Optional[datetime], Field(description="The datetime at which to request the workspace item. If not provided, defaults to 'latest'.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
1730
|
+
def get_shared_item_with_http_info(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the shared workspace.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The name of the item.")], as_at : Annotated[Optional[datetime], Field(description="The datetime at which to request the workspace item. If not provided, defaults to 'latest'.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
1705
1731
|
"""[EXPERIMENTAL] GetSharedItem: Get a single shared workspace item. # noqa: E501
|
1706
1732
|
|
1707
1733
|
Get a single shared workspace item. # noqa: E501
|
1708
1734
|
This method makes a synchronous HTTP request by default. To make an
|
1709
1735
|
asynchronous HTTP request, please pass async_req=True
|
1710
1736
|
|
1711
|
-
>>> thread = api.get_shared_item_with_http_info(workspace_name, item_name, as_at, async_req=True)
|
1737
|
+
>>> thread = api.get_shared_item_with_http_info(workspace_name, group_name, item_name, as_at, async_req=True)
|
1712
1738
|
>>> result = thread.get()
|
1713
1739
|
|
1714
1740
|
:param workspace_name: The name of the shared workspace. (required)
|
1715
1741
|
:type workspace_name: str
|
1742
|
+
:param group_name: The group containing the item. (required)
|
1743
|
+
:type group_name: str
|
1716
1744
|
:param item_name: The name of the item. (required)
|
1717
1745
|
:type item_name: str
|
1718
1746
|
:param as_at: The datetime at which to request the workspace item. If not provided, defaults to 'latest'.
|
@@ -1745,6 +1773,7 @@ class WorkspaceApi:
|
|
1745
1773
|
|
1746
1774
|
_all_params = [
|
1747
1775
|
'workspace_name',
|
1776
|
+
'group_name',
|
1748
1777
|
'item_name',
|
1749
1778
|
'as_at'
|
1750
1779
|
]
|
@@ -1778,6 +1807,9 @@ class WorkspaceApi:
|
|
1778
1807
|
if _params['workspace_name']:
|
1779
1808
|
_path_params['workspaceName'] = _params['workspace_name']
|
1780
1809
|
|
1810
|
+
if _params['group_name']:
|
1811
|
+
_path_params['groupName'] = _params['group_name']
|
1812
|
+
|
1781
1813
|
if _params['item_name']:
|
1782
1814
|
_path_params['itemName'] = _params['item_name']
|
1783
1815
|
|
@@ -1810,7 +1842,7 @@ class WorkspaceApi:
|
|
1810
1842
|
}
|
1811
1843
|
|
1812
1844
|
return self.api_client.call_api(
|
1813
|
-
'/api/workspaces/shared/{workspaceName}/items/{itemName}', 'GET',
|
1845
|
+
'/api/workspaces/shared/{workspaceName}/items/{groupName}/{itemName}', 'GET',
|
1814
1846
|
_path_params,
|
1815
1847
|
_query_params,
|
1816
1848
|
_header_params,
|
@@ -2754,26 +2786,28 @@ class WorkspaceApi:
|
|
2754
2786
|
_request_auth=_params.get('_request_auth'))
|
2755
2787
|
|
2756
2788
|
@overload
|
2757
|
-
async def update_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The personal workspace name.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The item name.")], workspace_item_update_request : Annotated[Optional[WorkspaceItemUpdateRequest], Field(description="The new item details.")] = None, **kwargs) -> WorkspaceItem: # noqa: E501
|
2789
|
+
async def update_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The personal workspace name.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The item name.")], workspace_item_update_request : Annotated[Optional[WorkspaceItemUpdateRequest], Field(description="The new item details.")] = None, **kwargs) -> WorkspaceItem: # noqa: E501
|
2758
2790
|
...
|
2759
2791
|
|
2760
2792
|
@overload
|
2761
|
-
def update_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The personal workspace name.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The item name.")], workspace_item_update_request : Annotated[Optional[WorkspaceItemUpdateRequest], Field(description="The new item details.")] = None, async_req: Optional[bool]=True, **kwargs) -> WorkspaceItem: # noqa: E501
|
2793
|
+
def update_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The personal workspace name.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The item name.")], workspace_item_update_request : Annotated[Optional[WorkspaceItemUpdateRequest], Field(description="The new item details.")] = None, async_req: Optional[bool]=True, **kwargs) -> WorkspaceItem: # noqa: E501
|
2762
2794
|
...
|
2763
2795
|
|
2764
2796
|
@validate_arguments
|
2765
|
-
def update_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The personal workspace name.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The item name.")], workspace_item_update_request : Annotated[Optional[WorkspaceItemUpdateRequest], Field(description="The new item details.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[WorkspaceItem, Awaitable[WorkspaceItem]]: # noqa: E501
|
2797
|
+
def update_personal_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The personal workspace name.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The item name.")], workspace_item_update_request : Annotated[Optional[WorkspaceItemUpdateRequest], Field(description="The new item details.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[WorkspaceItem, Awaitable[WorkspaceItem]]: # noqa: E501
|
2766
2798
|
"""[EXPERIMENTAL] UpdatePersonalItem: Update an item in a personal workspace. # noqa: E501
|
2767
2799
|
|
2768
2800
|
Update an item in a personal workspace. # noqa: E501
|
2769
2801
|
This method makes a synchronous HTTP request by default. To make an
|
2770
2802
|
asynchronous HTTP request, please pass async_req=True
|
2771
2803
|
|
2772
|
-
>>> thread = api.update_personal_item(workspace_name, item_name, workspace_item_update_request, async_req=True)
|
2804
|
+
>>> thread = api.update_personal_item(workspace_name, group_name, item_name, workspace_item_update_request, async_req=True)
|
2773
2805
|
>>> result = thread.get()
|
2774
2806
|
|
2775
2807
|
:param workspace_name: The personal workspace name. (required)
|
2776
2808
|
:type workspace_name: str
|
2809
|
+
:param group_name: The group containing the item. (required)
|
2810
|
+
:type group_name: str
|
2777
2811
|
:param item_name: The item name. (required)
|
2778
2812
|
:type item_name: str
|
2779
2813
|
:param workspace_item_update_request: The new item details.
|
@@ -2794,21 +2828,23 @@ class WorkspaceApi:
|
|
2794
2828
|
raise ValueError(message)
|
2795
2829
|
if async_req is not None:
|
2796
2830
|
kwargs['async_req'] = async_req
|
2797
|
-
return self.update_personal_item_with_http_info(workspace_name, item_name, workspace_item_update_request, **kwargs) # noqa: E501
|
2831
|
+
return self.update_personal_item_with_http_info(workspace_name, group_name, item_name, workspace_item_update_request, **kwargs) # noqa: E501
|
2798
2832
|
|
2799
2833
|
@validate_arguments
|
2800
|
-
def update_personal_item_with_http_info(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The personal workspace name.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The item name.")], workspace_item_update_request : Annotated[Optional[WorkspaceItemUpdateRequest], Field(description="The new item details.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
2834
|
+
def update_personal_item_with_http_info(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The personal workspace name.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The item name.")], workspace_item_update_request : Annotated[Optional[WorkspaceItemUpdateRequest], Field(description="The new item details.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
2801
2835
|
"""[EXPERIMENTAL] UpdatePersonalItem: Update an item in a personal workspace. # noqa: E501
|
2802
2836
|
|
2803
2837
|
Update an item in a personal workspace. # noqa: E501
|
2804
2838
|
This method makes a synchronous HTTP request by default. To make an
|
2805
2839
|
asynchronous HTTP request, please pass async_req=True
|
2806
2840
|
|
2807
|
-
>>> thread = api.update_personal_item_with_http_info(workspace_name, item_name, workspace_item_update_request, async_req=True)
|
2841
|
+
>>> thread = api.update_personal_item_with_http_info(workspace_name, group_name, item_name, workspace_item_update_request, async_req=True)
|
2808
2842
|
>>> result = thread.get()
|
2809
2843
|
|
2810
2844
|
:param workspace_name: The personal workspace name. (required)
|
2811
2845
|
:type workspace_name: str
|
2846
|
+
:param group_name: The group containing the item. (required)
|
2847
|
+
:type group_name: str
|
2812
2848
|
:param item_name: The item name. (required)
|
2813
2849
|
:type item_name: str
|
2814
2850
|
:param workspace_item_update_request: The new item details.
|
@@ -2841,6 +2877,7 @@ class WorkspaceApi:
|
|
2841
2877
|
|
2842
2878
|
_all_params = [
|
2843
2879
|
'workspace_name',
|
2880
|
+
'group_name',
|
2844
2881
|
'item_name',
|
2845
2882
|
'workspace_item_update_request'
|
2846
2883
|
]
|
@@ -2874,6 +2911,9 @@ class WorkspaceApi:
|
|
2874
2911
|
if _params['workspace_name']:
|
2875
2912
|
_path_params['workspaceName'] = _params['workspace_name']
|
2876
2913
|
|
2914
|
+
if _params['group_name']:
|
2915
|
+
_path_params['groupName'] = _params['group_name']
|
2916
|
+
|
2877
2917
|
if _params['item_name']:
|
2878
2918
|
_path_params['itemName'] = _params['item_name']
|
2879
2919
|
|
@@ -2910,7 +2950,7 @@ class WorkspaceApi:
|
|
2910
2950
|
}
|
2911
2951
|
|
2912
2952
|
return self.api_client.call_api(
|
2913
|
-
'/api/workspaces/personal/{workspaceName}/items/{itemName}', 'PUT',
|
2953
|
+
'/api/workspaces/personal/{workspaceName}/items/{groupName}/{itemName}', 'PUT',
|
2914
2954
|
_path_params,
|
2915
2955
|
_query_params,
|
2916
2956
|
_header_params,
|
@@ -3094,26 +3134,28 @@ class WorkspaceApi:
|
|
3094
3134
|
_request_auth=_params.get('_request_auth'))
|
3095
3135
|
|
3096
3136
|
@overload
|
3097
|
-
async def update_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The shared workspace name.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The item name.")], workspace_item_update_request : Annotated[Optional[WorkspaceItemUpdateRequest], Field(description="The new item details.")] = None, **kwargs) -> WorkspaceItem: # noqa: E501
|
3137
|
+
async def update_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The shared workspace name.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The item name.")], workspace_item_update_request : Annotated[Optional[WorkspaceItemUpdateRequest], Field(description="The new item details.")] = None, **kwargs) -> WorkspaceItem: # noqa: E501
|
3098
3138
|
...
|
3099
3139
|
|
3100
3140
|
@overload
|
3101
|
-
def update_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The shared workspace name.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The item name.")], workspace_item_update_request : Annotated[Optional[WorkspaceItemUpdateRequest], Field(description="The new item details.")] = None, async_req: Optional[bool]=True, **kwargs) -> WorkspaceItem: # noqa: E501
|
3141
|
+
def update_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The shared workspace name.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The item name.")], workspace_item_update_request : Annotated[Optional[WorkspaceItemUpdateRequest], Field(description="The new item details.")] = None, async_req: Optional[bool]=True, **kwargs) -> WorkspaceItem: # noqa: E501
|
3102
3142
|
...
|
3103
3143
|
|
3104
3144
|
@validate_arguments
|
3105
|
-
def update_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The shared workspace name.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The item name.")], workspace_item_update_request : Annotated[Optional[WorkspaceItemUpdateRequest], Field(description="The new item details.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[WorkspaceItem, Awaitable[WorkspaceItem]]: # noqa: E501
|
3145
|
+
def update_shared_item(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The shared workspace name.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The item name.")], workspace_item_update_request : Annotated[Optional[WorkspaceItemUpdateRequest], Field(description="The new item details.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[WorkspaceItem, Awaitable[WorkspaceItem]]: # noqa: E501
|
3106
3146
|
"""[EXPERIMENTAL] UpdateSharedItem: Update an item in a shared workspace. # noqa: E501
|
3107
3147
|
|
3108
3148
|
Update an item in a shared workspace. # noqa: E501
|
3109
3149
|
This method makes a synchronous HTTP request by default. To make an
|
3110
3150
|
asynchronous HTTP request, please pass async_req=True
|
3111
3151
|
|
3112
|
-
>>> thread = api.update_shared_item(workspace_name, item_name, workspace_item_update_request, async_req=True)
|
3152
|
+
>>> thread = api.update_shared_item(workspace_name, group_name, item_name, workspace_item_update_request, async_req=True)
|
3113
3153
|
>>> result = thread.get()
|
3114
3154
|
|
3115
3155
|
:param workspace_name: The shared workspace name. (required)
|
3116
3156
|
:type workspace_name: str
|
3157
|
+
:param group_name: The group containing the item. (required)
|
3158
|
+
:type group_name: str
|
3117
3159
|
:param item_name: The item name. (required)
|
3118
3160
|
:type item_name: str
|
3119
3161
|
:param workspace_item_update_request: The new item details.
|
@@ -3134,21 +3176,23 @@ class WorkspaceApi:
|
|
3134
3176
|
raise ValueError(message)
|
3135
3177
|
if async_req is not None:
|
3136
3178
|
kwargs['async_req'] = async_req
|
3137
|
-
return self.update_shared_item_with_http_info(workspace_name, item_name, workspace_item_update_request, **kwargs) # noqa: E501
|
3179
|
+
return self.update_shared_item_with_http_info(workspace_name, group_name, item_name, workspace_item_update_request, **kwargs) # noqa: E501
|
3138
3180
|
|
3139
3181
|
@validate_arguments
|
3140
|
-
def update_shared_item_with_http_info(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The shared workspace name.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The item name.")], workspace_item_update_request : Annotated[Optional[WorkspaceItemUpdateRequest], Field(description="The new item details.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
3182
|
+
def update_shared_item_with_http_info(self, workspace_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The shared workspace name.")], group_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The group containing the item.")], item_name : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The item name.")], workspace_item_update_request : Annotated[Optional[WorkspaceItemUpdateRequest], Field(description="The new item details.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
3141
3183
|
"""[EXPERIMENTAL] UpdateSharedItem: Update an item in a shared workspace. # noqa: E501
|
3142
3184
|
|
3143
3185
|
Update an item in a shared workspace. # noqa: E501
|
3144
3186
|
This method makes a synchronous HTTP request by default. To make an
|
3145
3187
|
asynchronous HTTP request, please pass async_req=True
|
3146
3188
|
|
3147
|
-
>>> thread = api.update_shared_item_with_http_info(workspace_name, item_name, workspace_item_update_request, async_req=True)
|
3189
|
+
>>> thread = api.update_shared_item_with_http_info(workspace_name, group_name, item_name, workspace_item_update_request, async_req=True)
|
3148
3190
|
>>> result = thread.get()
|
3149
3191
|
|
3150
3192
|
:param workspace_name: The shared workspace name. (required)
|
3151
3193
|
:type workspace_name: str
|
3194
|
+
:param group_name: The group containing the item. (required)
|
3195
|
+
:type group_name: str
|
3152
3196
|
:param item_name: The item name. (required)
|
3153
3197
|
:type item_name: str
|
3154
3198
|
:param workspace_item_update_request: The new item details.
|
@@ -3181,6 +3225,7 @@ class WorkspaceApi:
|
|
3181
3225
|
|
3182
3226
|
_all_params = [
|
3183
3227
|
'workspace_name',
|
3228
|
+
'group_name',
|
3184
3229
|
'item_name',
|
3185
3230
|
'workspace_item_update_request'
|
3186
3231
|
]
|
@@ -3214,6 +3259,9 @@ class WorkspaceApi:
|
|
3214
3259
|
if _params['workspace_name']:
|
3215
3260
|
_path_params['workspaceName'] = _params['workspace_name']
|
3216
3261
|
|
3262
|
+
if _params['group_name']:
|
3263
|
+
_path_params['groupName'] = _params['group_name']
|
3264
|
+
|
3217
3265
|
if _params['item_name']:
|
3218
3266
|
_path_params['itemName'] = _params['item_name']
|
3219
3267
|
|
@@ -3250,7 +3298,7 @@ class WorkspaceApi:
|
|
3250
3298
|
}
|
3251
3299
|
|
3252
3300
|
return self.api_client.call_api(
|
3253
|
-
'/api/workspaces/shared/{workspaceName}/items/{itemName}', 'PUT',
|
3301
|
+
'/api/workspaces/shared/{workspaceName}/items/{groupName}/{itemName}', 'PUT',
|
3254
3302
|
_path_params,
|
3255
3303
|
_query_params,
|
3256
3304
|
_header_params,
|
lusid/configuration.py
CHANGED
@@ -445,7 +445,7 @@ class Configuration:
|
|
445
445
|
return "Python SDK Debug Report:\n"\
|
446
446
|
"OS: {env}\n"\
|
447
447
|
"Python Version: {pyversion}\n"\
|
448
|
-
"Version of the API: 0.11.
|
448
|
+
"Version of the API: 0.11.7223\n"\
|
449
449
|
"SDK Package Version: {package_version}".\
|
450
450
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
451
451
|
|