sonar/api.py
def add(args):
        """
        Add a new environment to the database.

        Args:
            args (object): Holds attributes
                cad (str): CAD tool of the form "name:version"
                sim (str): Simulation tool of the form "name:version"
                hls (str): HLS tool of the form "name:version"
                name (str): Name of the environment
                board (str): Name of the board
                repo (str): Name of the repository
        """
        cad_tool = args.cad.split(":")
        sim_tool = args.sim.split(":")
        hls_tool = args.hls.split(":")
        sonar.database.Env.add(
            args.name, cad_tool, hls_tool, sim_tool, args.board, args.repo
        )

        Add a new environment to the database.

        Args:
            args (object): Holds attributes
                cad (str): CAD tool of the form "name:version"
                sim (str): Simulation tool of the form "name:version"
                hls (str): HLS tool of the form "name:version"
                name (str): Name of the environment
                board (str): Name of the board
                repo (str): Name of the repository
        
Add a new environment to the database.
Add a new environment to the database .
def add(args):
        cad_tool = args.cad.split(":")
        sim_tool = args.sim.split(":")
        hls_tool = args.hls.split(":")
        sonar.database.Env.add(
            args.name, cad_tool, hls_tool, sim_tool, args.board, args.repo
        )
def add ( args ) : cad_tool = args . cad . split ( ":" ) sim_tool = args . sim . split ( ":" ) hls_tool = args . hls . split ( ":" ) sonar . database . Env . add ( args . name , cad_tool , hls_tool , sim_tool , args . board , args . repo )
Add a new environment to the database.
Add a new environment to the database .
"""
        Add a new environment to the database.

        Args:
            args (object): Holds attributes
                cad (str): CAD tool of the form "name:version"
                sim (str): Simulation tool of the form "name:version"
                hls (str): HLS tool of the form "name:version"
                name (str): Name of the environment
                board (str): Name of the board
                repo (str): Name of the repository
        """
args
Holds attributes
cad (str): CAD tool of the form "name:version"
sim (str): Simulation tool of the form "name:version"
hls (str): HLS tool of the form "name:version"
name (str): Name of the environment
board (str): Name of the board
repo (str): Name of the repository
Holds attributes cad ( str ) : CAD tool of the form " name : version " sim ( str ) : Simulation tool of the form " name : version " hls ( str ) : HLS tool of the form " name : version " name ( str ) : Name of the environment board ( str ) : Name of the board repo ( str ) : Name of the repository