Shortcut property for getting project name
This commit is contained in:
parent
85e9efb769
commit
26ea7a2a00
|
@ -319,6 +319,11 @@ class RunningContainers:
|
||||||
if container.id != self.this_container.id:
|
if container.id != self.this_container.id:
|
||||||
self.containers.append(container)
|
self.containers.append(container)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def project_name(self) -> str:
|
||||||
|
"""str: Name of the compose project"""
|
||||||
|
return self.this_container.project_name
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def backup_process_running(self) -> bool:
|
def backup_process_running(self) -> bool:
|
||||||
"""Is the backup process container running?"""
|
"""Is the backup process container running?"""
|
||||||
|
|
Loading…
Reference in New Issue