mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-25 21:41:27 +00:00
refactor(backup): snapshot model
This commit is contained in:
parent
4ca2e62b5c
commit
83b24f5fcd
0
selfprivacy_api/models/backup/__init__.py
Normal file
0
selfprivacy_api/models/backup/__init__.py
Normal file
6
selfprivacy_api/models/backup/snapshot.py
Normal file
6
selfprivacy_api/models/backup/snapshot.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from pydantic import BaseModel
|
||||
|
||||
class Snapshot(BaseModel):
|
||||
id: str
|
||||
service_name: str
|
||||
created_at: datetime.datetime
|
Loading…
Reference in a new issue