lusid-sdk 2.1.689__py3-none-any.whl → 2.1.690__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/api/abor_api.py +178 -0
- lusid/api/abor_configuration_api.py +178 -0
- lusid/api/chart_of_accounts_api.py +364 -0
- lusid/api/funds_api.py +364 -0
- lusid/configuration.py +1 -1
- lusid/models/contract_for_difference.py +25 -5
- {lusid_sdk-2.1.689.dist-info → lusid_sdk-2.1.690.dist-info}/METADATA +7 -1
- {lusid_sdk-2.1.689.dist-info → lusid_sdk-2.1.690.dist-info}/RECORD +9 -9
- {lusid_sdk-2.1.689.dist-info → lusid_sdk-2.1.690.dist-info}/WHEEL +0 -0
lusid/api/abor_api.py
CHANGED
@@ -926,6 +926,184 @@ class AborApi:
|
|
926
926
|
collection_formats=_collection_formats,
|
927
927
|
_request_auth=_params.get('_request_auth'))
|
928
928
|
|
929
|
+
@overload
|
930
|
+
async def get_abor_properties(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Abor to list the properties for.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Abor to list the properties for. Together with the scope this uniquely identifies the Abor.")], effective_at : Annotated[Optional[constr(strict=True, max_length=256, min_length=0)], Field(description="The effective datetime or cut label at which to list the Abor's properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the Abor's properties. Defaults to return the latest version of each property if not specified.")] = None, **kwargs) -> AborProperties: # noqa: E501
|
931
|
+
...
|
932
|
+
|
933
|
+
@overload
|
934
|
+
def get_abor_properties(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Abor to list the properties for.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Abor to list the properties for. Together with the scope this uniquely identifies the Abor.")], effective_at : Annotated[Optional[constr(strict=True, max_length=256, min_length=0)], Field(description="The effective datetime or cut label at which to list the Abor's properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the Abor's properties. Defaults to return the latest version of each property if not specified.")] = None, async_req: Optional[bool]=True, **kwargs) -> AborProperties: # noqa: E501
|
935
|
+
...
|
936
|
+
|
937
|
+
@validate_arguments
|
938
|
+
def get_abor_properties(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Abor to list the properties for.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Abor to list the properties for. Together with the scope this uniquely identifies the Abor.")], effective_at : Annotated[Optional[constr(strict=True, max_length=256, min_length=0)], Field(description="The effective datetime or cut label at which to list the Abor's properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the Abor's properties. Defaults to return the latest version of each property if not specified.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[AborProperties, Awaitable[AborProperties]]: # noqa: E501
|
939
|
+
"""[EXPERIMENTAL] GetAborProperties: Get Abor properties # noqa: E501
|
940
|
+
|
941
|
+
Get all the properties of a single abor. # noqa: E501
|
942
|
+
This method makes a synchronous HTTP request by default. To make an
|
943
|
+
asynchronous HTTP request, please pass async_req=True
|
944
|
+
|
945
|
+
>>> thread = api.get_abor_properties(scope, code, effective_at, as_at, async_req=True)
|
946
|
+
>>> result = thread.get()
|
947
|
+
|
948
|
+
:param scope: The scope of the Abor to list the properties for. (required)
|
949
|
+
:type scope: str
|
950
|
+
:param code: The code of the Abor to list the properties for. Together with the scope this uniquely identifies the Abor. (required)
|
951
|
+
:type code: str
|
952
|
+
:param effective_at: The effective datetime or cut label at which to list the Abor's properties. Defaults to the current LUSID system datetime if not specified.
|
953
|
+
:type effective_at: str
|
954
|
+
:param as_at: The asAt datetime at which to list the Abor's properties. Defaults to return the latest version of each property if not specified.
|
955
|
+
:type as_at: datetime
|
956
|
+
:param async_req: Whether to execute the request asynchronously.
|
957
|
+
:type async_req: bool, optional
|
958
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
959
|
+
:param opts: Configuration options for this request
|
960
|
+
:type opts: ConfigurationOptions, optional
|
961
|
+
:return: Returns the result object.
|
962
|
+
If the method is called asynchronously,
|
963
|
+
returns the request thread.
|
964
|
+
:rtype: AborProperties
|
965
|
+
"""
|
966
|
+
kwargs['_return_http_data_only'] = True
|
967
|
+
if '_preload_content' in kwargs:
|
968
|
+
message = "Error! Please call the get_abor_properties_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
969
|
+
raise ValueError(message)
|
970
|
+
if async_req is not None:
|
971
|
+
kwargs['async_req'] = async_req
|
972
|
+
return self.get_abor_properties_with_http_info(scope, code, effective_at, as_at, **kwargs) # noqa: E501
|
973
|
+
|
974
|
+
@validate_arguments
|
975
|
+
def get_abor_properties_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Abor to list the properties for.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Abor to list the properties for. Together with the scope this uniquely identifies the Abor.")], effective_at : Annotated[Optional[constr(strict=True, max_length=256, min_length=0)], Field(description="The effective datetime or cut label at which to list the Abor's properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the Abor's properties. Defaults to return the latest version of each property if not specified.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
976
|
+
"""[EXPERIMENTAL] GetAborProperties: Get Abor properties # noqa: E501
|
977
|
+
|
978
|
+
Get all the properties of a single abor. # noqa: E501
|
979
|
+
This method makes a synchronous HTTP request by default. To make an
|
980
|
+
asynchronous HTTP request, please pass async_req=True
|
981
|
+
|
982
|
+
>>> thread = api.get_abor_properties_with_http_info(scope, code, effective_at, as_at, async_req=True)
|
983
|
+
>>> result = thread.get()
|
984
|
+
|
985
|
+
:param scope: The scope of the Abor to list the properties for. (required)
|
986
|
+
:type scope: str
|
987
|
+
:param code: The code of the Abor to list the properties for. Together with the scope this uniquely identifies the Abor. (required)
|
988
|
+
:type code: str
|
989
|
+
:param effective_at: The effective datetime or cut label at which to list the Abor's properties. Defaults to the current LUSID system datetime if not specified.
|
990
|
+
:type effective_at: str
|
991
|
+
:param as_at: The asAt datetime at which to list the Abor's properties. Defaults to return the latest version of each property if not specified.
|
992
|
+
:type as_at: datetime
|
993
|
+
:param async_req: Whether to execute the request asynchronously.
|
994
|
+
:type async_req: bool, optional
|
995
|
+
:param _preload_content: if False, the ApiResponse.data will
|
996
|
+
be set to none and raw_data will store the
|
997
|
+
HTTP response body without reading/decoding.
|
998
|
+
Default is True.
|
999
|
+
:type _preload_content: bool, optional
|
1000
|
+
:param _return_http_data_only: response data instead of ApiResponse
|
1001
|
+
object with status code, headers, etc
|
1002
|
+
:type _return_http_data_only: bool, optional
|
1003
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1004
|
+
:param opts: Configuration options for this request
|
1005
|
+
:type opts: ConfigurationOptions, optional
|
1006
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1007
|
+
request; this effectively ignores the authentication
|
1008
|
+
in the spec for a single request.
|
1009
|
+
:type _request_auth: dict, optional
|
1010
|
+
:type _content_type: string, optional: force content-type for the request
|
1011
|
+
:return: Returns the result object.
|
1012
|
+
If the method is called asynchronously,
|
1013
|
+
returns the request thread.
|
1014
|
+
:rtype: tuple(AborProperties, status_code(int), headers(HTTPHeaderDict))
|
1015
|
+
"""
|
1016
|
+
|
1017
|
+
_params = locals()
|
1018
|
+
|
1019
|
+
_all_params = [
|
1020
|
+
'scope',
|
1021
|
+
'code',
|
1022
|
+
'effective_at',
|
1023
|
+
'as_at'
|
1024
|
+
]
|
1025
|
+
_all_params.extend(
|
1026
|
+
[
|
1027
|
+
'async_req',
|
1028
|
+
'_return_http_data_only',
|
1029
|
+
'_preload_content',
|
1030
|
+
'_request_timeout',
|
1031
|
+
'_request_auth',
|
1032
|
+
'_content_type',
|
1033
|
+
'_headers',
|
1034
|
+
'opts'
|
1035
|
+
]
|
1036
|
+
)
|
1037
|
+
|
1038
|
+
# validate the arguments
|
1039
|
+
for _key, _val in _params['kwargs'].items():
|
1040
|
+
if _key not in _all_params:
|
1041
|
+
raise ApiTypeError(
|
1042
|
+
"Got an unexpected keyword argument '%s'"
|
1043
|
+
" to method get_abor_properties" % _key
|
1044
|
+
)
|
1045
|
+
_params[_key] = _val
|
1046
|
+
del _params['kwargs']
|
1047
|
+
|
1048
|
+
_collection_formats = {}
|
1049
|
+
|
1050
|
+
# process the path parameters
|
1051
|
+
_path_params = {}
|
1052
|
+
if _params['scope']:
|
1053
|
+
_path_params['scope'] = _params['scope']
|
1054
|
+
|
1055
|
+
if _params['code']:
|
1056
|
+
_path_params['code'] = _params['code']
|
1057
|
+
|
1058
|
+
|
1059
|
+
# process the query parameters
|
1060
|
+
_query_params = []
|
1061
|
+
if _params.get('effective_at') is not None: # noqa: E501
|
1062
|
+
_query_params.append(('effectiveAt', _params['effective_at']))
|
1063
|
+
|
1064
|
+
if _params.get('as_at') is not None: # noqa: E501
|
1065
|
+
if isinstance(_params['as_at'], datetime):
|
1066
|
+
_query_params.append(('asAt', _params['as_at'].strftime(self.api_client.configuration.datetime_format)))
|
1067
|
+
else:
|
1068
|
+
_query_params.append(('asAt', _params['as_at']))
|
1069
|
+
|
1070
|
+
# process the header parameters
|
1071
|
+
_header_params = dict(_params.get('_headers', {}))
|
1072
|
+
# process the form parameters
|
1073
|
+
_form_params = []
|
1074
|
+
_files = {}
|
1075
|
+
# process the body parameter
|
1076
|
+
_body_params = None
|
1077
|
+
# set the HTTP header `Accept`
|
1078
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1079
|
+
['text/plain', 'application/json', 'text/json']) # noqa: E501
|
1080
|
+
|
1081
|
+
# authentication setting
|
1082
|
+
_auth_settings = ['oauth2'] # noqa: E501
|
1083
|
+
|
1084
|
+
_response_types_map = {
|
1085
|
+
'200': "AborProperties",
|
1086
|
+
'400': "LusidValidationProblemDetails",
|
1087
|
+
}
|
1088
|
+
|
1089
|
+
return self.api_client.call_api(
|
1090
|
+
'/api/abor/{scope}/{code}/properties', 'GET',
|
1091
|
+
_path_params,
|
1092
|
+
_query_params,
|
1093
|
+
_header_params,
|
1094
|
+
body=_body_params,
|
1095
|
+
post_params=_form_params,
|
1096
|
+
files=_files,
|
1097
|
+
response_types_map=_response_types_map,
|
1098
|
+
auth_settings=_auth_settings,
|
1099
|
+
async_req=_params.get('async_req'),
|
1100
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1101
|
+
_preload_content=_params.get('_preload_content', True),
|
1102
|
+
_request_timeout=_params.get('_request_timeout'),
|
1103
|
+
opts=_params.get('opts'),
|
1104
|
+
collection_formats=_collection_formats,
|
1105
|
+
_request_auth=_params.get('_request_auth'))
|
1106
|
+
|
929
1107
|
@overload
|
930
1108
|
async def get_journal_entry_lines(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Abor.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Abor. Together with the scope is creating the unique identifier for the given Abor.")], journal_entry_lines_query_parameters : Annotated[JournalEntryLinesQueryParameters, Field(..., description="The query parameters used in running the generation of the Journal Entry lines.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve Journal Entry lines. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="\"Expression to filter the result set.\"")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing Journal Entry lines from a previous call to GetJournalEntryLines.")] = None, **kwargs) -> VersionedResourceListOfJournalEntryLine: # noqa: E501
|
931
1109
|
...
|
@@ -566,6 +566,184 @@ class AborConfigurationApi:
|
|
566
566
|
collection_formats=_collection_formats,
|
567
567
|
_request_auth=_params.get('_request_auth'))
|
568
568
|
|
569
|
+
@overload
|
570
|
+
async def get_abor_configuration_properties(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Abor Configuration to list the properties for.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Abor Configuration to list the properties for. Together with the scope this uniquely identifies the Abor Configuration.")], effective_at : Annotated[Optional[constr(strict=True, max_length=256, min_length=0)], Field(description="The effective datetime or cut label at which to list the Abor Configuration's properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the Abor Configuration's properties. Defaults to return the latest version of each property if not specified.")] = None, **kwargs) -> AborConfigurationProperties: # noqa: E501
|
571
|
+
...
|
572
|
+
|
573
|
+
@overload
|
574
|
+
def get_abor_configuration_properties(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Abor Configuration to list the properties for.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Abor Configuration to list the properties for. Together with the scope this uniquely identifies the Abor Configuration.")], effective_at : Annotated[Optional[constr(strict=True, max_length=256, min_length=0)], Field(description="The effective datetime or cut label at which to list the Abor Configuration's properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the Abor Configuration's properties. Defaults to return the latest version of each property if not specified.")] = None, async_req: Optional[bool]=True, **kwargs) -> AborConfigurationProperties: # noqa: E501
|
575
|
+
...
|
576
|
+
|
577
|
+
@validate_arguments
|
578
|
+
def get_abor_configuration_properties(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Abor Configuration to list the properties for.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Abor Configuration to list the properties for. Together with the scope this uniquely identifies the Abor Configuration.")], effective_at : Annotated[Optional[constr(strict=True, max_length=256, min_length=0)], Field(description="The effective datetime or cut label at which to list the Abor Configuration's properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the Abor Configuration's properties. Defaults to return the latest version of each property if not specified.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[AborConfigurationProperties, Awaitable[AborConfigurationProperties]]: # noqa: E501
|
579
|
+
"""[EXPERIMENTAL] GetAborConfigurationProperties: Get Abor Configuration properties # noqa: E501
|
580
|
+
|
581
|
+
Get all the properties of a single abor Configuration. # noqa: E501
|
582
|
+
This method makes a synchronous HTTP request by default. To make an
|
583
|
+
asynchronous HTTP request, please pass async_req=True
|
584
|
+
|
585
|
+
>>> thread = api.get_abor_configuration_properties(scope, code, effective_at, as_at, async_req=True)
|
586
|
+
>>> result = thread.get()
|
587
|
+
|
588
|
+
:param scope: The scope of the Abor Configuration to list the properties for. (required)
|
589
|
+
:type scope: str
|
590
|
+
:param code: The code of the Abor Configuration to list the properties for. Together with the scope this uniquely identifies the Abor Configuration. (required)
|
591
|
+
:type code: str
|
592
|
+
:param effective_at: The effective datetime or cut label at which to list the Abor Configuration's properties. Defaults to the current LUSID system datetime if not specified.
|
593
|
+
:type effective_at: str
|
594
|
+
:param as_at: The asAt datetime at which to list the Abor Configuration's properties. Defaults to return the latest version of each property if not specified.
|
595
|
+
:type as_at: datetime
|
596
|
+
:param async_req: Whether to execute the request asynchronously.
|
597
|
+
:type async_req: bool, optional
|
598
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
599
|
+
:param opts: Configuration options for this request
|
600
|
+
:type opts: ConfigurationOptions, optional
|
601
|
+
:return: Returns the result object.
|
602
|
+
If the method is called asynchronously,
|
603
|
+
returns the request thread.
|
604
|
+
:rtype: AborConfigurationProperties
|
605
|
+
"""
|
606
|
+
kwargs['_return_http_data_only'] = True
|
607
|
+
if '_preload_content' in kwargs:
|
608
|
+
message = "Error! Please call the get_abor_configuration_properties_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
609
|
+
raise ValueError(message)
|
610
|
+
if async_req is not None:
|
611
|
+
kwargs['async_req'] = async_req
|
612
|
+
return self.get_abor_configuration_properties_with_http_info(scope, code, effective_at, as_at, **kwargs) # noqa: E501
|
613
|
+
|
614
|
+
@validate_arguments
|
615
|
+
def get_abor_configuration_properties_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Abor Configuration to list the properties for.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Abor Configuration to list the properties for. Together with the scope this uniquely identifies the Abor Configuration.")], effective_at : Annotated[Optional[constr(strict=True, max_length=256, min_length=0)], Field(description="The effective datetime or cut label at which to list the Abor Configuration's properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the Abor Configuration's properties. Defaults to return the latest version of each property if not specified.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
616
|
+
"""[EXPERIMENTAL] GetAborConfigurationProperties: Get Abor Configuration properties # noqa: E501
|
617
|
+
|
618
|
+
Get all the properties of a single abor Configuration. # noqa: E501
|
619
|
+
This method makes a synchronous HTTP request by default. To make an
|
620
|
+
asynchronous HTTP request, please pass async_req=True
|
621
|
+
|
622
|
+
>>> thread = api.get_abor_configuration_properties_with_http_info(scope, code, effective_at, as_at, async_req=True)
|
623
|
+
>>> result = thread.get()
|
624
|
+
|
625
|
+
:param scope: The scope of the Abor Configuration to list the properties for. (required)
|
626
|
+
:type scope: str
|
627
|
+
:param code: The code of the Abor Configuration to list the properties for. Together with the scope this uniquely identifies the Abor Configuration. (required)
|
628
|
+
:type code: str
|
629
|
+
:param effective_at: The effective datetime or cut label at which to list the Abor Configuration's properties. Defaults to the current LUSID system datetime if not specified.
|
630
|
+
:type effective_at: str
|
631
|
+
:param as_at: The asAt datetime at which to list the Abor Configuration's properties. Defaults to return the latest version of each property if not specified.
|
632
|
+
:type as_at: datetime
|
633
|
+
:param async_req: Whether to execute the request asynchronously.
|
634
|
+
:type async_req: bool, optional
|
635
|
+
:param _preload_content: if False, the ApiResponse.data will
|
636
|
+
be set to none and raw_data will store the
|
637
|
+
HTTP response body without reading/decoding.
|
638
|
+
Default is True.
|
639
|
+
:type _preload_content: bool, optional
|
640
|
+
:param _return_http_data_only: response data instead of ApiResponse
|
641
|
+
object with status code, headers, etc
|
642
|
+
:type _return_http_data_only: bool, optional
|
643
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
644
|
+
:param opts: Configuration options for this request
|
645
|
+
:type opts: ConfigurationOptions, optional
|
646
|
+
:param _request_auth: set to override the auth_settings for an a single
|
647
|
+
request; this effectively ignores the authentication
|
648
|
+
in the spec for a single request.
|
649
|
+
:type _request_auth: dict, optional
|
650
|
+
:type _content_type: string, optional: force content-type for the request
|
651
|
+
:return: Returns the result object.
|
652
|
+
If the method is called asynchronously,
|
653
|
+
returns the request thread.
|
654
|
+
:rtype: tuple(AborConfigurationProperties, status_code(int), headers(HTTPHeaderDict))
|
655
|
+
"""
|
656
|
+
|
657
|
+
_params = locals()
|
658
|
+
|
659
|
+
_all_params = [
|
660
|
+
'scope',
|
661
|
+
'code',
|
662
|
+
'effective_at',
|
663
|
+
'as_at'
|
664
|
+
]
|
665
|
+
_all_params.extend(
|
666
|
+
[
|
667
|
+
'async_req',
|
668
|
+
'_return_http_data_only',
|
669
|
+
'_preload_content',
|
670
|
+
'_request_timeout',
|
671
|
+
'_request_auth',
|
672
|
+
'_content_type',
|
673
|
+
'_headers',
|
674
|
+
'opts'
|
675
|
+
]
|
676
|
+
)
|
677
|
+
|
678
|
+
# validate the arguments
|
679
|
+
for _key, _val in _params['kwargs'].items():
|
680
|
+
if _key not in _all_params:
|
681
|
+
raise ApiTypeError(
|
682
|
+
"Got an unexpected keyword argument '%s'"
|
683
|
+
" to method get_abor_configuration_properties" % _key
|
684
|
+
)
|
685
|
+
_params[_key] = _val
|
686
|
+
del _params['kwargs']
|
687
|
+
|
688
|
+
_collection_formats = {}
|
689
|
+
|
690
|
+
# process the path parameters
|
691
|
+
_path_params = {}
|
692
|
+
if _params['scope']:
|
693
|
+
_path_params['scope'] = _params['scope']
|
694
|
+
|
695
|
+
if _params['code']:
|
696
|
+
_path_params['code'] = _params['code']
|
697
|
+
|
698
|
+
|
699
|
+
# process the query parameters
|
700
|
+
_query_params = []
|
701
|
+
if _params.get('effective_at') is not None: # noqa: E501
|
702
|
+
_query_params.append(('effectiveAt', _params['effective_at']))
|
703
|
+
|
704
|
+
if _params.get('as_at') is not None: # noqa: E501
|
705
|
+
if isinstance(_params['as_at'], datetime):
|
706
|
+
_query_params.append(('asAt', _params['as_at'].strftime(self.api_client.configuration.datetime_format)))
|
707
|
+
else:
|
708
|
+
_query_params.append(('asAt', _params['as_at']))
|
709
|
+
|
710
|
+
# process the header parameters
|
711
|
+
_header_params = dict(_params.get('_headers', {}))
|
712
|
+
# process the form parameters
|
713
|
+
_form_params = []
|
714
|
+
_files = {}
|
715
|
+
# process the body parameter
|
716
|
+
_body_params = None
|
717
|
+
# set the HTTP header `Accept`
|
718
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
719
|
+
['text/plain', 'application/json', 'text/json']) # noqa: E501
|
720
|
+
|
721
|
+
# authentication setting
|
722
|
+
_auth_settings = ['oauth2'] # noqa: E501
|
723
|
+
|
724
|
+
_response_types_map = {
|
725
|
+
'200': "AborConfigurationProperties",
|
726
|
+
'400': "LusidValidationProblemDetails",
|
727
|
+
}
|
728
|
+
|
729
|
+
return self.api_client.call_api(
|
730
|
+
'/api/aborconfiguration/{scope}/{code}/properties', 'GET',
|
731
|
+
_path_params,
|
732
|
+
_query_params,
|
733
|
+
_header_params,
|
734
|
+
body=_body_params,
|
735
|
+
post_params=_form_params,
|
736
|
+
files=_files,
|
737
|
+
response_types_map=_response_types_map,
|
738
|
+
auth_settings=_auth_settings,
|
739
|
+
async_req=_params.get('async_req'),
|
740
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
741
|
+
_preload_content=_params.get('_preload_content', True),
|
742
|
+
_request_timeout=_params.get('_request_timeout'),
|
743
|
+
opts=_params.get('opts'),
|
744
|
+
collection_formats=_collection_formats,
|
745
|
+
_request_auth=_params.get('_request_auth'))
|
746
|
+
|
569
747
|
@overload
|
570
748
|
async def list_abor_configurations(self, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the TimeVariant properties for the AborConfiguration. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the AborConfiguration. Defaults to returning the latest version of each AAborConfigurationbor if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing AborConfiguration; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For example, to filter on the AborConfiguration type, specify \"id.Code eq 'AborConfiguration1'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names or properties to sort by, each suffixed by \" ASC\" or \" DESC\".")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'AborConfiguration' domain to decorate onto each AborConfiguration. These must take the format {domain}/{scope}/{code}, for example 'AborConfiguration/Manager/Id'.")] = None, **kwargs) -> PagedResourceListOfAborConfiguration: # noqa: E501
|
571
749
|
...
|