util.data.json 16 KB

1
  1. {".class":"MypyFile","_fullname":"phonenumbers.util","future_import_flags":[],"is_partial_stub_package":false,"is_stub":true,"names":{".class":"SymbolTable","Any":{".class":"SymbolTableNode","cross_ref":"typing.Any","kind":"Gdef","module_hidden":true,"module_public":false},"Callable":{".class":"SymbolTableNode","cross_ref":"typing.Callable","kind":"Gdef","module_hidden":true,"module_public":false},"ImmutableMixin":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"TypeInfo","_promote":[],"abstract_attributes":[],"alt_promote":null,"bases":["builtins.object"],"dataclass_transform_spec":null,"declared_metaclass":null,"defn":{".class":"ClassDef","fullname":"phonenumbers.util.ImmutableMixin","name":"ImmutableMixin","type_vars":[]},"deletable_attributes":[],"flags":[],"fullname":"phonenumbers.util.ImmutableMixin","has_param_spec_type":false,"metaclass_type":null,"metadata":{},"module_name":"phonenumbers.util","mro":["phonenumbers.util.ImmutableMixin","builtins.object"],"names":{".class":"SymbolTable","__delattr__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":[null,null],"dataclass_transform_spec":null,"flags":[],"fullname":"phonenumbers.util.ImmutableMixin.__delattr__","name":"__delattr__","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":[null,null],"arg_types":["phonenumbers.util.ImmutableMixin","builtins.str"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__delattr__ of ImmutableMixin","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"__setattr__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,0],"arg_names":["self","name","value"],"dataclass_transform_spec":null,"flags":[],"fullname":"phonenumbers.util.ImmutableMixin.__setattr__","name":"__setattr__","type":{".class":"CallableType","arg_kinds":[0,0,0],"arg_names":["self","name","value"],"arg_types":["phonenumbers.util.ImmutableMixin","builtins.str",{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__setattr__ of ImmutableMixin","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"_mutable":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Var","flags":["is_initialized_in_class","is_ready"],"fullname":"phonenumbers.util.ImmutableMixin._mutable","name":"_mutable","type":"builtins.bool"}}},"self_type":null,"slots":null,"tuple_type":null,"type_vars":[],"typeddict_type":null}},"SupportsWrite":{".class":"SymbolTableNode","cross_ref":"_typeshed.SupportsWrite","kind":"Gdef","module_hidden":true,"module_public":false},"U_DASH":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.U_DASH","name":"U_DASH","type":"builtins.str"}},"U_EMPTY_STRING":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.U_EMPTY_STRING","name":"U_EMPTY_STRING","type":"builtins.str"}},"U_PERCENT":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.U_PERCENT","name":"U_PERCENT","type":"builtins.str"}},"U_PLUS":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.U_PLUS","name":"U_PLUS","type":"builtins.str"}},"U_SEMICOLON":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.U_SEMICOLON","name":"U_SEMICOLON","type":"builtins.str"}},"U_SLASH":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.U_SLASH","name":"U_SLASH","type":"builtins.str"}},"U_SPACE":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.U_SPACE","name":"U_SPACE","type":"builtins.str"}},"U_STAR":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.U_STAR","name":"U_STAR","type":"builtins.str"}},"U_TILDE":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.U_TILDE","name":"U_TILDE","type":"builtins.str"}},"U_X_LOWER":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.U_X_LOWER","name":"U_X_LOWER","type":"builtins.str"}},"U_X_UPPER":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.U_X_UPPER","name":"U_X_UPPER","type":"builtins.str"}},"U_ZERO":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.U_ZERO","name":"U_ZERO","type":"builtins.str"}},"UnicodeMixin":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"TypeInfo","_promote":[],"abstract_attributes":[],"alt_promote":null,"bases":["builtins.object"],"dataclass_transform_spec":null,"declared_metaclass":null,"defn":{".class":"ClassDef","fullname":"phonenumbers.util.UnicodeMixin","name":"UnicodeMixin","type_vars":[]},"deletable_attributes":[],"flags":[],"fullname":"phonenumbers.util.UnicodeMixin","has_param_spec_type":false,"metaclass_type":null,"metadata":{},"module_name":"phonenumbers.util","mro":["phonenumbers.util.UnicodeMixin","builtins.object"],"names":{".class":"SymbolTable","__str__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":[null],"dataclass_transform_spec":null,"flags":[],"fullname":"phonenumbers.util.UnicodeMixin.__str__","name":"__str__","type":{".class":"CallableType","arg_kinds":[0],"arg_names":[null],"arg_types":["phonenumbers.util.UnicodeMixin"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__str__ of UnicodeMixin","ret_type":"builtins.str","type_guard":null,"unpack_kwargs":false,"variables":[]}}}},"self_type":null,"slots":null,"tuple_type":null,"type_vars":[],"typeddict_type":null}},"__annotations__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.__annotations__","name":"__annotations__","type":{".class":"Instance","args":["builtins.str",{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":6}],"type_ref":"builtins.dict"}}},"__doc__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.__doc__","name":"__doc__","type":"builtins.str"}},"__file__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.__file__","name":"__file__","type":"builtins.str"}},"__name__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.__name__","name":"__name__","type":"builtins.str"}},"__package__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.__package__","name":"__package__","type":"builtins.str"}},"force_unicode":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"OverloadedFuncDef","flags":[],"fullname":"phonenumbers.util.force_unicode","impl":null,"items":[{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["s"],"dataclass_transform_spec":null,"flags":["is_overload","is_decorated"],"fullname":"phonenumbers.util.force_unicode","name":"force_unicode","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["s"],"arg_types":[{".class":"NoneType"}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"force_unicode","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}},"is_overload":true,"var":{".class":"Var","flags":["is_inferred"],"fullname":"phonenumbers.util.force_unicode","name":"force_unicode","type":null}},{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["s"],"dataclass_transform_spec":null,"flags":["is_overload","is_decorated"],"fullname":"phonenumbers.util.force_unicode","name":"force_unicode","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["s"],"arg_types":["builtins.str"],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"force_unicode","ret_type":"builtins.str","type_guard":null,"unpack_kwargs":false,"variables":[]}},"is_overload":true,"var":{".class":"Var","flags":["is_inferred"],"fullname":"phonenumbers.util.force_unicode","name":"force_unicode","type":null}}],"type":{".class":"Overloaded","items":[{".class":"CallableType","arg_kinds":[0],"arg_names":["s"],"arg_types":[{".class":"NoneType"}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"force_unicode","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]},{".class":"CallableType","arg_kinds":[0],"arg_names":["s"],"arg_types":["builtins.str"],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"force_unicode","ret_type":"builtins.str","type_guard":null,"unpack_kwargs":false,"variables":[]}]}}},"mutating_method":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["func"],"dataclass_transform_spec":null,"flags":[],"fullname":"phonenumbers.util.mutating_method","name":"mutating_method","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["func"],"arg_types":[{".class":"CallableType","arg_kinds":[2,4],"arg_names":[null,null],"arg_types":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2},{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"bound_args":[],"def_extras":{},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":true,"name":null,"ret_type":{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2},"type_guard":null,"unpack_kwargs":false,"variables":[]}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"mutating_method","ret_type":{".class":"CallableType","arg_kinds":[2,4],"arg_names":[null,null],"arg_types":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2},{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"bound_args":[],"def_extras":{},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":true,"name":null,"ret_type":{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2},"type_guard":null,"unpack_kwargs":false,"variables":[]},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"overload":{".class":"SymbolTableNode","cross_ref":"typing.overload","kind":"Gdef","module_hidden":true,"module_public":false},"prnt":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"OverloadedFuncDef","flags":[],"fullname":"phonenumbers.util.prnt","impl":null,"items":[{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[2,5,5,5],"arg_names":["values","sep","end","file"],"dataclass_transform_spec":null,"flags":["is_overload","is_decorated"],"fullname":"phonenumbers.util.prnt","name":"prnt","type":{".class":"CallableType","arg_kinds":[2,5,5,5],"arg_names":["values","sep","end","file"],"arg_types":["builtins.object",{".class":"UnionType","items":["builtins.str",{".class":"NoneType"}]},{".class":"UnionType","items":["builtins.str",{".class":"NoneType"}]},{".class":"UnionType","items":[{".class":"Instance","args":["builtins.str"],"type_ref":"_typeshed.SupportsWrite"},{".class":"NoneType"}]}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"prnt","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}},"is_overload":true,"var":{".class":"Var","flags":["is_inferred"],"fullname":"phonenumbers.util.prnt","name":"prnt","type":null}},{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[2,4],"arg_names":["values","kwargs"],"dataclass_transform_spec":null,"flags":["is_overload","is_decorated"],"fullname":"phonenumbers.util.prnt","name":"prnt","type":{".class":"CallableType","arg_kinds":[2,4],"arg_names":["values","kwargs"],"arg_types":["builtins.object",{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"prnt","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}},"is_overload":true,"var":{".class":"Var","flags":["is_inferred"],"fullname":"phonenumbers.util.prnt","name":"prnt","type":null}}],"type":{".class":"Overloaded","items":[{".class":"CallableType","arg_kinds":[2,5,5,5],"arg_names":["values","sep","end","file"],"arg_types":["builtins.object",{".class":"UnionType","items":["builtins.str",{".class":"NoneType"}]},{".class":"UnionType","items":["builtins.str",{".class":"NoneType"}]},{".class":"UnionType","items":[{".class":"Instance","args":["builtins.str"],"type_ref":"_typeshed.SupportsWrite"},{".class":"NoneType"}]}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"prnt","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]},{".class":"CallableType","arg_kinds":[2,4],"arg_names":["values","kwargs"],"arg_types":["builtins.object",{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"prnt","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}]}}},"rpr":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["s"],"dataclass_transform_spec":null,"flags":[],"fullname":"phonenumbers.util.rpr","name":"rpr","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["s"],"arg_types":[{".class":"UnionType","items":["builtins.str",{".class":"NoneType"}]}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"rpr","ret_type":"builtins.str","type_guard":null,"unpack_kwargs":false,"variables":[]}}},"to_long":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.to_long","name":"to_long","type":{".class":"TypeType","item":"builtins.int"}}},"u":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.u","name":"u","type":{".class":"TypeType","item":"builtins.str"}}},"unicod":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"phonenumbers.util.unicod","name":"unicod","type":{".class":"TypeType","item":"builtins.str"}}}},"path":"/home/runner/work/sentry/sentry/.venv/lib/python3.8/site-packages/phonenumbers/util.pyi"}