Files
superset2/.mypy_cache/3.7/bleach/html5lib_shim.data.json
Maxime Beauchemin 57bccba93a simple redirect
2023-08-10 16:28:51 -07:00

1 line
12 KiB
JSON

{".class": "MypyFile", "_fullname": "bleach.html5lib_shim", "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}, "BleachHTMLParser": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["bleach.html5lib_shim.HTMLParser"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "bleach.html5lib_shim.BleachHTMLParser", "name": "BleachHTMLParser", "type_vars": []}, "flags": [], "fullname": "bleach.html5lib_shim.BleachHTMLParser", "metaclass_type": null, "metadata": {}, "module_name": "bleach.html5lib_shim", "mro": ["bleach.html5lib_shim.BleachHTMLParser", "bleach.html5lib_shim.HTMLParser", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 4], "arg_names": ["self", "tags", "strip", "consume_entities", "kwargs"], "flags": [], "fullname": "bleach.html5lib_shim.BleachHTMLParser.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 4], "arg_names": ["self", "tags", "strip", "consume_entities", "kwargs"], "arg_types": ["bleach.html5lib_shim.BleachHTMLParser", {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Iterable"}, {".class": "NoneType"}]}, "builtins.bool", "builtins.bool", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__init__ of BleachHTMLParser", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "consume_entities": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "bleach.html5lib_shim.BleachHTMLParser.consume_entities", "name": "consume_entities", "type": "builtins.bool"}}, "strip": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "bleach.html5lib_shim.BleachHTMLParser.strip", "name": "strip", "type": "builtins.bool"}}, "tags": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "bleach.html5lib_shim.BleachHTMLParser.tags", "name": "tags", "type": {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}, {".class": "NoneType"}]}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "BleachHTMLSerializer": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["bleach.html5lib_shim.HTMLSerializer"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "bleach.html5lib_shim.BleachHTMLSerializer", "name": "BleachHTMLSerializer", "type_vars": []}, "flags": [], "fullname": "bleach.html5lib_shim.BleachHTMLSerializer", "metaclass_type": null, "metadata": {}, "module_name": "bleach.html5lib_shim", "mro": ["bleach.html5lib_shim.BleachHTMLSerializer", "bleach.html5lib_shim.HTMLSerializer", "builtins.object"], "names": {".class": "SymbolTable", "escape_base_amp": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "stoken"], "flags": [], "fullname": "bleach.html5lib_shim.BleachHTMLSerializer.escape_base_amp", "name": "escape_base_amp", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "stoken"], "arg_types": ["bleach.html5lib_shim.BleachHTMLSerializer", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "escape_base_amp of BleachHTMLSerializer", "ret_type": {".class": "Instance", "args": ["builtins.str", {".class": "NoneType"}, {".class": "NoneType"}], "type_ref": "typing.Generator"}, "type_guard": null, "variables": []}}}, "escape_rcdata": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "bleach.html5lib_shim.BleachHTMLSerializer.escape_rcdata", "name": "escape_rcdata", "type": "builtins.bool"}}, "serialize": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["self", "treewalker", "encoding"], "flags": [], "fullname": "bleach.html5lib_shim.BleachHTMLSerializer.serialize", "name": "serialize", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1], "arg_names": ["self", "treewalker", "encoding"], "arg_types": ["bleach.html5lib_shim.BleachHTMLSerializer", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "serialize of BleachHTMLSerializer", "ret_type": {".class": "Instance", "args": ["builtins.str", {".class": "NoneType"}, {".class": "NoneType"}], "type_ref": "typing.Generator"}, "type_guard": null, "variables": []}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Filter": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "bleach.html5lib_shim.Filter", "name": "Filter", "type_vars": []}, "flags": [], "fullname": "bleach.html5lib_shim.Filter", "metaclass_type": null, "metadata": {}, "module_name": "bleach.html5lib_shim", "mro": ["bleach.html5lib_shim.Filter", "builtins.object"], "names": {".class": "SymbolTable", "__getattr__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "__name"], "flags": [], "fullname": "bleach.html5lib_shim.Filter.__getattr__", "name": "__getattr__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["bleach.html5lib_shim.Filter", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__getattr__ of Filter", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Generator": {".class": "SymbolTableNode", "cross_ref": "typing.Generator", "kind": "Gdef", "module_hidden": true, "module_public": false}, "HTMLParser": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "bleach.html5lib_shim.HTMLParser", "name": "HTMLParser", "type_vars": []}, "flags": [], "fullname": "bleach.html5lib_shim.HTMLParser", "metaclass_type": null, "metadata": {}, "module_name": "bleach.html5lib_shim", "mro": ["bleach.html5lib_shim.HTMLParser", "builtins.object"], "names": {".class": "SymbolTable", "__getattr__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "__name"], "flags": [], "fullname": "bleach.html5lib_shim.HTMLParser.__getattr__", "name": "__getattr__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["bleach.html5lib_shim.HTMLParser", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__getattr__ of HTMLParser", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "HTMLSerializer": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "bleach.html5lib_shim.HTMLSerializer", "name": "HTMLSerializer", "type_vars": []}, "flags": [], "fullname": "bleach.html5lib_shim.HTMLSerializer", "metaclass_type": null, "metadata": {}, "module_name": "bleach.html5lib_shim", "mro": ["bleach.html5lib_shim.HTMLSerializer", "builtins.object"], "names": {".class": "SymbolTable", "__getattr__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "__name"], "flags": [], "fullname": "bleach.html5lib_shim.HTMLSerializer.__getattr__", "name": "__getattr__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["bleach.html5lib_shim.HTMLSerializer", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__getattr__ of HTMLSerializer", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Iterable": {".class": "SymbolTableNode", "cross_ref": "typing.Iterable", "kind": "Gdef", "module_hidden": true, "module_public": false}, "SanitizerFilter": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "bleach.html5lib_shim.SanitizerFilter", "name": "SanitizerFilter", "type_vars": []}, "flags": [], "fullname": "bleach.html5lib_shim.SanitizerFilter", "metaclass_type": null, "metadata": {}, "module_name": "bleach.html5lib_shim", "mro": ["bleach.html5lib_shim.SanitizerFilter", "builtins.object"], "names": {".class": "SymbolTable", "__getattr__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "__name"], "flags": [], "fullname": "bleach.html5lib_shim.SanitizerFilter.__getattr__", "name": "__getattr__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["bleach.html5lib_shim.SanitizerFilter", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__getattr__ of SanitizerFilter", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "bleach.html5lib_shim.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "bleach.html5lib_shim.__file__", "name": "__file__", "type": "builtins.str"}}, "__getattr__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["__name"], "flags": [], "fullname": "bleach.html5lib_shim.__getattr__", "name": "__getattr__", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": ["builtins.str"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__getattr__", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "bleach.html5lib_shim.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "bleach.html5lib_shim.__package__", "name": "__package__", "type": "builtins.str"}}}, "path": "/Users/max/.cache/pre-commit/repoejng1phv/py_env-python3.7/lib/python3.7/site-packages/bleach-stubs/html5lib_shim.pyi"}