| {".class": "MypyFile", "_fullname": "charset_normalizer.legacy", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "CHARDET_CORRESPONDENCE": {".class": "SymbolTableNode", "cross_ref": "charset_normalizer.constant.CHARDET_CORRESPONDENCE", "kind": "Gdef"}, "CharsetDetector": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["charset_normalizer.legacy.CharsetNormalizerMatches"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "charset_normalizer.legacy.CharsetDetector", "name": "CharsetDetector", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "charset_normalizer.legacy.CharsetDetector", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "charset_normalizer.legacy", "mro": ["charset_normalizer.legacy.CharsetDetector", "charset_normalizer.legacy.CharsetNormalizerMatches", "charset_normalizer.models.CharsetMatches", "builtins.object"], "names": {".class": "SymbolTable"}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "CharsetDoctor": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["charset_normalizer.legacy.CharsetNormalizerMatches"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "charset_normalizer.legacy.CharsetDoctor", "name": "CharsetDoctor", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "charset_normalizer.legacy.CharsetDoctor", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "charset_normalizer.legacy", "mro": ["charset_normalizer.legacy.CharsetDoctor", "charset_normalizer.legacy.CharsetNormalizerMatches", "charset_normalizer.models.CharsetMatches", "builtins.object"], "names": {".class": "SymbolTable"}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "CharsetMatch": {".class": "SymbolTableNode", "cross_ref": "charset_normalizer.models.CharsetMatch", "kind": "Gdef"}, "CharsetMatches": {".class": "SymbolTableNode", "cross_ref": "charset_normalizer.models.CharsetMatches", "kind": "Gdef"}, "CharsetNormalizerMatch": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["charset_normalizer.models.CharsetMatch"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "charset_normalizer.legacy.CharsetNormalizerMatch", "name": "CharsetNormalizerMatch", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "charset_normalizer.legacy.CharsetNormalizerMatch", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "charset_normalizer.legacy", "mro": ["charset_normalizer.legacy.CharsetNormalizerMatch", "charset_normalizer.models.CharsetMatch", "builtins.object"], "names": {".class": "SymbolTable"}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "CharsetNormalizerMatches": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["charset_normalizer.models.CharsetMatches"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "charset_normalizer.legacy.CharsetNormalizerMatches", "name": "CharsetNormalizerMatches", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "charset_normalizer.legacy.CharsetNormalizerMatches", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "charset_normalizer.legacy", "mro": ["charset_normalizer.legacy.CharsetNormalizerMatches", "charset_normalizer.models.CharsetMatches", "builtins.object"], "names": {".class": "SymbolTable", "from_bytes": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [2, 4], "arg_names": ["args", "kwargs"], "flags": ["is_static", "is_decorated"], "fullname": "charset_normalizer.legacy.CharsetNormalizerMatches.from_bytes", "name": "from_bytes", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_staticmethod", "is_ready"], "fullname": null, "name": "from_bytes", "type": {".class": "CallableType", "arg_kinds": [2, 4], "arg_names": ["args", "kwargs"], "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": true, "is_ellipsis_args": false, "name": "from_bytes of CharsetNormalizerMatches", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "from_fp": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [2, 4], "arg_names": ["args", "kwargs"], "flags": ["is_static", "is_decorated"], "fullname": "charset_normalizer.legacy.CharsetNormalizerMatches.from_fp", "name": "from_fp", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_staticmethod", "is_ready"], "fullname": null, "name": "from_fp", "type": {".class": "CallableType", "arg_kinds": [2, 4], "arg_names": ["args", "kwargs"], "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": true, "is_ellipsis_args": false, "name": "from_fp of CharsetNormalizerMatches", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "from_path": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [2, 4], "arg_names": ["args", "kwargs"], "flags": ["is_static", "is_decorated"], "fullname": "charset_normalizer.legacy.CharsetNormalizerMatches.from_path", "name": "from_path", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_staticmethod", "is_ready"], "fullname": null, "name": "from_path", "type": {".class": "CallableType", "arg_kinds": [2, 4], "arg_names": ["args", "kwargs"], "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": true, "is_ellipsis_args": false, "name": "from_path of CharsetNormalizerMatches", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "normalize": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [2, 4], "arg_names": ["args", "kwargs"], "flags": ["is_static", "is_decorated"], "fullname": "charset_normalizer.legacy.CharsetNormalizerMatches.normalize", "name": "normalize", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_staticmethod", "is_ready"], "fullname": null, "name": "normalize", "type": {".class": "CallableType", "arg_kinds": [2, 4], "arg_names": ["args", "kwargs"], "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": true, "is_ellipsis_args": false, "name": "normalize of CharsetNormalizerMatches", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Dict": {".class": "SymbolTableNode", "cross_ref": "typing.Dict", "kind": "Gdef"}, "Optional": {".class": "SymbolTableNode", "cross_ref": "typing.Optional", "kind": "Gdef"}, "Union": {".class": "SymbolTableNode", "cross_ref": "typing.Union", "kind": "Gdef"}, "__annotations__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "charset_normalizer.legacy.__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": "charset_normalizer.legacy.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "charset_normalizer.legacy.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "charset_normalizer.legacy.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "charset_normalizer.legacy.__package__", "name": "__package__", "type": "builtins.str"}}, "detect": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["byte_str"], "flags": [], "fullname": "charset_normalizer.legacy.detect", "name": "detect", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["byte_str"], "arg_types": ["builtins.bytes"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "detect", "ret_type": {".class": "Instance", "args": ["builtins.str", {".class": "UnionType", "items": ["builtins.str", "builtins.float", {".class": "NoneType"}]}], "type_ref": "builtins.dict"}, "type_guard": null, "variables": []}}}, "from_bytes": {".class": "SymbolTableNode", "cross_ref": "charset_normalizer.api.from_bytes", "kind": "Gdef"}, "from_fp": {".class": "SymbolTableNode", "cross_ref": "charset_normalizer.api.from_fp", "kind": "Gdef"}, "from_path": {".class": "SymbolTableNode", "cross_ref": "charset_normalizer.api.from_path", "kind": "Gdef"}, "normalize": {".class": "SymbolTableNode", "cross_ref": "charset_normalizer.api.normalize", "kind": "Gdef"}, "warnings": {".class": "SymbolTableNode", "cross_ref": "warnings", "kind": "Gdef"}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/charset_normalizer/legacy.py"} |