Skip to content

Commit 9f978c8

Browse files
rennaming example backups -> snapshots
1 parent d836886 commit 9f978c8

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

examples/backup/with_application.py renamed to examples/snapshots/with_application.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
async def example() -> None:
99
app = await client.app('application_id')
10-
backup = await app.backup()
11-
print(backup.url) # https://squarecloud.app/dashboard/backup/f.zip
12-
10+
snapshot = await app.snapshot()
11+
print(snapshot.url) # https://squarecloud.app/dashboard/backup/f.zip
1312

1413
asyncio.run(example())

examples/backup/with_client.py renamed to examples/snapshots/with_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77

88
async def example() -> None:
9-
backup = await client.backup('application_id')
10-
print(backup.url) # https://squarecloud.app/dashboard/backup/f.zip
9+
snapshot = await client.snapshot('application_id')
10+
print(snapshot.url) # https://squarecloud.app/dashboard/backup/f.zip
1111

1212

1313
asyncio.run(example())

0 commit comments

Comments
 (0)