TODO note about making resistry in the future

This commit is contained in:
Einar Forselv 2019-12-03 05:38:44 +01:00
parent bd97e903e3
commit 34534d0d35
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ class Container:
@property
def instance(self) -> 'Container':
"""Container: Get a service specific subclass instance"""
# TODO: Do this smarter in the future (simple registry)
if self.database_backup_enabled:
from restic_volume_backup import containers_db
if self.mariadb_backup_enabled: