|
|
@ -2275,6 +2275,11 @@ class DecortController(object):
|
|
|
|
sort_by_asc=True,
|
|
|
|
sort_by_asc=True,
|
|
|
|
sort_by_field: None | str = None,
|
|
|
|
sort_by_field: None | str = None,
|
|
|
|
) -> list[dict]:
|
|
|
|
) -> list[dict]:
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
Implementation of functionality of the API method
|
|
|
|
|
|
|
|
`/cloudapi/account/listComputes`.
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
if compute_tech_status and (
|
|
|
|
if compute_tech_status and (
|
|
|
|
not compute_tech_status in self.COMPUTE_TECH_STATUSES
|
|
|
|
not compute_tech_status in self.COMPUTE_TECH_STATUSES
|
|
|
|
):
|
|
|
|
):
|
|
|
|