refactor(backups): make lookup_provider not public

pull/35/head
Houkime 2023-06-26 18:11:11 +00:00
parent e159d2f1a7
commit 81d1762518
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ class Backups:
@staticmethod
def provider():
return Backups.lookup_provider()
return Backups._lookup_provider()
@staticmethod
def set_provider(
@ -62,7 +62,7 @@ class Backups:
@staticmethod
def lookup_provider() -> AbstractBackupProvider:
def _lookup_provider() -> AbstractBackupProvider:
redis_provider = Backups.load_provider_redis()
if redis_provider is not None:
return redis_provider