Skip to content

Commit 652f329

Browse files
committed
fix incorrect return type in listSubAccountTransfers
1 parent 6b8fcb2 commit 652f329

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/WalletApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ Authentication with API key and secret is required
121121
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
122122

123123
# **list_sub_account_transfers**
124-
> SubAccountTransfer list_sub_account_transfers(sub_uid=sub_uid, _from=_from, to=to, limit=limit, offset=offset)
124+
> list[SubAccountTransfer] list_sub_account_transfers(sub_uid=sub_uid, _from=_from, to=to, limit=limit, offset=offset)
125125
126126
Transfer records between main and sub accounts
127127

128-
Record time range cannot exceed 30 days
128+
Record time range cannot exceed 30 days > Note: only records after 2020-04-10 can be retrieved
129129

130130
### Example
131131

@@ -166,7 +166,7 @@ Name | Type | Description | Notes
166166

167167
### Return type
168168

169-
[**SubAccountTransfer**](SubAccountTransfer.md)
169+
[**list[SubAccountTransfer]**](SubAccountTransfer.md)
170170

171171
### Authorization
172172

gate_api/api/wallet_api.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def list_deposits_with_http_info(self, **kwargs): # noqa: E501
243243
def list_sub_account_transfers(self, **kwargs): # noqa: E501
244244
"""Transfer records between main and sub accounts # noqa: E501
245245
246-
Record time range cannot exceed 30 days # noqa: E501
246+
Record time range cannot exceed 30 days > Note: only records after 2020-04-10 can be retrieved # noqa: E501
247247
This method makes a synchronous HTTP request by default. To make an
248248
asynchronous HTTP request, please pass async_req=True
249249
>>> thread = api.list_sub_account_transfers(async_req=True)
@@ -255,7 +255,7 @@ def list_sub_account_transfers(self, **kwargs): # noqa: E501
255255
:param int to: Time range ending, default to current time
256256
:param int limit: Maximum number of record returned in one list
257257
:param int offset: List offset, starting from 0
258-
:return: SubAccountTransfer
258+
:return: list[SubAccountTransfer]
259259
If the method is called asynchronously,
260260
returns the request thread.
261261
"""
@@ -269,7 +269,7 @@ def list_sub_account_transfers(self, **kwargs): # noqa: E501
269269
def list_sub_account_transfers_with_http_info(self, **kwargs): # noqa: E501
270270
"""Transfer records between main and sub accounts # noqa: E501
271271
272-
Record time range cannot exceed 30 days # noqa: E501
272+
Record time range cannot exceed 30 days > Note: only records after 2020-04-10 can be retrieved # noqa: E501
273273
This method makes a synchronous HTTP request by default. To make an
274274
asynchronous HTTP request, please pass async_req=True
275275
>>> thread = api.list_sub_account_transfers_with_http_info(async_req=True)
@@ -281,7 +281,7 @@ def list_sub_account_transfers_with_http_info(self, **kwargs): # noqa: E501
281281
:param int to: Time range ending, default to current time
282282
:param int limit: Maximum number of record returned in one list
283283
:param int offset: List offset, starting from 0
284-
:return: SubAccountTransfer
284+
:return: list[SubAccountTransfer]
285285
If the method is called asynchronously,
286286
returns the request thread.
287287
"""
@@ -346,7 +346,7 @@ def list_sub_account_transfers_with_http_info(self, **kwargs): # noqa: E501
346346
body=body_params,
347347
post_params=form_params,
348348
files=local_var_files,
349-
response_type='SubAccountTransfer', # noqa: E501
349+
response_type='list[SubAccountTransfer]', # noqa: E501
350350
auth_settings=auth_settings,
351351
async_req=local_var_params.get('async_req'),
352352
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501

0 commit comments

Comments
 (0)