argparsing#

argparse.Action subclasses for canary_hpc batch options

class CanaryHPCSchedulerArgs(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)#

Bases: Action

Arguments to pass directly to scheduler

static defaults() list[str]#
static parse(arg: str) list[str]#
class CanaryHPCBatchExec(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)#

Bases: Action

Arguments to determine how to partition test jobs

static parse(value: str) dict[str, str]#
class CanaryHPCBatchSpec(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)#

Bases: Action

static defaults() dict[str, Any]#
static parse(value: str) dict[str, Any]#
static helppage() str#
static validate_and_set_defaults(spec: dict) None#
class CanaryHPCResourceSetter(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)#

Bases: Action

Set all options from -b option. This is kept for backward compatibility