wip introduce property is_saved
This commit is contained in:
@@ -576,6 +576,13 @@ class Recording(BaseModel):
|
||||
RecordingStatusChoices.STOPPED,
|
||||
}
|
||||
|
||||
@property
|
||||
def is_saved(self) -> bool:
|
||||
"""Wip"""
|
||||
return self.status in {
|
||||
RecordingStatusChoices.SAVED,
|
||||
}
|
||||
|
||||
@property
|
||||
def key(self):
|
||||
"""Wip."""
|
||||
|
||||
Reference in New Issue
Block a user