lusid-sdk 2.3.13__py3-none-any.whl → 2.3.15__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.
|
@@ -870,22 +870,22 @@ class TransactionPortfoliosApi:
|
|
|
870
870
|
|
|
871
871
|
|
|
872
872
|
@overload
|
|
873
|
-
async def batch_upsert_settlement_instructions(self, scope : Annotated[StrictStr, Field(..., description="The scope of the portfolio.")], code : Annotated[StrictStr, Field(..., description="The code of the portfolio.")], request_body : Annotated[Dict[str, SettlementInstructionRequest], Field(description="The definition of the settlement instruction.")], **kwargs) -> BatchUpsertTransactionSettlementInstructionResponse: # noqa: E501
|
|
873
|
+
async def batch_upsert_settlement_instructions(self, scope : Annotated[StrictStr, Field(..., description="The scope of the portfolio.")], code : Annotated[StrictStr, Field(..., description="The code of the portfolio.")], request_body : Annotated[Dict[str, SettlementInstructionRequest], Field(description="The definition of the settlement instruction.")], success_mode : Annotated[Optional[StrictStr], Field( description="Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial")] = None, **kwargs) -> BatchUpsertTransactionSettlementInstructionResponse: # noqa: E501
|
|
874
874
|
...
|
|
875
875
|
|
|
876
876
|
@overload
|
|
877
|
-
def batch_upsert_settlement_instructions(self, scope : Annotated[StrictStr, Field(..., description="The scope of the portfolio.")], code : Annotated[StrictStr, Field(..., description="The code of the portfolio.")], request_body : Annotated[Dict[str, SettlementInstructionRequest], Field(description="The definition of the settlement instruction.")], async_req: Optional[bool]=True, **kwargs) -> BatchUpsertTransactionSettlementInstructionResponse: # noqa: E501
|
|
877
|
+
def batch_upsert_settlement_instructions(self, scope : Annotated[StrictStr, Field(..., description="The scope of the portfolio.")], code : Annotated[StrictStr, Field(..., description="The code of the portfolio.")], request_body : Annotated[Dict[str, SettlementInstructionRequest], Field(description="The definition of the settlement instruction.")], success_mode : Annotated[Optional[StrictStr], Field( description="Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial")] = None, async_req: Optional[bool]=True, **kwargs) -> BatchUpsertTransactionSettlementInstructionResponse: # noqa: E501
|
|
878
878
|
...
|
|
879
879
|
|
|
880
880
|
@validate_arguments
|
|
881
|
-
def batch_upsert_settlement_instructions(self, scope : Annotated[StrictStr, Field(..., description="The scope of the portfolio.")], code : Annotated[StrictStr, Field(..., description="The code of the portfolio.")], request_body : Annotated[Dict[str, SettlementInstructionRequest], Field(description="The definition of the settlement instruction.")], async_req: Optional[bool]=None, **kwargs) -> Union[BatchUpsertTransactionSettlementInstructionResponse, Awaitable[BatchUpsertTransactionSettlementInstructionResponse]]: # noqa: E501
|
|
881
|
+
def batch_upsert_settlement_instructions(self, scope : Annotated[StrictStr, Field(..., description="The scope of the portfolio.")], code : Annotated[StrictStr, Field(..., description="The code of the portfolio.")], request_body : Annotated[Dict[str, SettlementInstructionRequest], Field(description="The definition of the settlement instruction.")], success_mode : Annotated[Optional[StrictStr], Field( description="Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[BatchUpsertTransactionSettlementInstructionResponse, Awaitable[BatchUpsertTransactionSettlementInstructionResponse]]: # noqa: E501
|
|
882
882
|
"""[EARLY ACCESS] BatchUpsertSettlementInstructions: Batch Upsert Settlement Instructions. # noqa: E501
|
|
883
883
|
|
|
884
884
|
Create or update instructions to settle specific transactions. # noqa: E501
|
|
885
885
|
This method makes a synchronous HTTP request by default. To make an
|
|
886
886
|
asynchronous HTTP request, please pass async_req=True
|
|
887
887
|
|
|
888
|
-
>>> thread = api.batch_upsert_settlement_instructions(scope, code, request_body, async_req=True)
|
|
888
|
+
>>> thread = api.batch_upsert_settlement_instructions(scope, code, request_body, success_mode, async_req=True)
|
|
889
889
|
>>> result = thread.get()
|
|
890
890
|
|
|
891
891
|
:param scope: The scope of the portfolio. (required)
|
|
@@ -894,6 +894,8 @@ class TransactionPortfoliosApi:
|
|
|
894
894
|
:type code: str
|
|
895
895
|
:param request_body: The definition of the settlement instruction. (required)
|
|
896
896
|
:type request_body: Dict[str, SettlementInstructionRequest]
|
|
897
|
+
:param success_mode: Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial
|
|
898
|
+
:type success_mode: str
|
|
897
899
|
:param async_req: Whether to execute the request asynchronously.
|
|
898
900
|
:type async_req: bool, optional
|
|
899
901
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
|
@@ -910,17 +912,17 @@ class TransactionPortfoliosApi:
|
|
|
910
912
|
raise ValueError(message)
|
|
911
913
|
if async_req is not None:
|
|
912
914
|
kwargs['async_req'] = async_req
|
|
913
|
-
return self.batch_upsert_settlement_instructions_with_http_info(scope, code, request_body, **kwargs) # noqa: E501
|
|
915
|
+
return self.batch_upsert_settlement_instructions_with_http_info(scope, code, request_body, success_mode, **kwargs) # noqa: E501
|
|
914
916
|
|
|
915
917
|
@validate_arguments
|
|
916
|
-
def batch_upsert_settlement_instructions_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the portfolio.")], code : Annotated[StrictStr, Field(..., description="The code of the portfolio.")], request_body : Annotated[Dict[str, SettlementInstructionRequest], Field(description="The definition of the settlement instruction.")], **kwargs) -> ApiResponse: # noqa: E501
|
|
918
|
+
def batch_upsert_settlement_instructions_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the portfolio.")], code : Annotated[StrictStr, Field(..., description="The code of the portfolio.")], request_body : Annotated[Dict[str, SettlementInstructionRequest], Field(description="The definition of the settlement instruction.")], success_mode : Annotated[Optional[StrictStr], Field( description="Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
917
919
|
"""[EARLY ACCESS] BatchUpsertSettlementInstructions: Batch Upsert Settlement Instructions. # noqa: E501
|
|
918
920
|
|
|
919
921
|
Create or update instructions to settle specific transactions. # noqa: E501
|
|
920
922
|
This method makes a synchronous HTTP request by default. To make an
|
|
921
923
|
asynchronous HTTP request, please pass async_req=True
|
|
922
924
|
|
|
923
|
-
>>> thread = api.batch_upsert_settlement_instructions_with_http_info(scope, code, request_body, async_req=True)
|
|
925
|
+
>>> thread = api.batch_upsert_settlement_instructions_with_http_info(scope, code, request_body, success_mode, async_req=True)
|
|
924
926
|
>>> result = thread.get()
|
|
925
927
|
|
|
926
928
|
:param scope: The scope of the portfolio. (required)
|
|
@@ -929,6 +931,8 @@ class TransactionPortfoliosApi:
|
|
|
929
931
|
:type code: str
|
|
930
932
|
:param request_body: The definition of the settlement instruction. (required)
|
|
931
933
|
:type request_body: Dict[str, SettlementInstructionRequest]
|
|
934
|
+
:param success_mode: Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial
|
|
935
|
+
:type success_mode: str
|
|
932
936
|
:param async_req: Whether to execute the request asynchronously.
|
|
933
937
|
:type async_req: bool, optional
|
|
934
938
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -958,7 +962,8 @@ class TransactionPortfoliosApi:
|
|
|
958
962
|
_all_params = [
|
|
959
963
|
'scope',
|
|
960
964
|
'code',
|
|
961
|
-
'request_body'
|
|
965
|
+
'request_body',
|
|
966
|
+
'success_mode'
|
|
962
967
|
]
|
|
963
968
|
_all_params.extend(
|
|
964
969
|
[
|
|
@@ -996,6 +1001,9 @@ class TransactionPortfoliosApi:
|
|
|
996
1001
|
|
|
997
1002
|
# process the query parameters
|
|
998
1003
|
_query_params = []
|
|
1004
|
+
if _params.get('success_mode') is not None: # noqa: E501
|
|
1005
|
+
_query_params.append(('successMode', _params['success_mode']))
|
|
1006
|
+
|
|
999
1007
|
# process the header parameters
|
|
1000
1008
|
_header_params = dict(_params.get('_headers', {}))
|
|
1001
1009
|
# process the form parameters
|
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.8741\n"\
|
|
449
449
|
"SDK Package Version: {package_version}".\
|
|
450
450
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
|
451
451
|
|
|
@@ -75,13 +75,13 @@ lusid/api/tax_rule_sets_api.py,sha256=-ROCfRpxfCHD0e36e3qf5UOoOIIgxbd8qBJHAuD7LL
|
|
|
75
75
|
lusid/api/timelines_api.py,sha256=4fZWmZ2g_w8a9LSHAVcTNfURL2mK0XkKwrCEdqnlO4A,140948
|
|
76
76
|
lusid/api/transaction_configuration_api.py,sha256=nIQWvd7Bghl-KQXfKDCXaYXG9dzFtdzDBSfQRWhmCs8,103844
|
|
77
77
|
lusid/api/transaction_fees_api.py,sha256=e_NUn6jBgTC_rQtv1htJ1K16ZIU-Oq3gg-uyUgxXinY,62619
|
|
78
|
-
lusid/api/transaction_portfolios_api.py,sha256=
|
|
78
|
+
lusid/api/transaction_portfolios_api.py,sha256=MqqcLHvCu5cdLQ5ldtpe9YKTBjlmZKS4VcTRTydJnn0,707085
|
|
79
79
|
lusid/api/transfer_agency_api.py,sha256=k5jhNKRJPr0lZRddJ5keTxH-wLOUCKZIJQJwl09Ym9o,9523
|
|
80
80
|
lusid/api/translation_api.py,sha256=ykq--aAObjON30cqkCgtlvNVN_X9o1kCFHBuhx0TqOY,20186
|
|
81
81
|
lusid/api/workspace_api.py,sha256=cIVlsVXulKjrNIF1NMaEH11-YRF3gOmLN6KaXVeECnk,120530
|
|
82
82
|
lusid/api_client.py,sha256=9ShwOKmMJEOUj82dVLKP8CIkwu0aGV2H5qwGxTVJp7w,31170
|
|
83
83
|
lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
|
|
84
|
-
lusid/configuration.py,sha256=
|
|
84
|
+
lusid/configuration.py,sha256=_KiQJHgUgaXaWy9CCjYAVoRovNOojaHlJTJFAxkZR24,17980
|
|
85
85
|
lusid/exceptions.py,sha256=lYAJyHpruxMPUtZ95NwiYJvqzInY8S0yhRE0-JFYCww,5873
|
|
86
86
|
lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
|
|
87
87
|
lusid/extensions/api_client.py,sha256=cq0kCulu3hsJ7jMPQfsE8B6FIa8ppTSXqneHo19RrXQ,30973
|
|
@@ -1438,6 +1438,6 @@ lusid/models/year_month_day.py,sha256=H4OeBzWuMg6mwiOAHFfAvrzjd3QrFCqx1ldsB4L9YQ
|
|
|
1438
1438
|
lusid/models/yield_curve_data.py,sha256=_BmEhhFXrGpBb7qL9WZJpVPeat4twES7nSQggts6_WI,10457
|
|
1439
1439
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1440
1440
|
lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
|
|
1441
|
-
lusid_sdk-2.3.
|
|
1442
|
-
lusid_sdk-2.3.
|
|
1443
|
-
lusid_sdk-2.3.
|
|
1441
|
+
lusid_sdk-2.3.15.dist-info/METADATA,sha256=V35UmhmQQcxsUu5HMehmIWTxjnRzvSD-DgPTQ9VyZWc,241785
|
|
1442
|
+
lusid_sdk-2.3.15.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
1443
|
+
lusid_sdk-2.3.15.dist-info/RECORD,,
|
|
File without changes
|