Module ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse If BoolOpOr UnaryOpNot Call NameLoad NameLoad NameLoad CompareGt NameLoad Num CompareLt NameLoad Num body Raise Call NameLoad BinOpMod Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareEq AttributeLoad AttributeLoad NameLoad attr attr BinOpBitAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareEq AttributeLoad AttributeLoad NameLoad attr attr BinOpBitAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If BoolOpAnd Call AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad body Raise Call NameLoad Str If Call AttributeLoad NameLoad attr body If CompareIs NameLoad NameLoad body Assign NameStore ListLoad orelse If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Str orelse Assign NameStore SubscriptLoad Call NameLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore IfExp NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str NameLoad body AugAssignBitOr NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Return Call NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list NameLoad decorator_list
N/A validators ValidationError VALIDATORS InvalidArgument N/A ValidationError N/A __init__ N/A N/A self argument msg value N/A N/A ValidationError _UNDEFINED N/A N/A N/A self argument argument N/A N/A self msg msg N/A N/A self value value N/A N/A N/A N/A super ValidationError self __init__ N/A str self N/A to_s N/A N/A self N/A N/A N/A N/A N/A self value N/A self _UNDEFINED N/A N/A N/A Invalid value %s (%s) for argument %s: %s N/A N/A repr N/A self value N/A N/A N/A self value __class__ __name__ N/A N/A N/A self argument get_name N/A self msg N/A N/A self msg N/A N/A InputArgument N/A object N/A N/A 
    Represents a command line argument.
     N/A REQUIRED 1 N/A OPTIONAL 2 N/A IS_LIST 4 __init__ N/A N/A self name mode description default validator N/A None None None N/A N/A 
        Constructor

        :param name: The argument name
        :type name: str
        :param mode: The argument mode: REQUIRED or OPTIONAL
        :type mode: int or None
        :param description: A description text
        :type description: str
        :param default: The default value (for OPTIONAL mode only)
        :type default: mixed
        :param validator: A Validator instance or a callable
        :type validator: Validator or callable
         N/A N/A mode None N/A N/A mode N/A self OPTIONAL N/A N/A N/A N/A N/A isinstance mode int N/A mode 7 N/A mode 1 N/A N/A N/A Exception N/A Argument mode "%s" is not valid. mode N/A N/A self __name name N/A N/A self __mode mode N/A N/A self __description N/A description N/A N/A self __validator N/A N/A VALIDATORS get validator N/A N/A N/A self set_default default N/A get_name N/A N/A self N/A N/A N/A 
        Returns the argument name

        :return: The argument name
        :rtype: str
         N/A N/A self __name N/A is_required N/A N/A self N/A N/A N/A 
        Returns True if the argument is required.

        :return: True if parameter mode is REQUIRED, False otherwise
        :rtype: bool
         N/A N/A N/A N/A self __class__ REQUIRED N/A N/A N/A self __class__ REQUIRED N/A self __mode N/A is_list N/A N/A self N/A N/A N/A 
        Returns True if the argument can take multiple values

        :return: True if mode is IS_LIST, False otherwise
        :rtype: bool
         N/A N/A N/A N/A self __class__ IS_LIST N/A N/A N/A self __class__ IS_LIST N/A self __mode N/A set_default N/A N/A self default N/A None N/A N/A 
        Sets the default value.

        :param default: The default value
        :type default: mixed
         N/A N/A N/A N/A self is_required N/A default None N/A N/A N/A Exception Cannot set a default value except for InputArgument::OPTIONAL mode. N/A N/A N/A self is_list N/A N/A N/A default None N/A N/A default N/A N/A N/A N/A N/A isinstance default list N/A N/A N/A Exception A default value for an array argument must be an array. N/A N/A self __default default N/A get_default N/A N/A self N/A N/A N/A 
        Returns the default value.

        :return: The default value
        :rtype: mixed
         N/A N/A self __default N/A get_description N/A N/A self N/A N/A N/A 
        Returns the description text.

        :return: The description text
        :rtype: str
         N/A N/A self __description N/A get_validator N/A N/A self N/A N/A N/A 
        Returns the validator

        :return: The validator
        :rtype: Validator or callable
         N/A N/A self __validator N/A set_validator N/A N/A self validator N/A N/A N/A 
        Sets the valdidator.

        :param validator: A Validator instance
        :type validator: Validator
         N/A N/A self __validator N/A N/A VALIDATORS get validator N/A self N/A from_dict N/A N/A cls argument_dict N/A N/A N/A 
        Created a InputArgument instance from a dictionary.

        :param argument_dict: The dictionary defining the argument
        :type argument_dict: dict

        :return: The created InputArgument instance
        :rtype: InputArgument
         N/A N/A N/A len argument_dict 1 N/A N/A name N/A argument_dict N/A name N/A N/A name N/A N/A list N/A N/A argument_dict keys N/A 0 N/A argument_dict N/A argument_dict N/A name N/A description N/A N/A argument_dict get description N/A default N/A N/A argument_dict get default N/A required N/A N/A argument_dict get required False N/A mode N/A required N/A cls REQUIRED N/A cls OPTIONAL N/A N/A N/A argument_dict get list False N/A N/A mode N/A cls IS_LIST N/A validator N/A N/A argument_dict get validator N/A N/A cls name mode description default validator validator N/A classmethod N/A