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

1 line
17 KiB
JSON

{".class": "MypyFile", "_fullname": "genericpath", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": true, "names": {".class": "SymbolTable", "BytesPath": {".class": "SymbolTableNode", "cross_ref": "_typeshed.BytesPath", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Literal": {".class": "SymbolTableNode", "cross_ref": "typing_extensions.Literal", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Sequence": {".class": "SymbolTableNode", "cross_ref": "typing.Sequence", "kind": "Gdef", "module_hidden": true, "module_public": false}, "StrOrBytesPath": {".class": "SymbolTableNode", "cross_ref": "_typeshed.StrOrBytesPath", "kind": "Gdef", "module_hidden": true, "module_public": false}, "StrPath": {".class": "SymbolTableNode", "cross_ref": "_typeshed.StrPath", "kind": "Gdef", "module_hidden": true, "module_public": false}, "SupportsRichComparisonT": {".class": "SymbolTableNode", "cross_ref": "_typeshed.SupportsRichComparisonT", "kind": "Gdef", "module_hidden": true, "module_public": false}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "genericpath.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "genericpath.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "genericpath.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "genericpath.__package__", "name": "__package__", "type": "builtins.str"}}, "commonprefix": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "OverloadedFuncDef", "flags": [], "fullname": "genericpath.commonprefix", "impl": null, "items": [{".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["m"], "flags": ["is_overload", "is_decorated"], "fullname": "genericpath.commonprefix", "name": "commonprefix", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["m"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "_typeshed.StrPath"}], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "commonprefix", "ret_type": "builtins.str", "type_guard": null, "variables": []}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "commonprefix", "type": null}}, {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["m"], "flags": ["is_overload", "is_decorated"], "fullname": "genericpath.commonprefix", "name": "commonprefix", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["m"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "_typeshed.BytesPath"}], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "commonprefix", "ret_type": {".class": "UnionType", "items": ["builtins.bytes", {".class": "LiteralType", "fallback": "builtins.str", "value": ""}]}, "type_guard": null, "variables": []}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "commonprefix", "type": null}}, {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["m"], "flags": ["is_overload", "is_decorated"], "fullname": "genericpath.commonprefix", "name": "commonprefix", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["m"], "arg_types": [{".class": "Instance", "args": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "_typeshed.SupportsRichComparisonT", "id": -1, "name": "SupportsRichComparisonT", "upper_bound": {".class": "UnionType", "items": ["_typeshed.SupportsDunderLT", "_typeshed.SupportsDunderGT"]}, "values": [], "variance": 0}], "type_ref": "builtins.list"}], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "commonprefix", "ret_type": {".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "_typeshed.SupportsRichComparisonT", "id": -1, "name": "SupportsRichComparisonT", "upper_bound": {".class": "UnionType", "items": ["_typeshed.SupportsDunderLT", "_typeshed.SupportsDunderGT"]}, "values": [], "variance": 0}], "type_ref": "typing.Sequence"}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "_typeshed.SupportsRichComparisonT", "id": -1, "name": "SupportsRichComparisonT", "upper_bound": {".class": "UnionType", "items": ["_typeshed.SupportsDunderLT", "_typeshed.SupportsDunderGT"]}, "values": [], "variance": 0}]}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "commonprefix", "type": null}}, {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["m"], "flags": ["is_overload", "is_decorated"], "fullname": "genericpath.commonprefix", "name": "commonprefix", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["m"], "arg_types": [{".class": "Instance", "args": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "_typeshed.SupportsRichComparisonT", "id": -1, "name": "SupportsRichComparisonT", "upper_bound": {".class": "UnionType", "items": ["_typeshed.SupportsDunderLT", "_typeshed.SupportsDunderGT"]}, "values": [], "variance": 0}], "type_ref": "builtins.tuple"}], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "commonprefix", "ret_type": {".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "_typeshed.SupportsRichComparisonT", "id": -1, "name": "SupportsRichComparisonT", "upper_bound": {".class": "UnionType", "items": ["_typeshed.SupportsDunderLT", "_typeshed.SupportsDunderGT"]}, "values": [], "variance": 0}], "type_ref": "typing.Sequence"}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "_typeshed.SupportsRichComparisonT", "id": -1, "name": "SupportsRichComparisonT", "upper_bound": {".class": "UnionType", "items": ["_typeshed.SupportsDunderLT", "_typeshed.SupportsDunderGT"]}, "values": [], "variance": 0}]}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "commonprefix", "type": null}}], "type": {".class": "Overloaded", "items": [{".class": "CallableType", "arg_kinds": [0], "arg_names": ["m"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "_typeshed.StrPath"}], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "commonprefix", "ret_type": "builtins.str", "type_guard": null, "variables": []}, {".class": "CallableType", "arg_kinds": [0], "arg_names": ["m"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "_typeshed.BytesPath"}], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "commonprefix", "ret_type": {".class": "UnionType", "items": ["builtins.bytes", {".class": "LiteralType", "fallback": "builtins.str", "value": ""}]}, "type_guard": null, "variables": []}, {".class": "CallableType", "arg_kinds": [0], "arg_names": ["m"], "arg_types": [{".class": "Instance", "args": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "_typeshed.SupportsRichComparisonT", "id": -1, "name": "SupportsRichComparisonT", "upper_bound": {".class": "UnionType", "items": ["_typeshed.SupportsDunderLT", "_typeshed.SupportsDunderGT"]}, "values": [], "variance": 0}], "type_ref": "builtins.list"}], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "commonprefix", "ret_type": {".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "_typeshed.SupportsRichComparisonT", "id": -1, "name": "SupportsRichComparisonT", "upper_bound": {".class": "UnionType", "items": ["_typeshed.SupportsDunderLT", "_typeshed.SupportsDunderGT"]}, "values": [], "variance": 0}], "type_ref": "typing.Sequence"}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "_typeshed.SupportsRichComparisonT", "id": -1, "name": "SupportsRichComparisonT", "upper_bound": {".class": "UnionType", "items": ["_typeshed.SupportsDunderLT", "_typeshed.SupportsDunderGT"]}, "values": [], "variance": 0}]}, {".class": "CallableType", "arg_kinds": [0], "arg_names": ["m"], "arg_types": [{".class": "Instance", "args": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "_typeshed.SupportsRichComparisonT", "id": -1, "name": "SupportsRichComparisonT", "upper_bound": {".class": "UnionType", "items": ["_typeshed.SupportsDunderLT", "_typeshed.SupportsDunderGT"]}, "values": [], "variance": 0}], "type_ref": "builtins.tuple"}], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "commonprefix", "ret_type": {".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "_typeshed.SupportsRichComparisonT", "id": -1, "name": "SupportsRichComparisonT", "upper_bound": {".class": "UnionType", "items": ["_typeshed.SupportsDunderLT", "_typeshed.SupportsDunderGT"]}, "values": [], "variance": 0}], "type_ref": "typing.Sequence"}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "_typeshed.SupportsRichComparisonT", "id": -1, "name": "SupportsRichComparisonT", "upper_bound": {".class": "UnionType", "items": ["_typeshed.SupportsDunderLT", "_typeshed.SupportsDunderGT"]}, "values": [], "variance": 0}]}]}}}, "exists": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["path"], "flags": [], "fullname": "genericpath.exists", "name": "exists", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["path"], "arg_types": [{".class": "UnionType", "items": [{".class": "TypeAliasType", "args": [], "type_ref": "_typeshed.StrOrBytesPath"}, "builtins.int"]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "exists", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "getatime": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["filename"], "flags": [], "fullname": "genericpath.getatime", "name": "getatime", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["filename"], "arg_types": [{".class": "UnionType", "items": [{".class": "TypeAliasType", "args": [], "type_ref": "_typeshed.StrOrBytesPath"}, "builtins.int"]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "getatime", "ret_type": "builtins.float", "type_guard": null, "variables": []}}}, "getctime": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["filename"], "flags": [], "fullname": "genericpath.getctime", "name": "getctime", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["filename"], "arg_types": [{".class": "UnionType", "items": [{".class": "TypeAliasType", "args": [], "type_ref": "_typeshed.StrOrBytesPath"}, "builtins.int"]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "getctime", "ret_type": "builtins.float", "type_guard": null, "variables": []}}}, "getmtime": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["filename"], "flags": [], "fullname": "genericpath.getmtime", "name": "getmtime", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["filename"], "arg_types": [{".class": "UnionType", "items": [{".class": "TypeAliasType", "args": [], "type_ref": "_typeshed.StrOrBytesPath"}, "builtins.int"]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "getmtime", "ret_type": "builtins.float", "type_guard": null, "variables": []}}}, "getsize": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["filename"], "flags": [], "fullname": "genericpath.getsize", "name": "getsize", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["filename"], "arg_types": [{".class": "UnionType", "items": [{".class": "TypeAliasType", "args": [], "type_ref": "_typeshed.StrOrBytesPath"}, "builtins.int"]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "getsize", "ret_type": "builtins.int", "type_guard": null, "variables": []}}}, "isdir": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["s"], "flags": [], "fullname": "genericpath.isdir", "name": "isdir", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["s"], "arg_types": [{".class": "UnionType", "items": [{".class": "TypeAliasType", "args": [], "type_ref": "_typeshed.StrOrBytesPath"}, "builtins.int"]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "isdir", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "isfile": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["path"], "flags": [], "fullname": "genericpath.isfile", "name": "isfile", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["path"], "arg_types": [{".class": "UnionType", "items": [{".class": "TypeAliasType", "args": [], "type_ref": "_typeshed.StrOrBytesPath"}, "builtins.int"]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "isfile", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "os": {".class": "SymbolTableNode", "cross_ref": "os", "kind": "Gdef", "module_hidden": true, "module_public": false}, "overload": {".class": "SymbolTableNode", "cross_ref": "typing.overload", "kind": "Gdef", "module_hidden": true, "module_public": false}, "samefile": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["f1", "f2"], "flags": [], "fullname": "genericpath.samefile", "name": "samefile", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["f1", "f2"], "arg_types": [{".class": "UnionType", "items": [{".class": "TypeAliasType", "args": [], "type_ref": "_typeshed.StrOrBytesPath"}, "builtins.int"]}, {".class": "UnionType", "items": [{".class": "TypeAliasType", "args": [], "type_ref": "_typeshed.StrOrBytesPath"}, "builtins.int"]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "samefile", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "sameopenfile": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["fp1", "fp2"], "flags": [], "fullname": "genericpath.sameopenfile", "name": "sameopenfile", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["fp1", "fp2"], "arg_types": ["builtins.int", "builtins.int"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "sameopenfile", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "samestat": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["s1", "s2"], "flags": [], "fullname": "genericpath.samestat", "name": "samestat", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["s1", "s2"], "arg_types": [{".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int", "builtins.int", "builtins.int", "builtins.int", "builtins.int", "builtins.float", "builtins.float", "builtins.float"], "partial_fallback": "os.stat_result"}, {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int", "builtins.int", "builtins.int", "builtins.int", "builtins.int", "builtins.float", "builtins.float", "builtins.float"], "partial_fallback": "os.stat_result"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "samestat", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}}, "path": "/Users/max/.cache/pre-commit/repo61zz492t/py_env-python3.8/lib/python3.8/site-packages/mypy/typeshed/stdlib/genericpath.pyi"}