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:
ActionArguments 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:
ActionArguments 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:
ActionSet all options from -b option. This is kept for backward compatibility