mirror of
https://gitlab.com/KKlochko/tui-rsync.git
synced 2026-08-12 17:57:43 +00:00
(Added) update labels option for groups.
This commit is contained in:
@@ -146,6 +146,9 @@ class Group(BaseModel):
|
||||
"""
|
||||
return (group_src.source for group_src in self.sources)
|
||||
|
||||
def remove_sources(self):
|
||||
GroupSource.delete().where(GroupSource.group == self.label).execute()
|
||||
|
||||
def __str__(self) -> str:
|
||||
return f"{self.label}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user