_utils.data.json 16 KB

1
  1. {".class":"MypyFile","_fullname":"jsonschema._utils","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},"Generator":{".class":"SymbolTableNode","cross_ref":"typing.Generator","kind":"Gdef","module_hidden":true,"module_public":false},"Iterable":{".class":"SymbolTableNode","cross_ref":"typing.Iterable","kind":"Gdef","module_hidden":true,"module_public":false},"Iterator":{".class":"SymbolTableNode","cross_ref":"typing.Iterator","kind":"Gdef","module_hidden":true,"module_public":false},"Mapping":{".class":"SymbolTableNode","cross_ref":"typing.Mapping","kind":"Gdef","module_hidden":true,"module_public":false},"MutableMapping":{".class":"SymbolTableNode","cross_ref":"typing.MutableMapping","kind":"Gdef","module_hidden":true,"module_public":false},"Sized":{".class":"SymbolTableNode","cross_ref":"typing.Sized","kind":"Gdef","module_hidden":true,"module_public":false},"SupportsKeysAndGetItem":{".class":"SymbolTableNode","cross_ref":"_typeshed.SupportsKeysAndGetItem","kind":"Gdef","module_hidden":true,"module_public":false},"URIDict":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"TypeInfo","_promote":[],"abstract_attributes":[],"alt_promote":null,"bases":[{".class":"Instance","args":["builtins.str","builtins.str"],"type_ref":"typing.MutableMapping"}],"dataclass_transform_spec":null,"declared_metaclass":null,"defn":{".class":"ClassDef","fullname":"jsonschema._utils.URIDict","name":"URIDict","type_vars":[]},"deletable_attributes":[],"flags":[],"fullname":"jsonschema._utils.URIDict","has_param_spec_type":false,"metaclass_type":"abc.ABCMeta","metadata":{},"module_name":"jsonschema._utils","mro":["jsonschema._utils.URIDict","typing.MutableMapping","typing.Mapping","typing.Collection","typing.Iterable","typing.Container","builtins.object"],"names":{".class":"SymbolTable","__delitem__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":[null,null],"dataclass_transform_spec":null,"flags":[],"fullname":"jsonschema._utils.URIDict.__delitem__","name":"__delitem__","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":[null,null],"arg_types":["jsonschema._utils.URIDict","builtins.str"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__delitem__ of URIDict","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"__getitem__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":[null,null],"dataclass_transform_spec":null,"flags":[],"fullname":"jsonschema._utils.URIDict.__getitem__","name":"__getitem__","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":[null,null],"arg_types":["jsonschema._utils.URIDict","builtins.str"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__getitem__ of URIDict","ret_type":"builtins.str","type_guard":null,"unpack_kwargs":false,"variables":[]}}},"__init__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,4],"arg_names":["self",null,"kwargs"],"dataclass_transform_spec":null,"flags":[],"fullname":"jsonschema._utils.URIDict.__init__","name":"__init__","type":{".class":"CallableType","arg_kinds":[0,0,4],"arg_names":["self",null,"kwargs"],"arg_types":["jsonschema._utils.URIDict",{".class":"UnionType","items":[{".class":"Instance","args":["builtins.str","builtins.str"],"type_ref":"_typeshed.SupportsKeysAndGetItem"},{".class":"Instance","args":[{".class":"TupleType","implicit":false,"items":["builtins.str","builtins.str"],"partial_fallback":{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":6}],"type_ref":"builtins.tuple"}}],"type_ref":"typing.Iterable"}]},"builtins.str"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__init__ of URIDict","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"__iter__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":[null],"dataclass_transform_spec":null,"flags":[],"fullname":"jsonschema._utils.URIDict.__iter__","name":"__iter__","type":{".class":"CallableType","arg_kinds":[0],"arg_names":[null],"arg_types":["jsonschema._utils.URIDict"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__iter__ of URIDict","ret_type":{".class":"Instance","args":["builtins.str"],"type_ref":"typing.Iterator"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"__len__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":[null],"dataclass_transform_spec":null,"flags":[],"fullname":"jsonschema._utils.URIDict.__len__","name":"__len__","type":{".class":"CallableType","arg_kinds":[0],"arg_names":[null],"arg_types":["jsonschema._utils.URIDict"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__len__ of URIDict","ret_type":"builtins.int","type_guard":null,"unpack_kwargs":false,"variables":[]}}},"__setitem__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,0],"arg_names":[null,null,null],"dataclass_transform_spec":null,"flags":[],"fullname":"jsonschema._utils.URIDict.__setitem__","name":"__setitem__","type":{".class":"CallableType","arg_kinds":[0,0,0],"arg_names":[null,null,null],"arg_types":["jsonschema._utils.URIDict","builtins.str","builtins.str"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__setitem__ of URIDict","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"normalize":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":["self","uri"],"dataclass_transform_spec":null,"flags":[],"fullname":"jsonschema._utils.URIDict.normalize","name":"normalize","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":["self","uri"],"arg_types":["jsonschema._utils.URIDict","builtins.str"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"normalize of URIDict","ret_type":"builtins.str","type_guard":null,"unpack_kwargs":false,"variables":[]}}},"store":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Var","flags":["is_initialized_in_class","is_ready"],"fullname":"jsonschema._utils.URIDict.store","name":"store","type":{".class":"Instance","args":["builtins.str","builtins.str"],"type_ref":"builtins.dict"}}}},"self_type":null,"slots":null,"tuple_type":null,"type_vars":[],"typeddict_type":null}},"Unset":{".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":"jsonschema._utils.Unset","name":"Unset","type_vars":[]},"deletable_attributes":[],"flags":[],"fullname":"jsonschema._utils.Unset","has_param_spec_type":false,"metaclass_type":null,"metadata":{},"module_name":"jsonschema._utils","mro":["jsonschema._utils.Unset","builtins.object"],"names":{".class":"SymbolTable"},"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":"jsonschema._utils.__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":"jsonschema._utils.__doc__","name":"__doc__","type":"builtins.str"}},"__file__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"jsonschema._utils.__file__","name":"__file__","type":"builtins.str"}},"__name__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"jsonschema._utils.__name__","name":"__name__","type":"builtins.str"}},"__package__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"jsonschema._utils.__package__","name":"__package__","type":"builtins.str"}},"ensure_list":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["thing"],"dataclass_transform_spec":null,"flags":[],"fullname":"jsonschema._utils.ensure_list","name":"ensure_list","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["thing"],"arg_types":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":1}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"ensure_list","ret_type":{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"type_ref":"builtins.list"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"equal":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":["one","two"],"dataclass_transform_spec":null,"flags":[],"fullname":"jsonschema._utils.equal","name":"equal","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":["one","two"],"arg_types":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":1},{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":1}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"equal","ret_type":"builtins.bool","type_guard":null,"unpack_kwargs":false,"variables":[]}}},"extras_msg":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["extras"],"dataclass_transform_spec":null,"flags":[],"fullname":"jsonschema._utils.extras_msg","name":"extras_msg","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["extras"],"arg_types":[{".class":"UnionType","items":[{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"type_ref":"typing.Iterable"},"typing.Sized"]}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"extras_msg","ret_type":"builtins.str","type_guard":null,"unpack_kwargs":false,"variables":[]}}},"find_additional_properties":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":["instance","schema"],"dataclass_transform_spec":null,"flags":[],"fullname":"jsonschema._utils.find_additional_properties","name":"find_additional_properties","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":["instance","schema"],"arg_types":[{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"type_ref":"typing.Iterable"},{".class":"Instance","args":[{".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}],"type_ref":"typing.Mapping"}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"find_additional_properties","ret_type":{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2},{".class":"NoneType"},{".class":"NoneType"}],"type_ref":"typing.Generator"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"find_evaluated_item_indexes_by_schema":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,0],"arg_names":["validator","instance","schema"],"dataclass_transform_spec":null,"flags":[],"fullname":"jsonschema._utils.find_evaluated_item_indexes_by_schema","name":"find_evaluated_item_indexes_by_schema","type":{".class":"CallableType","arg_kinds":[0,0,0],"arg_names":["validator","instance","schema"],"arg_types":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":1},{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":1},{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":1}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"find_evaluated_item_indexes_by_schema","ret_type":{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"type_ref":"builtins.list"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"find_evaluated_property_keys_by_schema":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,0],"arg_names":["validator","instance","schema"],"dataclass_transform_spec":null,"flags":[],"fullname":"jsonschema._utils.find_evaluated_property_keys_by_schema","name":"find_evaluated_property_keys_by_schema","type":{".class":"CallableType","arg_kinds":[0,0,0],"arg_names":["validator","instance","schema"],"arg_types":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":1},{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":1},{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":1}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"find_evaluated_property_keys_by_schema","ret_type":{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"type_ref":"builtins.list"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"format_as_index":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":["container","indices"],"dataclass_transform_spec":null,"flags":[],"fullname":"jsonschema._utils.format_as_index","name":"format_as_index","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":["container","indices"],"arg_types":["builtins.str",{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":1}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"format_as_index","ret_type":"builtins.str","type_guard":null,"unpack_kwargs":false,"variables":[]}}},"load_schema":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["name"],"dataclass_transform_spec":null,"flags":[],"fullname":"jsonschema._utils.load_schema","name":"load_schema","type":null}},"unbool":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,1,1],"arg_names":["element","true","false"],"dataclass_transform_spec":null,"flags":[],"fullname":"jsonschema._utils.unbool","name":"unbool","type":null}},"uniq":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["container"],"dataclass_transform_spec":null,"flags":[],"fullname":"jsonschema._utils.uniq","name":"uniq","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["container"],"arg_types":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":1}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"uniq","ret_type":"builtins.bool","type_guard":null,"unpack_kwargs":false,"variables":[]}}}},"path":"/home/runner/work/sentry/sentry/.venv/lib/python3.8/site-packages/jsonschema-stubs/_utils.pyi"}