sonar/api.py
def activate(args):
    """
    Activate a particular environment by name.

    Args:
        args (object): Holds attributes
            name (str): Name of the enviroment to activate
    """
    if args.name is not None:
        Env.activate(args)
    else:
        logger.error("Activating environment failed: no name specified")

    Activate a particular environment by name.

    Args:
        args (object): Holds attributes
            name (str): Name of the enviroment to activate
    
Activate a particular environment by name.
Activate a particular environment by name .
def activate(args):
    if args.name is not None:
        Env.activate(args)
    else:
        logger.error("Activating environment failed: no name specified")
def activate ( args ) : if args . name is not None : Env . activate ( args ) else : logger . error ( "Activating environment failed: no name specified" )
Activate a particular environment by name.
Activate a particular environment by name .
"""
    Activate a particular environment by name.

    Args:
        args (object): Holds attributes
            name (str): Name of the enviroment to activate
    """
args
Holds attributes
name (str): Name of the enviroment to activate
Holds attributes name ( str ) : Name of the enviroment to activate