asv.commands.publish¶
Classes¶
Helper class that provides a standard way to create an ABC using |
Functions¶
|
Check benchmark params and param_keys items, so that the javascript can |
Module Contents¶
- asv.commands.publish.check_benchmark_params(name, benchmark)[source]¶
Check benchmark params and param_keys items, so that the javascript can assume this data is valid. It is checked in benchmark.py already when it is generated, but best to double check in any case.
- class asv.commands.publish.Publish[source]¶
Helper class that provides a standard way to create an ABC using inheritance.
- classmethod setup_arguments(subparsers)[source]¶
Method to add the parser and arguments of the command.
In most cases, subparser.add_parser(cmd_name) should be called to add the command (where cmd_name is for example run or continuous). And then call add_argument to the returned parser, to add the command arguments.