We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5acda3 commit 02c08c3Copy full SHA for 02c08c3
squarecloud/client.py
@@ -8,9 +8,10 @@
8
from typing_extensions import deprecated
9
10
from .app import Application
11
-from .data import ( # BackupInfo,
+from .data import (
12
AppData,
13
Backup,
14
+ BackupInfo,
15
DeployData,
16
DomainAnalytics,
17
FileInfo,
@@ -737,3 +738,10 @@ async def domain_analytics(
737
738
app_id=app_id,
739
)
740
return DomainAnalytics(**response.response)
741
+
742
+ @_notify_listener(Endpoint.all_backups())
743
+ async def all_app_backups(self, app_id: str, **_kwargs):
744
+ response: Response = await self._http.get_all_app_backups(
745
+ app_id=app_id
746
+ )
747
+ return [BackupInfo(**backup_data) for backup_data in response.response]
0 commit comments