tasks.py
def select_subscription(c, sub_id=env_values.get("SUBSCRIPTION_ID", None)):
    """Select Azure subscription to use
    
    Note:
        If sub_id isn't provided or found in env values interactive prompt is created asking for sub id selection
        The selection is then recorded in the env file

    Args:
        sub_id (string, optional): [description]. Defaults to env_values.get("SUBSCRIPTION_ID", None).
    """
    env_file = find_dotenv(raise_error_if_not_found=True)
    if sub_id is None or sub_id == "":
        sub_id = _prompt_sub_id_selection(c)
        set_key(env_file, "SUBSCRIPTION_ID", sub_id)
    c.run(f"az account set -s {sub_id}", pty=True)
Select Azure subscription to use
    
    Note:
        If sub_id isn't provided or found in env values interactive prompt is created asking for sub id selection
        The selection is then recorded in the env file

    Args:
        sub_id (string, optional): [description]. Defaults to env_values.get("SUBSCRIPTION_ID", None).
    
Select Azure subscription to use
Note:
If sub_id isn't provided or found in env values interactive prompt is created asking for sub id selection
The selection is then recorded in the env file
Select Azure subscription to use Note : If sub_id isn ' t provided or found in env values interactive prompt is created asking for sub id selection The selection is then recorded in the env file
def select_subscription(c, sub_id=env_values.get("SUBSCRIPTION_ID", None)):
    env_file = find_dotenv(raise_error_if_not_found=True)
    if sub_id is None or sub_id == "":
        sub_id = _prompt_sub_id_selection(c)
        set_key(env_file, "SUBSCRIPTION_ID", sub_id)
    c.run(f"az account set -s {sub_id}", pty=True)
def select_subscription ( c , sub_id = env_values . get ( "SUBSCRIPTION_ID" , None ) ) : env_file = find_dotenv ( raise_error_if_not_found = True ) if sub_id is None or sub_id == "" : sub_id = _prompt_sub_id_selection ( c ) set_key ( env_file , "SUBSCRIPTION_ID" , sub_id ) c . run ( f"az account set -s {sub_id}" , pty = True )
Select Azure subscription to use
Note:
If sub_id isn't provided or found in env values interactive prompt is created asking for sub id selection
The selection is then recorded in the env file
Select Azure subscription to use Note : If sub_id isn ' t provided or found in env values interactive prompt is created asking for sub id selection The selection is then recorded in the env file
"""Select Azure subscription to use
    
    Note:
        If sub_id isn't provided or found in env values interactive prompt is created asking for sub id selection
        The selection is then recorded in the env file

    Args:
        sub_id (string, optional): [description]. Defaults to env_values.get("SUBSCRIPTION_ID", None).
    """
c
sub_id
[description]. Defaults to env_values.get("SUBSCRIPTION_ID", None).
[ description ] . Defaults to env_values . get ( " SUBSCRIPTION_ID " None ) .
env_values.get("SUBSCRIPTION_ID", None)