Module TeachMyAgent.run_utils.abstract_args_handler
Expand source code
class AbstractArgsHandler(object):
'''
Base arguments handler.
'''
@staticmethod
def set_parser_arguments(parser):
'''
Add argument options to parser.
'''
pass
@staticmethod
def get_object_from_arguments(args):
'''
Parse argurments.
'''
pass
Classes
class AbstractArgsHandler
-
Base arguments handler.
Expand source code
class AbstractArgsHandler(object): ''' Base arguments handler. ''' @staticmethod def set_parser_arguments(parser): ''' Add argument options to parser. ''' pass @staticmethod def get_object_from_arguments(args): ''' Parse argurments. ''' pass
Subclasses
Static methods
def get_object_from_arguments(args)
-
Parse argurments.
Expand source code
@staticmethod def get_object_from_arguments(args): ''' Parse argurments. ''' pass
def set_parser_arguments(parser)
-
Add argument options to parser.
Expand source code
@staticmethod def set_parser_arguments(parser): ''' Add argument options to parser. ''' pass