mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-24 04:51:27 +00:00
refactor(backup): snapshot model
This commit is contained in:
parent
6376503793
commit
6989dd0f7c
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