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
        """
        try:
            sonar.database.Env.activate(args.name)
        except SonarException as exc:
            logger.error("Activating environment failed: %s", exc.exit_str)
            sys.exit(exc.exit_code)

        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):
        try:
            sonar.database.Env.activate(args.name)
        except SonarException as exc:
            logger.error("Activating environment failed: %s", exc.exit_str)
            sys.exit(exc.exit_code)
def activate ( args ) : try : sonar . database . Env . activate ( args . name ) except SonarException as exc : logger . error ( "Activating environment failed: %s" , exc . exit_str ) sys . exit ( exc . exit_code )
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