Add brief docstring for the method DecortController.account_vinses

This commit is contained in:
2024-07-19 16:50:50 +03:00
parent 682f19c4ce
commit 53ba9a4f02

View File

@@ -2344,6 +2344,11 @@ class DecortController(object):
vins_id: None | int = None, vins_id: None | int = None,
vins_name: None | str = None, vins_name: None | str = None,
) -> list[dict]: ) -> list[dict]:
"""
Implementation of functionality of the API method
`/cloudapi/account/listVins`.
"""
sort_by = None sort_by = None
if sort_by_field: if sort_by_field:
if not sort_by_field in self.FIELDS_FOR_SORTING_ACCOUNT_VINS_LIST: if not sort_by_field in self.FIELDS_FOR_SORTING_ACCOUNT_VINS_LIST: