utility file for easy init of storage handels
This commit is contained in:
parent
290deaaf7c
commit
8ea5eb6e00
7
pyinfra/storage/storages.py
Normal file
7
pyinfra/storage/storages.py
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
from pyinfra.storage.adapters.azure import AzureStorageAdapter
|
||||||
|
from pyinfra.storage.clients.azure import get_azure_client
|
||||||
|
from pyinfra.storage.storage import Storage
|
||||||
|
|
||||||
|
|
||||||
|
def get_azure_storage(connection_string=None):
|
||||||
|
return Storage(AzureStorageAdapter(get_azure_client(connection_string)))
|
||||||
Loading…
x
Reference in New Issue
Block a user