storage.py
def create_container(c, container_name):
    """Creates container based on the parameters found in the .env file
    """
    logger = logging.getLogger(__name__)
    env_values = load_config()
    account_name = env_values.get("ACCOUNT_NAME")
    account_key = env_values.get("ACCOUNT_KEY")
    if _container_exists(c, container_name, account_name, account_key):
        logger.info(f"Container {container_name} already exists")
        return None

    cmd = (
        f"az storage container create"
        f" --account-name {account_name}"
        f" --account-key {account_key}"
        f" --name {container_name}"
    )
    c.run(cmd)
Creates container based on the parameters found in the .env file
    
Creates container based on the parameters found in the .env file
Creates container based on the parameters found in the . env file
def create_container(c, container_name):
    logger = logging.getLogger(__name__)
    env_values = load_config()
    account_name = env_values.get("ACCOUNT_NAME")
    account_key = env_values.get("ACCOUNT_KEY")
    if _container_exists(c, container_name, account_name, account_key):
        logger.info(f"Container {container_name} already exists")
        return None
    cmd = (
        f"az storage container create"
        f" --account-name {account_name}"
        f" --account-key {account_key}"
        f" --name {container_name}"
    )
    c.run(cmd)
def create_container ( c , container_name ) : logger = logging . getLogger ( __name__ ) env_values = load_config ( ) account_name = env_values . get ( "ACCOUNT_NAME" ) account_key = env_values . get ( "ACCOUNT_KEY" ) if _container_exists ( c , container_name , account_name , account_key ) : logger . info ( f"Container {container_name} already exists" ) return None cmd = ( f"az storage container create" f" --account-name {account_name}" f" --account-key {account_key}" f" --name {container_name}" ) c . run ( cmd )
Creates container based on the parameters found in the .env file
Creates container based on the parameters found in the . env file
"""Creates container based on the parameters found in the .env file
    """
c
container_name