ami / .mypy_cache /3.7 /unittest /mock.data.json
patrickvonplaten's picture
upload all
c7a0c46
raw
history blame
122 kB
{".class": "MypyFile", "_fullname": "unittest.mock", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": true, "names": {".class": "SymbolTable", "ANY": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.mock.ANY", "name": "ANY", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "Any": {".class": "SymbolTableNode", "cross_ref": "typing.Any", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Awaitable": {".class": "SymbolTableNode", "cross_ref": "typing.Awaitable", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Base": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock.Base", "name": "Base", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "unittest.mock.Base", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock.Base", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 4], "arg_names": ["self", "args", "kwargs"], "flags": [], "fullname": "unittest.mock.Base.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 2, 4], "arg_names": ["self", "args", "kwargs"], "arg_types": ["unittest.mock.Base", {".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": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of Base", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Callable": {".class": "SymbolTableNode", "cross_ref": "typing.Callable", "kind": "Gdef", "module_hidden": true, "module_public": false}, "CallableMixin": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["unittest.mock.Base"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock.CallableMixin", "name": "CallableMixin", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "unittest.mock.CallableMixin", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock.CallableMixin", "unittest.mock.Base", "builtins.object"], "names": {".class": "SymbolTable", "__call__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 4], "arg_names": ["_mock_self", "args", "kwargs"], "flags": [], "fullname": "unittest.mock.CallableMixin.__call__", "name": "__call__", "type": {".class": "CallableType", "arg_kinds": [0, 2, 4], "arg_names": ["_mock_self", "args", "kwargs"], "arg_types": ["unittest.mock.CallableMixin", {".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": {"first_arg": "_mock_self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__call__ of CallableMixin", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4], "arg_names": ["self", "spec", "side_effect", "return_value", "wraps", "name", "spec_set", "parent", "_spec_state", "_new_name", "_new_parent", "kwargs"], "flags": [], "fullname": "unittest.mock.CallableMixin.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4], "arg_names": ["self", "spec", "side_effect", "return_value", "wraps", "name", "spec_set", "parent", "_spec_state", "_new_name", "_new_parent", "kwargs"], "arg_types": ["unittest.mock.CallableMixin", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".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": "__init__ of CallableMixin", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "side_effect": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock.CallableMixin.side_effect", "name": "side_effect", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "DEFAULT": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.mock.DEFAULT", "name": "DEFAULT", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "FILTER_DIR": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.mock.FILTER_DIR", "name": "FILTER_DIR", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "Generic": {".class": "SymbolTableNode", "cross_ref": "typing.Generic", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Iterable": {".class": "SymbolTableNode", "cross_ref": "typing.Iterable", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Literal": {".class": "SymbolTableNode", "cross_ref": "typing_extensions.Literal", "kind": "Gdef", "module_hidden": true, "module_public": false}, "MagicMixin": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock.MagicMixin", "name": "MagicMixin", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "unittest.mock.MagicMixin", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock.MagicMixin", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 4], "arg_names": ["self", "args", "kw"], "flags": [], "fullname": "unittest.mock.MagicMixin.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 2, 4], "arg_names": ["self", "args", "kw"], "arg_types": ["unittest.mock.MagicMixin", {".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": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of MagicMixin", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "MagicMock": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["unittest.mock.MagicMixin", "unittest.mock.Mock"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock.MagicMock", "name": "MagicMock", "type_vars": []}, "deletable_attributes": [], "flags": ["fallback_to_any"], "fullname": "unittest.mock.MagicMock", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock.MagicMock", "unittest.mock.MagicMixin", "unittest.mock.Mock", "unittest.mock.CallableMixin", "unittest.mock.NonCallableMock", "unittest.mock.Base", "builtins.object"], "names": {".class": "SymbolTable", "mock_add_spec": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["self", "spec", "spec_set"], "flags": [], "fullname": "unittest.mock.MagicMock.mock_add_spec", "name": "mock_add_spec", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1], "arg_names": ["self", "spec", "spec_set"], "arg_types": ["unittest.mock.MagicMock", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "mock_add_spec of MagicMock", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "MagicProxy": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock.MagicProxy", "name": "MagicProxy", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "unittest.mock.MagicProxy", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock.MagicProxy", "builtins.object"], "names": {".class": "SymbolTable", "__call__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 4], "arg_names": ["self", "args", "kwargs"], "flags": [], "fullname": "unittest.mock.MagicProxy.__call__", "name": "__call__", "type": {".class": "CallableType", "arg_kinds": [0, 2, 4], "arg_names": ["self", "args", "kwargs"], "arg_types": ["unittest.mock.MagicProxy", {".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": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__call__ of MagicProxy", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "__get__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["self", "obj", "_type"], "flags": [], "fullname": "unittest.mock.MagicProxy.__get__", "name": "__get__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1], "arg_names": ["self", "obj", "_type"], "arg_types": ["unittest.mock.MagicProxy", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__get__ of MagicProxy", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "name", "parent"], "flags": [], "fullname": "unittest.mock.MagicProxy.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["self", "name", "parent"], "arg_types": ["unittest.mock.MagicProxy", "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": "__init__ of MagicProxy", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "create_mock": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "unittest.mock.MagicProxy.create_mock", "name": "create_mock", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["unittest.mock.MagicProxy"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "create_mock of MagicProxy", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "name": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock.MagicProxy.name", "name": "name", "type": "builtins.str"}}, "parent": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock.MagicProxy.parent", "name": "parent", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Mapping": {".class": "SymbolTableNode", "cross_ref": "typing.Mapping", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Mock": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["unittest.mock.CallableMixin", "unittest.mock.NonCallableMock"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock.Mock", "name": "Mock", "type_vars": []}, "deletable_attributes": [], "flags": ["fallback_to_any"], "fullname": "unittest.mock.Mock", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock.Mock", "unittest.mock.CallableMixin", "unittest.mock.NonCallableMock", "unittest.mock.Base", "builtins.object"], "names": {".class": "SymbolTable"}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "NonCallableMagicMock": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["unittest.mock.MagicMixin", "unittest.mock.NonCallableMock"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock.NonCallableMagicMock", "name": "NonCallableMagicMock", "type_vars": []}, "deletable_attributes": [], "flags": ["fallback_to_any"], "fullname": "unittest.mock.NonCallableMagicMock", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock.NonCallableMagicMock", "unittest.mock.MagicMixin", "unittest.mock.NonCallableMock", "unittest.mock.Base", "builtins.object"], "names": {".class": "SymbolTable", "mock_add_spec": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["self", "spec", "spec_set"], "flags": [], "fullname": "unittest.mock.NonCallableMagicMock.mock_add_spec", "name": "mock_add_spec", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1], "arg_names": ["self", "spec", "spec_set"], "arg_types": ["unittest.mock.NonCallableMagicMock", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "mock_add_spec of NonCallableMagicMock", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "NonCallableMock": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["unittest.mock.Base"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock.NonCallableMock", "name": "NonCallableMock", "type_vars": []}, "deletable_attributes": [], "flags": ["fallback_to_any"], "fullname": "unittest.mock.NonCallableMock", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock.NonCallableMock", "unittest.mock.Base", "builtins.object"], "names": {".class": "SymbolTable", "__delattr__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": [null, null], "flags": [], "fullname": "unittest.mock.NonCallableMock.__delattr__", "name": "__delattr__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["unittest.mock.NonCallableMock", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__delattr__ of NonCallableMock", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "__getattr__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": [null, null], "flags": [], "fullname": "unittest.mock.NonCallableMock.__getattr__", "name": "__getattr__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["unittest.mock.NonCallableMock", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__getattr__ of NonCallableMock", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4], "arg_names": ["self", "spec", "wraps", "name", "spec_set", "parent", "_spec_state", "_new_name", "_new_parent", "_spec_as_instance", "_eat_self", "unsafe", "kwargs"], "flags": [], "fullname": "unittest.mock.NonCallableMock.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4], "arg_names": ["self", "spec", "wraps", "name", "spec_set", "parent", "_spec_state", "_new_name", "_new_parent", "_spec_as_instance", "_eat_self", "unsafe", "kwargs"], "arg_types": ["unittest.mock.NonCallableMock", {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}, "builtins.object", {".class": "TypeType", "item": "builtins.object"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}, "builtins.object", {".class": "TypeType", "item": "builtins.object"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["unittest.mock.NonCallableMock", {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, "builtins.str", {".class": "UnionType", "items": ["unittest.mock.NonCallableMock", {".class": "NoneType"}]}, "builtins.bool", {".class": "UnionType", "items": ["builtins.bool", {".class": "NoneType"}]}, "builtins.bool", {".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": "__init__ of NonCallableMock", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "__new__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 4], "arg_names": [null, "args", "kw"], "flags": [], "fullname": "unittest.mock.NonCallableMock.__new__", "name": "__new__", "type": {".class": "CallableType", "arg_kinds": [0, 2, 4], "arg_names": [null, "args", "kw"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "_typeshed.Self", "id": -1, "name": "Self", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}}, {".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": {"first_arg": "__cls"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__new__ of NonCallableMock", "ret_type": {".class": "TypeVarType", "fullname": "_typeshed.Self", "id": -1, "name": "Self", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "_typeshed.Self", "id": -1, "name": "Self", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}]}}}, "__setattr__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "name", "value"], "flags": [], "fullname": "unittest.mock.NonCallableMock.__setattr__", "name": "__setattr__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["self", "name", "value"], "arg_types": ["unittest.mock.NonCallableMock", "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 NonCallableMock", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "_call_matcher": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "_call"], "flags": [], "fullname": "unittest.mock.NonCallableMock._call_matcher", "name": "_call_matcher", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "_call"], "arg_types": ["unittest.mock.NonCallableMock", {".class": "Instance", "args": ["unittest.mock._Call"], "type_ref": "builtins.tuple"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_call_matcher of NonCallableMock", "ret_type": "unittest.mock._Call", "type_guard": null, "variables": []}}}, "_extract_mock_name": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "unittest.mock.NonCallableMock._extract_mock_name", "name": "_extract_mock_name", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["unittest.mock.NonCallableMock"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_extract_mock_name of NonCallableMock", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "_format_mock_call_signature": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "args", "kwargs"], "flags": [], "fullname": "unittest.mock.NonCallableMock._format_mock_call_signature", "name": "_format_mock_call_signature", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["self", "args", "kwargs"], "arg_types": ["unittest.mock.NonCallableMock", {".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": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_format_mock_call_signature of NonCallableMock", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "_format_mock_failure_message": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "args", "kwargs"], "flags": [], "fullname": "unittest.mock.NonCallableMock._format_mock_failure_message", "name": "_format_mock_failure_message", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["self", "args", "kwargs"], "arg_types": ["unittest.mock.NonCallableMock", {".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": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_format_mock_failure_message of NonCallableMock", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "_get_call_signature_from_name": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "name"], "flags": [], "fullname": "unittest.mock.NonCallableMock._get_call_signature_from_name", "name": "_get_call_signature_from_name", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "name"], "arg_types": ["unittest.mock.NonCallableMock", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_get_call_signature_from_name of NonCallableMock", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "_get_child_mock": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 4], "arg_names": ["self", "kw"], "flags": [], "fullname": "unittest.mock.NonCallableMock._get_child_mock", "name": "_get_child_mock", "type": {".class": "CallableType", "arg_kinds": [0, 4], "arg_names": ["self", "kw"], "arg_types": ["unittest.mock.NonCallableMock", {".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": "_get_child_mock of NonCallableMock", "ret_type": "unittest.mock.NonCallableMock", "type_guard": null, "variables": []}}}, "_mock_add_spec": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 1, 1], "arg_names": ["self", "spec", "spec_set", "_spec_as_instance", "_eat_self"], "flags": [], "fullname": "unittest.mock.NonCallableMock._mock_add_spec", "name": "_mock_add_spec", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 1, 1], "arg_names": ["self", "spec", "spec_set", "_spec_as_instance", "_eat_self"], "arg_types": ["unittest.mock.NonCallableMock", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "builtins.bool", "builtins.bool", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_mock_add_spec of NonCallableMock", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "assert_any_call": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 4], "arg_names": ["self", "args", "kwargs"], "flags": [], "fullname": "unittest.mock.NonCallableMock.assert_any_call", "name": "assert_any_call", "type": {".class": "CallableType", "arg_kinds": [0, 2, 4], "arg_names": ["self", "args", "kwargs"], "arg_types": ["unittest.mock.NonCallableMock", {".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": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "assert_any_call of NonCallableMock", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "assert_called": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["_mock_self"], "flags": [], "fullname": "unittest.mock.NonCallableMock.assert_called", "name": "assert_called", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["_mock_self"], "arg_types": ["unittest.mock.NonCallableMock"], "bound_args": [], "def_extras": {"first_arg": "_mock_self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "assert_called of NonCallableMock", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "assert_called_once": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["_mock_self"], "flags": [], "fullname": "unittest.mock.NonCallableMock.assert_called_once", "name": "assert_called_once", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["_mock_self"], "arg_types": ["unittest.mock.NonCallableMock"], "bound_args": [], "def_extras": {"first_arg": "_mock_self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "assert_called_once of NonCallableMock", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "assert_called_once_with": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 4], "arg_names": ["_mock_self", "args", "kwargs"], "flags": [], "fullname": "unittest.mock.NonCallableMock.assert_called_once_with", "name": "assert_called_once_with", "type": {".class": "CallableType", "arg_kinds": [0, 2, 4], "arg_names": ["_mock_self", "args", "kwargs"], "arg_types": ["unittest.mock.NonCallableMock", {".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": {"first_arg": "_mock_self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "assert_called_once_with of NonCallableMock", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "assert_called_with": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 4], "arg_names": ["_mock_self", "args", "kwargs"], "flags": [], "fullname": "unittest.mock.NonCallableMock.assert_called_with", "name": "assert_called_with", "type": {".class": "CallableType", "arg_kinds": [0, 2, 4], "arg_names": ["_mock_self", "args", "kwargs"], "arg_types": ["unittest.mock.NonCallableMock", {".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": {"first_arg": "_mock_self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "assert_called_with of NonCallableMock", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "assert_has_calls": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["self", "calls", "any_order"], "flags": [], "fullname": "unittest.mock.NonCallableMock.assert_has_calls", "name": "assert_has_calls", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1], "arg_names": ["self", "calls", "any_order"], "arg_types": ["unittest.mock.NonCallableMock", {".class": "Instance", "args": ["unittest.mock._Call"], "type_ref": "typing.Sequence"}, "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "assert_has_calls of NonCallableMock", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "assert_not_called": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["_mock_self"], "flags": [], "fullname": "unittest.mock.NonCallableMock.assert_not_called", "name": "assert_not_called", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["_mock_self"], "arg_types": ["unittest.mock.NonCallableMock"], "bound_args": [], "def_extras": {"first_arg": "_mock_self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "assert_not_called of NonCallableMock", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "attach_mock": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "mock", "attribute"], "flags": [], "fullname": "unittest.mock.NonCallableMock.attach_mock", "name": "attach_mock", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["self", "mock", "attribute"], "arg_types": ["unittest.mock.NonCallableMock", "unittest.mock.NonCallableMock", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "attach_mock of NonCallableMock", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "call_args": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock.NonCallableMock.call_args", "name": "call_args", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "call_args_list": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock.NonCallableMock.call_args_list", "name": "call_args_list", "type": "unittest.mock._CallList"}}, "call_count": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock.NonCallableMock.call_count", "name": "call_count", "type": "builtins.int"}}, "called": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock.NonCallableMock.called", "name": "called", "type": "builtins.bool"}}, "configure_mock": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 4], "arg_names": ["self", "kwargs"], "flags": [], "fullname": "unittest.mock.NonCallableMock.configure_mock", "name": "configure_mock", "type": {".class": "CallableType", "arg_kinds": [0, 4], "arg_names": ["self", "kwargs"], "arg_types": ["unittest.mock.NonCallableMock", {".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": "configure_mock of NonCallableMock", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "mock_add_spec": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["self", "spec", "spec_set"], "flags": [], "fullname": "unittest.mock.NonCallableMock.mock_add_spec", "name": "mock_add_spec", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1], "arg_names": ["self", "spec", "spec_set"], "arg_types": ["unittest.mock.NonCallableMock", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "mock_add_spec of NonCallableMock", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "mock_calls": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock.NonCallableMock.mock_calls", "name": "mock_calls", "type": "unittest.mock._CallList"}}, "reset_mock": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 5, 5], "arg_names": ["self", "visited", "return_value", "side_effect"], "flags": [], "fullname": "unittest.mock.NonCallableMock.reset_mock", "name": "reset_mock", "type": {".class": "CallableType", "arg_kinds": [0, 1, 5, 5], "arg_names": ["self", "visited", "return_value", "side_effect"], "arg_types": ["unittest.mock.NonCallableMock", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "builtins.bool", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "reset_mock of NonCallableMock", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "return_value": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock.NonCallableMock.return_value", "name": "return_value", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "side_effect": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock.NonCallableMock.side_effect", "name": "side_effect", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "PropertyMock": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "unittest.mock.PropertyMock", "line": 443, "no_args": false, "normalized": false, "target": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}}}, "Self": {".class": "SymbolTableNode", "cross_ref": "_typeshed.Self", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Sequence": {".class": "SymbolTableNode", "cross_ref": "typing.Sequence", "kind": "Gdef", "module_hidden": true, "module_public": false}, "TracebackType": {".class": "SymbolTableNode", "cross_ref": "types.TracebackType", "kind": "Gdef", "module_hidden": true, "module_public": false}, "TypeAlias": {".class": "SymbolTableNode", "cross_ref": "typing_extensions.TypeAlias", "kind": "Gdef", "module_hidden": true, "module_public": false}, "TypeVar": {".class": "SymbolTableNode", "cross_ref": "typing.TypeVar", "kind": "Gdef", "module_hidden": true, "module_public": false}, "_ANY": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock._ANY", "name": "_ANY", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "unittest.mock._ANY", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock._ANY", "builtins.object"], "names": {".class": "SymbolTable", "__eq__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": [null, null], "flags": [], "fullname": "unittest.mock._ANY.__eq__", "name": "__eq__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["unittest.mock._ANY", "builtins.object"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__eq__ of _ANY", "ret_type": {".class": "LiteralType", "fallback": "builtins.bool", "value": true}, "type_guard": null, "variables": []}}}, "__ne__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": [null, null], "flags": [], "fullname": "unittest.mock._ANY.__ne__", "name": "__ne__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["unittest.mock._ANY", "builtins.object"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__ne__ of _ANY", "ret_type": {".class": "LiteralType", "fallback": "builtins.bool", "value": false}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_ArgsKwargs": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "unittest.mock._ArgsKwargs", "line": 81, "no_args": false, "normalized": false, "target": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}, {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "typing.Mapping"}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}}, "_Call": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": [{".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "builtins.tuple"}], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock._Call", "name": "_Call", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "unittest.mock._Call", "has_param_spec_type": false, "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock._Call", "builtins.tuple", "typing.Sequence", "typing.Collection", "typing.Reversible", "typing.Iterable", "typing.Container", "builtins.object"], "names": {".class": "SymbolTable", "__call__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 4], "arg_names": ["self", "args", "kwargs"], "flags": [], "fullname": "unittest.mock._Call.__call__", "name": "__call__", "type": {".class": "CallableType", "arg_kinds": [0, 2, 4], "arg_names": ["self", "args", "kwargs"], "arg_types": ["unittest.mock._Call", {".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": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__call__ of _Call", "ret_type": "unittest.mock._Call", "type_guard": null, "variables": []}}}, "__eq__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": [null, null], "flags": [], "fullname": "unittest.mock._Call.__eq__", "name": "__eq__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["unittest.mock._Call", "builtins.object"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__eq__ of _Call", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "__getattr__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": [null, null], "flags": [], "fullname": "unittest.mock._Call.__getattr__", "name": "__getattr__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["unittest.mock._Call", {".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": "__getattr__ of _Call", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "__getattribute__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": [null, null], "flags": [], "fullname": "unittest.mock._Call.__getattribute__", "name": "__getattribute__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["unittest.mock._Call", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__getattribute__ of _Call", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1, 1, 1], "arg_names": ["self", "value", "name", "parent", "two", "from_kall"], "flags": [], "fullname": "unittest.mock._Call.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 1, 1, 1], "arg_names": ["self", "value", "name", "parent", "two", "from_kall"], "arg_types": ["unittest.mock._Call", {".class": "TypeAliasType", "args": [], "type_ref": "unittest.mock._CallValue"}, {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, "builtins.bool", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of _Call", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "__ne__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": [null, null], "flags": [], "fullname": "unittest.mock._Call.__ne__", "name": "__ne__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["unittest.mock._Call", "builtins.object"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__ne__ of _Call", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "__new__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1, 1, 1], "arg_names": ["cls", "value", "name", "parent", "two", "from_kall"], "flags": [], "fullname": "unittest.mock._Call.__new__", "name": "__new__", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 1, 1, 1], "arg_names": ["cls", "value", "name", "parent", "two", "from_kall"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "_typeshed.Self", "id": -1, "name": "Self", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}}, {".class": "TypeAliasType", "args": [], "type_ref": "unittest.mock._CallValue"}, {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, "builtins.bool", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "cls"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__new__ of _Call", "ret_type": {".class": "TypeVarType", "fullname": "_typeshed.Self", "id": -1, "name": "Self", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "_typeshed.Self", "id": -1, "name": "Self", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}]}}}, "call_list": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "unittest.mock._Call.call_list", "name": "call_list", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["unittest.mock._Call"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "call_list of _Call", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "from_kall": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._Call.from_kall", "name": "from_kall", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "name": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._Call.name", "name": "name", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "parent": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._Call.parent", "name": "parent", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_CallList": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": [{".class": "Instance", "args": ["unittest.mock._Call"], "type_ref": "builtins.list"}], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock._CallList", "name": "_CallList", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "unittest.mock._CallList", "has_param_spec_type": false, "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock._CallList", "builtins.list", "typing.MutableSequence", "typing.Sequence", "typing.Collection", "typing.Reversible", "typing.Iterable", "typing.Container", "builtins.object"], "names": {".class": "SymbolTable", "__contains__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": [null, null], "flags": [], "fullname": "unittest.mock._CallList.__contains__", "name": "__contains__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["unittest.mock._CallList", {".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": "__contains__ of _CallList", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_CallValue": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "unittest.mock._CallValue", "line": 83, "no_args": false, "normalized": false, "target": {".class": "UnionType", "items": ["builtins.str", {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}, {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "typing.Mapping"}, {".class": "TypeAliasType", "args": [], "type_ref": "unittest.mock._ArgsKwargs"}, {".class": "TypeAliasType", "args": [], "type_ref": "unittest.mock._NameArgsKwargs"}]}}}, "_GeneratorContextManager": {".class": "SymbolTableNode", "cross_ref": "contextlib._GeneratorContextManager", "kind": "Gdef", "module_hidden": true, "module_public": false}, "_Mock": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeAlias", "alias_tvars": [], "column": 4, "fullname": "unittest.mock._Mock", "line": 289, "no_args": true, "normalized": false, "target": "unittest.mock.MagicMock"}}, "_NameArgsKwargs": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "unittest.mock._NameArgsKwargs", "line": 82, "no_args": false, "normalized": false, "target": {".class": "TupleType", "implicit": false, "items": ["builtins.str", {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}, {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "typing.Mapping"}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}}, "_R": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeVarExpr", "fullname": "unittest.mock._R", "name": "_R", "upper_bound": "builtins.object", "values": [], "variance": 0}}, "_Sentinel": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock._Sentinel", "name": "_Sentinel", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "unittest.mock._Sentinel", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock._Sentinel", "builtins.object"], "names": {".class": "SymbolTable", "__getattr__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": [null, null], "flags": [], "fullname": "unittest.mock._Sentinel.__getattr__", "name": "__getattr__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["unittest.mock._Sentinel", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__getattr__ of _Sentinel", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "unittest.mock._Sentinel.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["unittest.mock._Sentinel"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of _Sentinel", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_SentinelObject": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock._SentinelObject", "name": "_SentinelObject", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "unittest.mock._SentinelObject", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock._SentinelObject", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "name"], "flags": [], "fullname": "unittest.mock._SentinelObject.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "name"], "arg_types": ["unittest.mock._SentinelObject", {".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": "__init__ of _SentinelObject", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "name": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._SentinelObject.name", "name": "name", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_SpecState": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock._SpecState", "name": "_SpecState", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "unittest.mock._SpecState", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock._SpecState", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1, 1, 1, 1], "arg_names": ["self", "spec", "spec_set", "parent", "name", "ids", "instance"], "flags": [], "fullname": "unittest.mock._SpecState.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1, 1, 1, 1, 1], "arg_names": ["self", "spec", "spec_set", "parent", "name", "ids", "instance"], "arg_types": ["unittest.mock._SpecState", {".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}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".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": "__init__ of _SpecState", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "ids": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._SpecState.ids", "name": "ids", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "instance": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._SpecState.instance", "name": "instance", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "name": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._SpecState.name", "name": "name", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "parent": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._SpecState.parent", "name": "parent", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "spec": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._SpecState.spec", "name": "spec", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "spec_set": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._SpecState.spec_set", "name": "spec_set", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_T": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeVarExpr", "fullname": "unittest.mock._T", "name": "_T", "upper_bound": "builtins.object", "values": [], "variance": 0}}, "_TT": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeVarExpr", "fullname": "unittest.mock._TT", "name": "_TT", "upper_bound": {".class": "TypeType", "item": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}, "values": [], "variance": 0}}, "__all__": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "unittest.mock.__all__", "name": "__all__", "type": {".class": "TupleType", "implicit": false, "items": ["builtins.str", "builtins.str", "builtins.str", "builtins.str", "builtins.str", "builtins.str", "builtins.str", "builtins.str", "builtins.str", "builtins.str", "builtins.str", "builtins.str", "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"}}}}, "__annotations__": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.mock.__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", "module_public": false, "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.mock.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.mock.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.mock.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.mock.__package__", "name": "__package__", "type": "builtins.str"}}, "__version__": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.mock.__version__", "name": "__version__", "type": "builtins.str"}}, "_patch": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock._patch", "name": "_patch", "type_vars": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}]}, "deletable_attributes": [], "flags": [], "fullname": "unittest.mock._patch", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock._patch", "builtins.object"], "names": {".class": "SymbolTable", "__call__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "OverloadedFuncDef", "flags": [], "fullname": "unittest.mock._patch.__call__", "impl": null, "items": [{".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "func"], "flags": ["is_overload", "is_decorated"], "fullname": "unittest.mock._patch.__call__", "name": "__call__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "func"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}, {".class": "TypeVarType", "fullname": "unittest.mock._TT", "id": -1, "name": "_TT", "namespace": "", "upper_bound": {".class": "TypeType", "item": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}, "values": [], "variance": 0}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__call__ of _patch", "ret_type": {".class": "TypeVarType", "fullname": "unittest.mock._TT", "id": -1, "name": "_TT", "namespace": "", "upper_bound": {".class": "TypeType", "item": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "unittest.mock._TT", "id": -1, "name": "_TT", "namespace": "", "upper_bound": {".class": "TypeType", "item": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}, "values": [], "variance": 0}]}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "__call__", "type": null}}, {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "func"], "flags": ["is_overload", "is_decorated"], "fullname": "unittest.mock._patch.__call__", "name": "__call__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "func"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}, {".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": "TypeVarType", "fullname": "unittest.mock._R", "id": -1, "name": "_R", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": []}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__call__ of _patch", "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": "TypeVarType", "fullname": "unittest.mock._R", "id": -1, "name": "_R", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": []}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "unittest.mock._R", "id": -1, "name": "_R", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}]}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "__call__", "type": null}}], "type": {".class": "Overloaded", "items": [{".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "func"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}, {".class": "TypeVarType", "fullname": "unittest.mock._TT", "id": -1, "name": "_TT", "namespace": "", "upper_bound": {".class": "TypeType", "item": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}, "values": [], "variance": 0}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__call__ of _patch", "ret_type": {".class": "TypeVarType", "fullname": "unittest.mock._TT", "id": -1, "name": "_TT", "namespace": "", "upper_bound": {".class": "TypeType", "item": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "unittest.mock._TT", "id": -1, "name": "_TT", "namespace": "", "upper_bound": {".class": "TypeType", "item": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}, "values": [], "variance": 0}]}, {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "func"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}, {".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": "TypeVarType", "fullname": "unittest.mock._R", "id": -1, "name": "_R", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": []}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__call__ of _patch", "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": "TypeVarType", "fullname": "unittest.mock._R", "id": -1, "name": "_R", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": []}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "unittest.mock._R", "id": -1, "name": "_R", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}]}]}}}, "__enter__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": [null], "flags": [], "fullname": "unittest.mock._patch.__enter__", "name": "__enter__", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__enter__ of _patch", "ret_type": {".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": []}}}, "__exit__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": [null, null, null, null], "flags": [], "fullname": "unittest.mock._patch.__exit__", "name": "__exit__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": [null, null, null, null], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}, {".class": "UnionType", "items": [{".class": "TypeType", "item": "builtins.BaseException"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.BaseException", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["types.TracebackType", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__exit__ of _patch", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["self", "getter", "attribute", "new", "spec", "create", "spec_set", "autospec", "new_callable", "kwargs"], "flags": [], "fullname": "unittest.mock._patch.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["self", "getter", "attribute", "new", "spec", "create", "spec_set", "autospec", "new_callable", "kwargs"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}, {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}, "builtins.str", {".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, "builtins.bool", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "typing.Mapping"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of _patch", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "additional_patchers": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch.additional_patchers", "name": "additional_patchers", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "attribute": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch.attribute", "name": "attribute", "type": "builtins.str"}}, "attribute_name": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch.attribute_name", "name": "attribute_name", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "autospec": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch.autospec", "name": "autospec", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "copy": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "unittest.mock._patch.copy", "name": "copy", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "copy of _patch", "ret_type": {".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}, "type_guard": null, "variables": []}}}, "create": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch.create", "name": "create", "type": "builtins.bool"}}, "decorate_callable": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "func"], "flags": [], "fullname": "unittest.mock._patch.decorate_callable", "name": "decorate_callable", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "func"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}, {".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": "TypeVarType", "fullname": "unittest.mock._R", "id": -1, "name": "_R", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": []}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "decorate_callable of _patch", "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": "TypeVarType", "fullname": "unittest.mock._R", "id": -1, "name": "_R", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": []}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "unittest.mock._R", "id": -1, "name": "_R", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}]}}}, "decorate_class": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "klass"], "flags": [], "fullname": "unittest.mock._patch.decorate_class", "name": "decorate_class", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "klass"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}, {".class": "TypeVarType", "fullname": "unittest.mock._TT", "id": -1, "name": "_TT", "namespace": "", "upper_bound": {".class": "TypeType", "item": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}, "values": [], "variance": 0}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "decorate_class of _patch", "ret_type": {".class": "TypeVarType", "fullname": "unittest.mock._TT", "id": -1, "name": "_TT", "namespace": "", "upper_bound": {".class": "TypeType", "item": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "unittest.mock._TT", "id": -1, "name": "_TT", "namespace": "", "upper_bound": {".class": "TypeType", "item": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}, "values": [], "variance": 0}]}}}, "get_original": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "unittest.mock._patch.get_original", "name": "get_original", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "get_original of _patch", "ret_type": {".class": "TupleType", "implicit": false, "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "builtins.bool"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}, "getter": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch.getter", "name": "getter", "type": {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "has_local": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch.has_local", "name": "has_local", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "is_local": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch.is_local", "name": "is_local", "type": "builtins.bool"}}, "kwargs": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch.kwargs", "name": "kwargs", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "typing.Mapping"}}}, "new": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch.new", "name": "new", "type": {".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}}}, "new_callable": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch.new_callable", "name": "new_callable", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "spec": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch.spec", "name": "spec", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "spec_set": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch.spec_set", "name": "spec_set", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "start": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "unittest.mock._patch.start", "name": "start", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "start of _patch", "ret_type": {".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": []}}}, "stop": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "unittest.mock._patch.stop", "name": "stop", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": 1, "name": "_T", "namespace": "unittest.mock._patch", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "stop of _patch", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "target": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch.target", "name": "target", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "temp_original": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch.temp_original", "name": "temp_original", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}}, "slots": null, "tuple_type": null, "type_vars": ["_T"], "typeddict_type": null}}, "_patch_dict": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock._patch_dict", "name": "_patch_dict", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "unittest.mock._patch_dict", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock._patch_dict", "builtins.object"], "names": {".class": "SymbolTable", "__call__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "f"], "flags": [], "fullname": "unittest.mock._patch_dict.__call__", "name": "__call__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "f"], "arg_types": ["unittest.mock._patch_dict", {".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": "__call__ of _patch_dict", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "__enter__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": [null], "flags": [], "fullname": "unittest.mock._patch_dict.__enter__", "name": "__enter__", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": ["unittest.mock._patch_dict"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__enter__ of _patch_dict", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "__exit__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2], "arg_names": [null, null], "flags": [], "fullname": "unittest.mock._patch_dict.__exit__", "name": "__exit__", "type": {".class": "CallableType", "arg_kinds": [0, 2], "arg_names": [null, null], "arg_types": ["unittest.mock._patch_dict", "builtins.object"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__exit__ of _patch_dict", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1, 4], "arg_names": ["self", "in_dict", "values", "clear", "kwargs"], "flags": [], "fullname": "unittest.mock._patch_dict.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1, 1, 4], "arg_names": ["self", "in_dict", "values", "clear", "kwargs"], "arg_types": ["unittest.mock._patch_dict", {".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}, {".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": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of _patch_dict", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "clear": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch_dict.clear", "name": "clear", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "decorate_class": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "klass"], "flags": [], "fullname": "unittest.mock._patch_dict.decorate_class", "name": "decorate_class", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "klass"], "arg_types": ["unittest.mock._patch_dict", {".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": "decorate_class of _patch_dict", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "in_dict": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch_dict.in_dict", "name": "in_dict", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "start": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch_dict.start", "name": "start", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "stop": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch_dict.stop", "name": "stop", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "values": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patch_dict.values", "name": "values", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_patcher": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock._patcher", "name": "_patcher", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "unittest.mock._patcher", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock._patcher", "builtins.object"], "names": {".class": "SymbolTable", "TEST_PREFIX": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patcher.TEST_PREFIX", "name": "TEST_PREFIX", "type": "builtins.str"}}, "__call__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "OverloadedFuncDef", "flags": [], "fullname": "unittest.mock._patcher.__call__", "impl": null, "items": [{".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 1, 1, 1, 1, 1, 4], "arg_names": ["self", "target", "new", "spec", "create", "spec_set", "autospec", "new_callable", "kwargs"], "flags": ["is_overload", "is_decorated"], "fullname": "unittest.mock._patcher.__call__", "name": "__call__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 1, 1, 1, 1, 1, 4], "arg_names": ["self", "target", "new", "spec", "create", "spec_set", "autospec", "new_callable", "kwargs"], "arg_types": ["unittest.mock._patcher", "builtins.str", {".class": "TypeVarType", "fullname": "unittest.mock._T", "id": -1, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, "builtins.bool", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".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": "__call__ of _patcher", "ret_type": {".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": -1, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": -1, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}]}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "__call__", "type": null}}, {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 5, 5, 5, 5, 5, 4], "arg_names": ["self", "target", "spec", "create", "spec_set", "autospec", "new_callable", "kwargs"], "flags": ["is_overload", "is_decorated"], "fullname": "unittest.mock._patcher.__call__", "name": "__call__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 5, 5, 5, 5, 4], "arg_names": ["self", "target", "spec", "create", "spec_set", "autospec", "new_callable", "kwargs"], "arg_types": ["unittest.mock._patcher", "builtins.str", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, "builtins.bool", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".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": "__call__ of _patcher", "ret_type": {".class": "Instance", "args": ["unittest.mock.MagicMock"], "type_ref": "unittest.mock._patch"}, "type_guard": null, "variables": []}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "__call__", "type": null}}], "type": {".class": "Overloaded", "items": [{".class": "CallableType", "arg_kinds": [0, 0, 0, 1, 1, 1, 1, 1, 4], "arg_names": ["self", "target", "new", "spec", "create", "spec_set", "autospec", "new_callable", "kwargs"], "arg_types": ["unittest.mock._patcher", "builtins.str", {".class": "TypeVarType", "fullname": "unittest.mock._T", "id": -1, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, "builtins.bool", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".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": "__call__ of _patcher", "ret_type": {".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": -1, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": -1, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}]}, {".class": "CallableType", "arg_kinds": [0, 0, 5, 5, 5, 5, 5, 4], "arg_names": ["self", "target", "spec", "create", "spec_set", "autospec", "new_callable", "kwargs"], "arg_types": ["unittest.mock._patcher", "builtins.str", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, "builtins.bool", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".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": "__call__ of _patcher", "ret_type": {".class": "Instance", "args": ["unittest.mock.MagicMock"], "type_ref": "unittest.mock._patch"}, "type_guard": null, "variables": []}]}}}, "dict": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.mock._patcher.dict", "name": "dict", "type": {".class": "TypeType", "item": "unittest.mock._patch_dict"}}}, "multiple": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1, 1, 1, 1, 4], "arg_names": ["self", "target", "spec", "create", "spec_set", "autospec", "new_callable", "kwargs"], "flags": [], "fullname": "unittest.mock._patcher.multiple", "name": "multiple", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1, 1, 1, 1, 1, 4], "arg_names": ["self", "target", "spec", "create", "spec_set", "autospec", "new_callable", "kwargs"], "arg_types": ["unittest.mock._patcher", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, "builtins.bool", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".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": "multiple of _patcher", "ret_type": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "unittest.mock._patch"}, "type_guard": null, "variables": []}}}, "object": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "OverloadedFuncDef", "flags": [], "fullname": "unittest.mock._patcher.object", "impl": null, "items": [{".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 1, 1, 1, 1, 1, 4], "arg_names": ["self", "target", "attribute", "new", "spec", "create", "spec_set", "autospec", "new_callable", "kwargs"], "flags": ["is_overload", "is_decorated"], "fullname": "unittest.mock._patcher.object", "name": "object", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 1, 1, 1, 1, 1, 4], "arg_names": ["self", "target", "attribute", "new", "spec", "create", "spec_set", "autospec", "new_callable", "kwargs"], "arg_types": ["unittest.mock._patcher", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "builtins.str", {".class": "TypeVarType", "fullname": "unittest.mock._T", "id": -1, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, "builtins.bool", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".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": "object of _patcher", "ret_type": {".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": -1, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": -1, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}]}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "object", "type": null}}, {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 5, 5, 5, 5, 5, 4], "arg_names": ["self", "target", "attribute", "spec", "create", "spec_set", "autospec", "new_callable", "kwargs"], "flags": ["is_overload", "is_decorated"], "fullname": "unittest.mock._patcher.object", "name": "object", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 5, 5, 5, 5, 5, 4], "arg_names": ["self", "target", "attribute", "spec", "create", "spec_set", "autospec", "new_callable", "kwargs"], "arg_types": ["unittest.mock._patcher", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "builtins.str", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, "builtins.bool", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".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": "object of _patcher", "ret_type": {".class": "Instance", "args": ["unittest.mock.MagicMock"], "type_ref": "unittest.mock._patch"}, "type_guard": null, "variables": []}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "object", "type": null}}], "type": {".class": "Overloaded", "items": [{".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 1, 1, 1, 1, 1, 4], "arg_names": ["self", "target", "attribute", "new", "spec", "create", "spec_set", "autospec", "new_callable", "kwargs"], "arg_types": ["unittest.mock._patcher", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "builtins.str", {".class": "TypeVarType", "fullname": "unittest.mock._T", "id": -1, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, "builtins.bool", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".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": "object of _patcher", "ret_type": {".class": "Instance", "args": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": -1, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}], "type_ref": "unittest.mock._patch"}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "unittest.mock._T", "id": -1, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}]}, {".class": "CallableType", "arg_kinds": [0, 0, 0, 5, 5, 5, 5, 5, 4], "arg_names": ["self", "target", "attribute", "spec", "create", "spec_set", "autospec", "new_callable", "kwargs"], "arg_types": ["unittest.mock._patcher", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "builtins.str", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, "builtins.bool", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".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": "object of _patcher", "ret_type": {".class": "Instance", "args": ["unittest.mock.MagicMock"], "type_ref": "unittest.mock._patch"}, "type_guard": null, "variables": []}]}}}, "stopall": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "unittest.mock._patcher.stopall", "name": "stopall", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["unittest.mock._patcher"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "stopall of _patcher", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_slotted": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.mock._slotted", "name": "_slotted", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "unittest.mock._slotted", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "unittest.mock", "mro": ["unittest.mock._slotted", "builtins.object"], "names": {".class": "SymbolTable"}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "call": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.mock.call", "name": "call", "type": "unittest.mock._Call"}}, "create_autospec": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1, 1, 4], "arg_names": ["spec", "spec_set", "instance", "_parent", "_name", "kwargs"], "flags": [], "fullname": "unittest.mock.create_autospec", "name": "create_autospec", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 1, 1, 4], "arg_names": ["spec", "spec_set", "instance", "_parent", "_name", "kwargs"], "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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".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": "create_autospec", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "mock_open": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [1, 1], "arg_names": ["mock", "read_data"], "flags": [], "fullname": "unittest.mock.mock_open", "name": "mock_open", "type": {".class": "CallableType", "arg_kinds": [1, 1], "arg_names": ["mock", "read_data"], "arg_types": [{".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".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": "mock_open", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "overload": {".class": "SymbolTableNode", "cross_ref": "typing.overload", "kind": "Gdef", "module_hidden": true, "module_public": false}, "patch": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.mock.patch", "name": "patch", "type": "unittest.mock._patcher"}}, "seal": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["mock"], "flags": [], "fullname": "unittest.mock.seal", "name": "seal", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["mock"], "arg_types": [{".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": "seal", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "sentinel": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.mock.sentinel", "name": "sentinel", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "sys": {".class": "SymbolTableNode", "cross_ref": "sys", "kind": "Gdef", "module_hidden": true, "module_public": false}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/mypy/typeshed/stdlib/unittest/mock.pyi"}