mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-26 22:11:29 +00:00
15 lines
311 B
Python
15 lines
311 B
Python
|
"""Backup"""
|
||
|
# pylint: disable=too-few-public-methods
|
||
|
import typing
|
||
|
import strawberry
|
||
|
from selfprivacy_api.graphql.common_types.backup_snapshot import SnapshotInfo
|
||
|
|
||
|
|
||
|
@strawberry.type
|
||
|
class Backup:
|
||
|
backend: str
|
||
|
|
||
|
@strawberry.field
|
||
|
def get_backups(self) -> typing.List[SnapshotInfo]:
|
||
|
return []
|