deephyper.core.parser.add_arguments_from_signature
deephyper.core.parser.add_arguments_from_signature#
-
deephyper.core.parser.
add_arguments_from_signature
(parser, obj, prefix='', exclude=[])[source]# Add arguments to parser base on obj default keyword parameters.
- Parameters
parser (ArgumentParser)) – the argument parser to which we want to add arguments.
obj (type) – the class from which we want to extract default parameters for the constructor.