Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Assign NameStore NameLoad Assign NameStore TupleLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore TupleLoad NameLoad NameLoad ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Str attr Call NameLoad NameLoad Call AttributeLoad Str attr GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler body Assign NameStore Str Raise Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad NameLoad NameLoad decorator_list Return NameLoad decorator_list Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If BoolOpOr UnaryOpNot Call NameLoad NameLoad BinOpAdd NameLoad TupleLoad NameLoad NameLoad CompareLtE NameLoad Num body Assign NameStore Str Raise Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore CompareEq Call NameLoad Call AttributeLoad NameLoad attr Str Num handlers ExceptHandler body Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore Str Raise Call NameLoad NameLoad NameLoad NameLoad decorator_list Assign NameStore Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIn Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIn Call NameLoad NameLoad BinOpAdd NameLoad TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareEq Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BoolOpOr Call NameLoad NameLoad NameLoad BoolOpAnd Call NameLoad NameLoad Str Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIs NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str kwarg body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad orelse If BoolOpOr CompareEq NameLoad NameLoad CompareEq NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Raise NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad Str attr ListComp Call AttributeLoad Str attr NameLoad comprehension NameStore NameLoad Raise Call NameLoad Call AttributeLoad Str attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad For NameStore NameLoad body Delete SubscriptDel NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad If BoolOpAnd NameLoad NameLoad body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad For NameStore NameLoad body TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad If CompareGt Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad body Raise Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad Break handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad keyword Call NameLoad NameLoad keyword NameLoad keyword NameLoad orelse If Call NameLoad NameLoad NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise NameLoad orelse TryExcept body Assign NameStore Call NameLoad NameLoad BinOpAdd Str NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad If UnaryOpNot Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad BinOpAdd BinOpAdd NameLoad Str NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIsNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body If BoolOpAnd CompareNotIn Str NameLoad CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad orelse For TupleStore NameStore NameStore Call NameLoad NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr Str Dict Str SubscriptLoad NameLoad Index NameLoad NameLoad Call AttributeLoad Str attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad body If BoolOpAnd AttributeLoad NameLoad attr CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad NameLoad orelse If BoolOpAnd AttributeLoad NameLoad attr CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Dict Str NameLoad NameLoad Call AttributeLoad Str attr NameLoad NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If BoolOpAnd CompareNotIn NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd Call NameLoad NameLoad NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Dict Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Return If Call NameLoad NameLoad NameLoad body If BoolOpOr NameLoad CompareNotIn Str NameLoad body Return orelse If CompareNotEq Call NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad Assign NameStore SubscriptLoad NameLoad Slice Call NameLoad SubscriptLoad NameLoad Index Str If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str Dict Str NameLoad Dict Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Return If BoolOpAnd Call NameLoad NameLoad NameLoad NameLoad body Return Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore IfExp CompareIn Str NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr ListLoad If CompareIs NameLoad NameLoad body Assign NameStore Dict If CompareIs NameLoad NameLoad body Assign NameStore Dict For NameStore NameLoad body If BoolOpAnd CompareNotIn NameLoad NameLoad UnaryOpNot Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore NameLoad body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body If CompareIsNot Call AttributeLoad NameLoad attr NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad orelse If Call NameLoad NameLoad NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd CompareIn NameLoad NameLoad CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIsNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body If BoolOpOr BoolOpAnd CompareIn Call NameLoad NameLoad TupleLoad NameLoad NameLoad BoolOpAnd UnaryOpNot NameLoad CompareLt NameLoad NameLoad BoolOpAnd NameLoad CompareLtE NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIsNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body If BoolOpOr BoolOpAnd CompareIn Call NameLoad NameLoad TupleLoad NameLoad NameLoad BoolOpAnd UnaryOpNot NameLoad CompareGt NameLoad NameLoad BoolOpAnd NameLoad CompareGtE NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad CompareGt Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad CompareLt Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If BoolOpAnd NameLoad CompareIsNot NameLoad NameLoad body TryExcept body Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body If AttributeLoad NameLoad attr body Raise orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd Call NameLoad NameLoad NameLoad BoolOpOr BoolOpAnd Call NameLoad NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad BoolOpAnd UnaryOpNot Call NameLoad NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If BoolOpAnd Call NameLoad NameLoad NameLoad UnaryOpNot NameLoad body Return Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Return Assign NameStore Call NameLoad Assign NameStore ListLoad For NameStore NameLoad body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore TupleLoad NameLoad AttributeLoad NameLoad attr orelse Assign TupleStore NameStore NameStore TupleLoad NameLoad AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad orelse Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body If Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad If CompareNotIn NameLoad NameLoad body If UnaryOpNot BoolOpAnd CompareEq NameLoad Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad Call NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad Call NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return If CompareEq NameLoad Num body Raise Call NameLoad Call AttributeLoad Str attr NameLoad If CompareNotEq BinOpMod NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Dict Str NameLoad NameLoad Str If AttributeLoad NameLoad attr body Raise Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad Call NameLoad NameLoad attr Assign NameStore BoolOpAnd AttributeLoad NameLoad attr CompareNotIn Str NameLoad Assign NameStore BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr CompareNotIn Str NameLoad If BoolOpOr NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr orelse Assign NameStore NameLoad If BoolOpAnd AttributeLoad NameLoad attr CompareIn Str NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr keyword Dict Str SubscriptLoad NameLoad Index Str keyword Str keyword NameLoad keyword IfExp CompareIn Str NameLoad SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad NameLoad If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index Str For NameStore NameLoad body Assign NameStore BinOpAdd Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A re N/A sys N/A copy N/A socket datetime datetime decimal Decimal collections Mapping Container N/A N/A N/A N/A sys version_info N/A 0 3 N/A N/A _str_type str N/A _int_types N/A int N/A N/A _str_type basestring N/A _int_types N/A int long SchemaError N/A ValueError N/A N/A  errors encountered in processing a schema (subclass of :class:`ValueError`)  N/A ValidationError N/A ValueError N/A N/A  validation errors encountered during validation (subclass of :class:`ValueError`)  N/A FieldValidationError N/A ValidationError N/A N/A 
    Validation error that refers to a specific field and has `fieldname` and `value` attributes.
     __init__ N/A N/A self message fieldname value path N/A N/A N/A message N/A N/A Value {!r} for field '{}' {} format value path message N/A N/A N/A N/A super FieldValidationError self __init__ message N/A N/A self fieldname fieldname N/A N/A self value value N/A N/A self path path N/A N/A DependencyValidationError N/A ValidationError N/A N/A 
    Validation error that refers to a missing dependency
     __init__ N/A N/A self message N/A N/A N/A N/A N/A N/A super DependencyValidationError self __init__ message N/A N/A RequiredFieldValidationError N/A ValidationError N/A N/A 
    Validation error that refers to a missing field
     __init__ N/A N/A self message N/A N/A N/A N/A N/A N/A super RequiredFieldValidationError self __init__ message N/A N/A MultipleValidationError N/A ValidationError N/A __init__ N/A N/A self errors N/A N/A N/A msg N/A N/A {} validation errors:
{} format N/A len errors N/A N/A join N/A N/A str e N/A e errors N/A N/A N/A N/A super MultipleValidationError self __init__ msg N/A N/A self errors errors N/A N/A _generate_datetime_validator N/A N/A format_option dateformat_string N/A N/A validate_format_datetime N/A N/A validator fieldname value format_option N/A N/A N/A N/A N/A N/A N/A datetime strptime value dateformat_string N/A N/A N/A N/A msg is not in '{format_option}' format N/A N/A FieldValidationError N/A N/A msg format format_option format_option fieldname value N/A N/A validate_format_datetime N/A N/A validate_format_date_time N/A _generate_datetime_validator date-time %Y-%m-%dT%H:%M:%SZ N/A validate_format_date N/A _generate_datetime_validator date %Y-%m-%d N/A validate_format_time N/A _generate_datetime_validator time %H:%M:%S validate_format_utc_millisec N/A N/A validator fieldname value format_option N/A N/A N/A N/A N/A N/A isinstance value N/A _int_types N/A float Decimal N/A value 0 N/A N/A msg is not a positive number N/A N/A FieldValidationError msg fieldname value N/A validate_format_ip_address N/A N/A validator fieldname value format_option N/A N/A N/A N/A N/A N/A N/A socket inet_aton value N/A ip N/A N/A len N/A N/A value split . 4 N/A N/A N/A N/A ip False N/A N/A ip N/A N/A msg is not a ip-address N/A N/A FieldValidationError msg fieldname value N/A N/A DEFAULT_FORMAT_VALIDATORS N/A date-time date time utc-millisec ip-address validate_format_date_time validate_format_date validate_format_time validate_format_utc_millisec validate_format_ip_address SchemaValidator N/A object N/A N/A 
    Validator largely based upon the JSON Schema proposal but useful for
    validating arbitrary python data structures.

    :param format_validators: optional dictionary of custom format validators
    :param required_by_default: defaults to True, set to False to make
        ``required`` schema attribute False by default.
    :param blank_by_default: defaults to False, set to True to make ``blank``
        schema attribute True by default.
    :param disallow_unknown_properties: defaults to False, set to True to
        disallow properties not listed in the schema definition
    :param apply_default_to_data: defaults to False, set to True to modify the
        data in case the schema definition includes a "default" property
    :param fail_fast: defaults to True, set to False if you prefer to get
        all validation errors back instead of only the first one
    :param remove_unknown_properties: defaults to False, set to True to
        filter out properties not listed in the schema definition. Only applies
        when disallow_unknown_properties is False.
     __init__ N/A N/A self format_validators required_by_default blank_by_default disallow_unknown_properties apply_default_to_data fail_fast remove_unknown_properties N/A None True False False False True False N/A N/A N/A self _format_validators N/A N/A N/A self _errors N/A N/A N/A key value N/A N/A DEFAULT_FORMAT_VALIDATORS items N/A N/A N/A N/A self register_format_validator key value N/A format_validators N/A N/A N/A key value N/A N/A format_validators items N/A N/A N/A N/A self register_format_validator key value N/A N/A self required_by_default required_by_default N/A N/A self blank_by_default blank_by_default N/A N/A self disallow_unknown_properties disallow_unknown_properties N/A N/A self apply_default_to_data apply_default_to_data N/A N/A self fail_fast fail_fast N/A N/A self remove_unknown_properties remove_unknown_properties N/A register_format_validator N/A N/A self format_name format_validator_fun N/A N/A N/A N/A N/A self _format_validators N/A format_name format_validator_fun N/A validate_type_string N/A N/A self val N/A N/A N/A N/A isinstance val _str_type N/A validate_type_integer N/A N/A self val N/A N/A N/A N/A N/A type val _int_types N/A validate_type_number N/A N/A self val N/A N/A N/A N/A N/A type val N/A _int_types N/A float Decimal N/A validate_type_boolean N/A N/A self val N/A N/A N/A N/A N/A type val bool N/A validate_type_object N/A N/A self val N/A N/A N/A N/A N/A isinstance val Mapping N/A N/A hasattr val keys N/A hasattr val items N/A validate_type_array N/A N/A self val N/A N/A N/A N/A isinstance val N/A list tuple N/A validate_type_null N/A N/A self val N/A N/A N/A N/A val None N/A validate_type_any N/A N/A self val N/A N/A N/A True N/A _error N/A N/A self desc value fieldname exctype path N/A FieldValidationError params N/A N/A N/A params N/A value value N/A N/A params N/A fieldname fieldname N/A message N/A N/A desc format params N/A N/A exctype FieldValidationError N/A N/A err N/A FieldValidationError message fieldname value path N/A N/A N/A N/A exctype DependencyValidationError N/A exctype RequiredFieldValidationError N/A N/A err N/A exctype message N/A N/A err fieldname fieldname N/A N/A err path path N/A N/A self fail_fast N/A N/A err N/A N/A N/A N/A N/A self _errors append err N/A _validate_unknown_properties N/A N/A self schema data fieldname N/A N/A N/A Raise a SchemaError when unknown fields are found. N/A schema_properties N/A set schema N/A data_properties N/A set data N/A delta N/A data_properties schema_properties N/A delta N/A N/A unknowns N/A N/A ,  join N/A N/A N/A "{}" format x N/A x delta N/A N/A SchemaError N/A N/A Unknown properties for field "{fieldname}": {unknowns} format fieldname fieldname unknowns unknowns N/A _remove_unknown_properties N/A N/A self schema data fieldname N/A N/A N/A Remove the unknown fields from the data. N/A schema_properties N/A set schema N/A data_properties N/A set data N/A unknown_fields N/A data_properties schema_properties N/A unknown_field unknown_fields N/A N/A N/A data N/A unknown_field N/A validate_type N/A N/A self x fieldname schema path fieldtype N/A None N/A N/A  Validates that the fieldtype specified is correct for the given data  N/A fieldexists True N/A N/A N/A value N/A x N/A fieldname N/A N/A N/A KeyError N/A N/A fieldexists False N/A value None N/A N/A fieldtype fieldexists N/A N/A N/A isinstance fieldtype N/A list tuple N/A N/A datavalid False N/A errorlist N/A N/A eachtype fieldtype N/A N/A N/A N/A errors N/A N/A self _errors N/A N/A N/A N/A self validate_type x fieldname eachtype path eachtype N/A N/A N/A len N/A self _errors N/A len errors N/A N/A N/A N/A N/A self _errors pop N/A datavalid True N/A N/A N/A N/A ValidationError N/A err N/A N/A N/A N/A errorlist append err N/A N/A datavalid N/A N/A N/A N/A self _error doesn't match any of {numsubtypes} subtypes in {fieldtype}; errorlist = {errorlist!r} value fieldname path path numsubtypes N/A len fieldtype fieldtype fieldtype errorlist errorlist N/A N/A N/A isinstance fieldtype dict N/A N/A N/A N/A N/A N/A self __validate fieldname x fieldtype path N/A N/A N/A ValueError N/A e N/A N/A e N/A N/A N/A N/A type_checker N/A getattr self N/A validate_type_ fieldtype N/A N/A N/A AttributeError N/A N/A N/A SchemaError N/A N/A Field type '{}' is not supported. format fieldtype N/A N/A N/A type_checker value N/A N/A N/A N/A self _error is not of type {fieldtype} value fieldname path path fieldtype fieldtype N/A validate_properties N/A N/A self x fieldname schema path properties N/A None N/A N/A  Validates properties of a JSON object by processing the object's schema recursively  N/A value N/A N/A x get fieldname N/A N/A value None N/A N/A N/A isinstance value dict N/A N/A N/A isinstance properties dict N/A N/A N/A self disallow_unknown_properties N/A N/A N/A N/A self _validate_unknown_properties properties value fieldname N/A N/A N/A self remove_unknown_properties N/A N/A N/A N/A self _remove_unknown_properties properties value fieldname N/A property properties N/A N/A N/A N/A self __validate property value N/A N/A properties get property N/A N/A path . property N/A N/A N/A SchemaError N/A N/A Properties definition of field '{}' is not an object format fieldname N/A validate_items N/A N/A self x fieldname schema path items N/A None N/A N/A 
        Validates that all items in the list for the given field match the given schema
         N/A N/A N/A N/A x get fieldname None N/A N/A value N/A N/A x get fieldname N/A N/A isinstance value N/A list tuple N/A N/A N/A isinstance items N/A list tuple N/A N/A N/A N/A additionalItems schema N/A N/A len items N/A len value N/A N/A N/A N/A self _error is not of same length as schema list value fieldname path path N/A N/A N/A index item N/A enumerate items N/A N/A N/A N/A N/A N/A self __validate _data N/A _data N/A value N/A index item N/A N/A {}[{}] format path index N/A N/A N/A FieldValidationError N/A e N/A N/A N/A N/A type e N/A Failed to validate field '%s' list schema: %s N/A fieldname e fieldname N/A e value N/A N/A N/A isinstance items dict N/A N/A N/A index item N/A enumerate value N/A N/A N/A N/A self disallow_unknown_properties N/A properties items N/A N/A N/A N/A self _validate_unknown_properties N/A items N/A properties item fieldname N/A N/A N/A N/A self remove_unknown_properties N/A properties items N/A N/A N/A N/A self _remove_unknown_properties N/A items N/A properties item fieldname N/A N/A N/A self __validate [list item] N/A [list item] item items N/A N/A {}[{}] format path index N/A N/A N/A SchemaError N/A N/A Properties definition of field '{}' is not a list or an object format fieldname N/A validate_required N/A N/A self x fieldname schema path required N/A N/A N/A  Validates that the given field is present if required is True  N/A N/A N/A fieldname x required N/A N/A N/A N/A self _error Required field '{fieldname}' is missing None fieldname path path exctype RequiredFieldValidationError N/A validate_blank N/A N/A self x fieldname schema path blank N/A False N/A N/A  Validates that the given field is not blank if blank=False  N/A value N/A N/A x get fieldname N/A N/A N/A isinstance value _str_type N/A blank N/A value N/A N/A N/A N/A self _error cannot be blank' value fieldname path path N/A validate_patternProperties N/A N/A self x fieldname schema path patternproperties N/A None N/A N/A N/A patternproperties None N/A N/A patternproperties N/A N/A value_obj N/A N/A x get fieldname N/A N/A N/A pattern schema N/A N/A patternproperties items N/A N/A N/A key value N/A N/A value_obj items N/A N/A N/A N/A re match pattern key N/A N/A N/A N/A self __validate _data N/A _data value schema path N/A validate_additionalItems N/A N/A self x fieldname schema path additionalItems N/A False N/A N/A value N/A N/A x get fieldname N/A N/A N/A isinstance value N/A list tuple N/A N/A N/A N/A isinstance additionalItems bool N/A N/A N/A additionalItems N/A items schema N/A N/A N/A N/A N/A N/A len value N/A len N/A schema N/A items N/A N/A N/A N/A self _error is not of same length as schema list value fieldname path path N/A remaining N/A value N/A N/A len N/A schema N/A items N/A N/A N/A len remaining 0 N/A N/A N/A N/A self __validate _data N/A _data remaining N/A items additionalItems path N/A validate_additionalProperties N/A N/A self x fieldname schema path additionalProperties N/A None N/A N/A 
        Validates additional properties of a JSON object that were not
        specifically defined by the properties property
         N/A value N/A N/A x get fieldname N/A N/A N/A isinstance value dict N/A N/A N/A N/A N/A isinstance additionalProperties bool additionalProperties N/A N/A N/A value N/A N/A x get fieldname N/A N/A isinstance additionalProperties N/A dict bool N/A N/A properties N/A N/A schema get properties N/A patterns N/A N/A patternProperties schema N/A N/A N/A schema N/A patternProperties keys N/A N/A N/A properties None N/A N/A properties N/A N/A N/A value None N/A N/A value N/A N/A eachProperty value N/A N/A N/A N/A eachProperty properties N/A N/A any N/A N/A N/A re match p eachProperty N/A p patterns N/A N/A N/A additionalProperties False N/A N/A N/A N/A self _error contains additional property '{prop}' not defined by 'properties' or 'patternProperties' and additionalProperties  is False value fieldname prop eachProperty path path N/A N/A N/A self __validate eachProperty value additionalProperties path N/A N/A N/A SchemaError N/A N/A additionalProperties schema definition for field '{}' is not an object format fieldname N/A validate_dependencies N/A N/A self x fieldname schema path dependencies N/A None N/A N/A N/A N/A N/A x get fieldname None N/A N/A N/A isinstance dependencies _str_type N/A N/A dependencies N/A dependencies N/A N/A isinstance dependencies N/A list tuple N/A N/A dependency dependencies N/A N/A N/A dependency x N/A N/A N/A N/A self _error Field '{dependency}' is required by field '{fieldname}' None fieldname dependency dependency path path exctype DependencyValidationError N/A N/A N/A isinstance dependencies dict N/A N/A N/A k v N/A N/A dependencies items N/A N/A N/A N/A k x N/A v x N/A N/A N/A N/A self _error Field '{k}' is required by field '{v}' None fieldname k k v v exctype DependencyValidationError path path N/A N/A N/A SchemaError 'dependencies' must be a string, list of strings, or dict N/A validate_minimum N/A N/A self x fieldname schema path minimum N/A None N/A N/A  Validates that the field is longer than or equal to the minimum length if specified  N/A exclusive N/A N/A schema get exclusiveMinimum False N/A N/A N/A N/A x get fieldname None N/A N/A value N/A N/A x get fieldname N/A N/A value None N/A N/A N/A N/A N/A N/A type value N/A int float N/A N/A exclusive N/A value minimum N/A exclusive N/A value minimum N/A N/A N/A N/A self _error is less than minimum value: {minimum} value fieldname minimum minimum path path N/A validate_maximum N/A N/A self x fieldname schema path maximum N/A None N/A N/A 
        Validates that the field is shorter than or equal to the maximum length if specified.
         N/A exclusive N/A N/A schema get exclusiveMaximum False N/A N/A N/A N/A x get fieldname None N/A N/A value N/A N/A x get fieldname N/A N/A value None N/A N/A N/A N/A N/A N/A type value N/A int float N/A N/A exclusive N/A value maximum N/A exclusive N/A value maximum N/A N/A N/A N/A self _error is greater than maximum value: {maximum} value fieldname maximum maximum path path N/A validate_maxLength N/A N/A self x fieldname schema path length N/A None N/A N/A 
        Validates that the value of the given field is shorter than or equal
        to the specified length
         N/A value N/A N/A x get fieldname N/A N/A N/A isinstance value N/A _str_type list tuple N/A N/A len value length N/A N/A N/A N/A self _error must have length less than or equal to {length} value fieldname length length path path N/A validate_minLength N/A N/A self x fieldname schema path length N/A None N/A N/A 
        Validates that the value of the given field is longer than or equal to the specified length
         N/A value N/A N/A x get fieldname N/A N/A N/A isinstance value N/A _str_type list tuple N/A N/A len value length N/A N/A N/A N/A self _error must have length greater than or equal to {length} value fieldname length length path path N/A N/A validate_minItems validate_minLength N/A validate_maxItems validate_maxLength validate_format N/A N/A self x fieldname schema path format_option N/A None N/A N/A 
        Validates the format of primitive data types
         N/A value N/A N/A x get fieldname None N/A format_validator N/A N/A N/A self _format_validators get format_option None N/A N/A format_validator N/A value None N/A N/A N/A N/A N/A format_validator self fieldname value format_option N/A N/A N/A FieldValidationError N/A fve N/A N/A N/A self fail_fast N/A N/A N/A N/A N/A N/A N/A self _errors append fve N/A validate_pattern N/A N/A self x fieldname schema path pattern N/A None N/A N/A 
        Validates that the given field, if a string, matches the given regular expression.
         N/A value N/A N/A x get fieldname N/A N/A N/A isinstance value _str_type N/A N/A N/A isinstance pattern _str_type N/A N/A N/A re match pattern value N/A N/A N/A isinstance pattern _str_type N/A N/A N/A pattern match value N/A N/A N/A N/A self _error does not match regular expression '{pattern}' value fieldname pattern pattern path path N/A validate_uniqueItems N/A N/A self x fieldname schema path uniqueItems N/A False N/A N/A 
        Validates that all items in an array instance MUST be unique
        (contains no two identical values).
         N/A N/A N/A isinstance uniqueItems bool N/A uniqueItems N/A N/A N/A values N/A N/A x get fieldname N/A N/A N/A isinstance values N/A list tuple N/A N/A N/A hashables N/A set N/A unhashables N/A N/A value values N/A N/A N/A isinstance value N/A list dict N/A N/A N/A container add N/A unhashables N/A unhashables append N/A N/A N/A container add N/A hashables N/A hashables add N/A N/A value container N/A N/A N/A N/A self _error is not unique value fieldname path path N/A N/A N/A add value N/A validate_enum N/A N/A self x fieldname schema path options N/A None N/A N/A 
        Validates that the value of the field is equal to one of the specified option values
         N/A value N/A N/A x get fieldname N/A N/A value None N/A N/A N/A callable options N/A N/A options N/A options x N/A N/A N/A isinstance options Container N/A N/A N/A SchemaError N/A N/A Enumeration {!r} for field '{}' must be a container format options fieldname N/A N/A value options N/A N/A N/A N/A N/A value N/A N/A schema get blank N/A self blank_by_default N/A N/A N/A N/A self _error is not in the enumeration: {options!r} value fieldname options options path path N/A validate_title N/A N/A self x fieldname schema path title N/A None N/A N/A N/A N/A isinstance title N/A _str_type N/A type None N/A N/A N/A SchemaError N/A N/A The title for field '{}' must be a string format fieldname N/A validate_description N/A N/A self x fieldname schema path description N/A None N/A N/A N/A N/A isinstance description N/A _str_type N/A type None N/A N/A N/A SchemaError N/A N/A The description for field '{}' must be a string format fieldname N/A validate_divisibleBy N/A N/A self x fieldname schema path divisibleBy N/A None N/A N/A value N/A N/A x get fieldname N/A N/A N/A N/A self validate_type_number value N/A N/A N/A N/A divisibleBy 0 N/A N/A N/A SchemaError N/A N/A '{!r}' <- divisibleBy can not be 0 format schema N/A N/A N/A value divisibleBy 0 N/A N/A N/A N/A self _error is not divisible by '{divisibleBy}'. N/A N/A x get fieldname fieldname divisibleBy divisibleBy path path N/A validate_disallow N/A N/A self x fieldname schema path disallow N/A None N/A N/A 
        Validates that the value of the given field does not match the disallowed type.
         N/A N/A N/A N/A N/A self validate_type x fieldname schema path disallow N/A N/A N/A ValidationError N/A N/A N/A N/A N/A self _error is disallowed for field '{fieldname}' N/A N/A x get fieldname fieldname disallow disallow path path N/A validate N/A N/A self data schema N/A N/A N/A 
        Validates a piece of json data against the provided json-schema.
         N/A N/A N/A self __validate data N/A data data schema <obj> N/A N/A self _errors N/A N/A N/A MultipleValidationError N/A self _errors N/A __validate N/A N/A self fieldname data schema path N/A N/A N/A N/A schema None N/A N/A N/A N/A isinstance schema dict N/A N/A N/A SchemaError N/A Type for field '%s' must be 'dict', got: '%s' N/A fieldname N/A N/A type schema __name__ N/A add_required_rule N/A N/A self required_by_default N/A required schema N/A add_not_blank_rule N/A N/A N/A self blank_by_default N/A blank schema N/A N/A add_required_rule add_not_blank_rule N/A N/A newschema N/A N/A copy copy schema N/A add_required_rule N/A N/A N/A newschema N/A required N/A self required_by_default N/A add_not_blank_rule N/A N/A N/A newschema N/A blank N/A self blank_by_default N/A N/A newschema schema N/A N/A N/A self apply_default_to_data N/A default schema N/A N/A N/A N/A N/A N/A self validate_type x N/A _ds N/A schema N/A default fieldname _ds schema schema fieldtype N/A N/A type schema N/A schema N/A type None path path N/A N/A N/A FieldValidationError N/A exc N/A N/A N/A SchemaError exc N/A N/A fieldname data N/A N/A N/A data N/A fieldname N/A schema N/A default N/A schemaprop newschema N/A N/A validatorname N/A validate_ schemaprop N/A validator N/A getattr self validatorname None N/A validator N/A N/A N/A validator data fieldname schema path N/A N/A newschema get schemaprop N/A data N/A N/A