mirror of
https://github.com/apache/superset.git
synced 2026-05-27 18:55:13 +00:00
1 line
34 KiB
JSON
1 line
34 KiB
JSON
{".class": "MypyFile", "_fullname": "redis.sentinel", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": true, "names": {".class": "SymbolTable", "Any": {".class": "SymbolTableNode", "cross_ref": "typing.Any", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Connection": {".class": "SymbolTableNode", "cross_ref": "redis.connection.Connection", "kind": "Gdef", "module_hidden": true, "module_public": false}, "ConnectionError": {".class": "SymbolTableNode", "cross_ref": "redis.exceptions.ConnectionError", "kind": "Gdef", "module_hidden": true, "module_public": false}, "ConnectionPool": {".class": "SymbolTableNode", "cross_ref": "redis.connection.ConnectionPool", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Iterable": {".class": "SymbolTableNode", "cross_ref": "typing.Iterable", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Iterator": {".class": "SymbolTableNode", "cross_ref": "typing.Iterator", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Literal": {".class": "SymbolTableNode", "cross_ref": "typing_extensions.Literal", "kind": "Gdef", "module_hidden": true, "module_public": false}, "MasterNotFoundError": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["redis.exceptions.ConnectionError"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "redis.sentinel.MasterNotFoundError", "name": "MasterNotFoundError", "type_vars": []}, "flags": [], "fullname": "redis.sentinel.MasterNotFoundError", "metaclass_type": null, "metadata": {}, "module_name": "redis.sentinel", "mro": ["redis.sentinel.MasterNotFoundError", "redis.exceptions.ConnectionError", "redis.exceptions.RedisError", "builtins.Exception", "builtins.BaseException", "builtins.object"], "names": {".class": "SymbolTable"}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Redis": {".class": "SymbolTableNode", "cross_ref": "redis.client.Redis", "kind": "Gdef", "module_hidden": true, "module_public": false}, "SSLConnection": {".class": "SymbolTableNode", "cross_ref": "redis.connection.SSLConnection", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Sentinel": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["redis.commands.sentinel.SentinelCommands"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "redis.sentinel.Sentinel", "name": "Sentinel", "type_vars": []}, "flags": [], "fullname": "redis.sentinel.Sentinel", "metaclass_type": null, "metadata": {}, "module_name": "redis.sentinel", "mro": ["redis.sentinel.Sentinel", "redis.commands.sentinel.SentinelCommands", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1, 4], "arg_names": ["self", "sentinels", "min_other_sentinels", "sentinel_kwargs", "connection_kwargs"], "flags": [], "fullname": "redis.sentinel.Sentinel.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1, 1, 4], "arg_names": ["self", "sentinels", "min_other_sentinels", "sentinel_kwargs", "connection_kwargs"], "arg_types": ["redis.sentinel.Sentinel", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "redis.sentinel._AddressAndPort"}], "type_ref": "typing.Iterable"}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "builtins.dict"}, {".class": "NoneType"}]}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__init__ of Sentinel", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "check_master_state": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "state", "service_name"], "flags": [], "fullname": "redis.sentinel.Sentinel.check_master_state", "name": "check_master_state", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["self", "state", "service_name"], "arg_types": ["redis.sentinel.Sentinel", {".class": "TypeAliasType", "args": [], "type_ref": "redis.sentinel._SentinelState"}, "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "check_master_state of Sentinel", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "connection_kwargs": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "redis.sentinel.Sentinel.connection_kwargs", "name": "connection_kwargs", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "builtins.dict"}}}, "discover_master": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "service_name"], "flags": [], "fullname": "redis.sentinel.Sentinel.discover_master", "name": "discover_master", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "service_name"], "arg_types": ["redis.sentinel.Sentinel", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "discover_master of Sentinel", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "redis.sentinel._AddressAndPort"}, "type_guard": null, "variables": []}}}, "discover_slaves": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "service_name"], "flags": [], "fullname": "redis.sentinel.Sentinel.discover_slaves", "name": "discover_slaves", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "service_name"], "arg_types": ["redis.sentinel.Sentinel", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "discover_slaves of Sentinel", "ret_type": {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "redis.sentinel._AddressAndPort"}], "type_ref": "builtins.list"}, "type_guard": null, "variables": []}}}, "execute_command": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 4], "arg_names": ["self", "args", "kwargs"], "flags": [], "fullname": "redis.sentinel.Sentinel.execute_command", "name": "execute_command", "type": {".class": "CallableType", "arg_kinds": [0, 2, 4], "arg_names": ["self", "args", "kwargs"], "arg_types": ["redis.sentinel.Sentinel", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "execute_command of Sentinel", "ret_type": {".class": "LiteralType", "fallback": "builtins.bool", "value": true}, "type_guard": null, "variables": []}}}, "filter_slaves": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "slaves"], "flags": [], "fullname": "redis.sentinel.Sentinel.filter_slaves", "name": "filter_slaves", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "slaves"], "arg_types": ["redis.sentinel.Sentinel", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "redis.sentinel._SentinelState"}], "type_ref": "typing.Iterable"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "filter_slaves of Sentinel", "ret_type": {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "redis.sentinel._AddressAndPort"}], "type_ref": "builtins.list"}, "type_guard": null, "variables": []}}}, "master_for": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "OverloadedFuncDef", "flags": [], "fullname": "redis.sentinel.Sentinel.master_for", "impl": null, "items": [{".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 5, 4], "arg_names": ["self", "service_name", "connection_pool_class", "kwargs"], "flags": ["is_overload", "is_decorated"], "fullname": "redis.sentinel.Sentinel.master_for", "name": "master_for", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 4], "arg_names": ["self", "service_name", "connection_pool_class", "kwargs"], "arg_types": ["redis.sentinel.Sentinel", "builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "master_for of Sentinel", "ret_type": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}, "type_guard": null, "variables": []}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "master_for", "type": null}}, {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 1, 4], "arg_names": ["self", "service_name", "redis_class", "connection_pool_class", "kwargs"], "flags": ["is_overload", "is_decorated"], "fullname": "redis.sentinel.Sentinel.master_for", "name": "master_for", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 1, 4], "arg_names": ["self", "service_name", "redis_class", "connection_pool_class", "kwargs"], "arg_types": ["redis.sentinel.Sentinel", "builtins.str", {".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "redis.sentinel._RedisT", "id": -1, "name": "_RedisT", "upper_bound": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}, "values": [], "variance": 0}}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "master_for of Sentinel", "ret_type": {".class": "TypeVarType", "fullname": "redis.sentinel._RedisT", "id": -1, "name": "_RedisT", "upper_bound": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "redis.sentinel._RedisT", "id": -1, "name": "_RedisT", "upper_bound": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}, "values": [], "variance": 0}]}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "master_for", "type": null}}], "type": {".class": "Overloaded", "items": [{".class": "CallableType", "arg_kinds": [0, 0, 5, 4], "arg_names": ["self", "service_name", "connection_pool_class", "kwargs"], "arg_types": ["redis.sentinel.Sentinel", "builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "master_for of Sentinel", "ret_type": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}, "type_guard": null, "variables": []}, {".class": "CallableType", "arg_kinds": [0, 0, 0, 1, 4], "arg_names": ["self", "service_name", "redis_class", "connection_pool_class", "kwargs"], "arg_types": ["redis.sentinel.Sentinel", "builtins.str", {".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "redis.sentinel._RedisT", "id": -1, "name": "_RedisT", "upper_bound": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}, "values": [], "variance": 0}}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "master_for of Sentinel", "ret_type": {".class": "TypeVarType", "fullname": "redis.sentinel._RedisT", "id": -1, "name": "_RedisT", "upper_bound": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "redis.sentinel._RedisT", "id": -1, "name": "_RedisT", "upper_bound": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}, "values": [], "variance": 0}]}]}}}, "min_other_sentinels": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "redis.sentinel.Sentinel.min_other_sentinels", "name": "min_other_sentinels", "type": "builtins.int"}}, "sentinel_kwargs": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "redis.sentinel.Sentinel.sentinel_kwargs", "name": "sentinel_kwargs", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "builtins.dict"}}}, "sentinels": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "redis.sentinel.Sentinel.sentinels", "name": "sentinels", "type": {".class": "Instance", "args": [{".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}], "type_ref": "builtins.list"}}}, "slave_for": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "OverloadedFuncDef", "flags": [], "fullname": "redis.sentinel.Sentinel.slave_for", "impl": null, "items": [{".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 5, 4], "arg_names": ["self", "service_name", "connection_pool_class", "kwargs"], "flags": ["is_overload", "is_decorated"], "fullname": "redis.sentinel.Sentinel.slave_for", "name": "slave_for", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 4], "arg_names": ["self", "service_name", "connection_pool_class", "kwargs"], "arg_types": ["redis.sentinel.Sentinel", "builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "slave_for of Sentinel", "ret_type": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}, "type_guard": null, "variables": []}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "slave_for", "type": null}}, {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 1, 4], "arg_names": ["self", "service_name", "redis_class", "connection_pool_class", "kwargs"], "flags": ["is_overload", "is_decorated"], "fullname": "redis.sentinel.Sentinel.slave_for", "name": "slave_for", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 1, 4], "arg_names": ["self", "service_name", "redis_class", "connection_pool_class", "kwargs"], "arg_types": ["redis.sentinel.Sentinel", "builtins.str", {".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "redis.sentinel._RedisT", "id": -1, "name": "_RedisT", "upper_bound": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}, "values": [], "variance": 0}}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "slave_for of Sentinel", "ret_type": {".class": "TypeVarType", "fullname": "redis.sentinel._RedisT", "id": -1, "name": "_RedisT", "upper_bound": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "redis.sentinel._RedisT", "id": -1, "name": "_RedisT", "upper_bound": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}, "values": [], "variance": 0}]}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "slave_for", "type": null}}], "type": {".class": "Overloaded", "items": [{".class": "CallableType", "arg_kinds": [0, 0, 5, 4], "arg_names": ["self", "service_name", "connection_pool_class", "kwargs"], "arg_types": ["redis.sentinel.Sentinel", "builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "slave_for of Sentinel", "ret_type": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}, "type_guard": null, "variables": []}, {".class": "CallableType", "arg_kinds": [0, 0, 0, 1, 4], "arg_names": ["self", "service_name", "redis_class", "connection_pool_class", "kwargs"], "arg_types": ["redis.sentinel.Sentinel", "builtins.str", {".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "redis.sentinel._RedisT", "id": -1, "name": "_RedisT", "upper_bound": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}, "values": [], "variance": 0}}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "slave_for of Sentinel", "ret_type": {".class": "TypeVarType", "fullname": "redis.sentinel._RedisT", "id": -1, "name": "_RedisT", "upper_bound": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "redis.sentinel._RedisT", "id": -1, "name": "_RedisT", "upper_bound": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}, "values": [], "variance": 0}]}]}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "SentinelCommands": {".class": "SymbolTableNode", "cross_ref": "redis.commands.sentinel.SentinelCommands", "kind": "Gdef", "module_hidden": true, "module_public": false}, "SentinelConnectionPool": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["redis.connection.ConnectionPool"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "redis.sentinel.SentinelConnectionPool", "name": "SentinelConnectionPool", "type_vars": []}, "flags": [], "fullname": "redis.sentinel.SentinelConnectionPool", "metaclass_type": null, "metadata": {}, "module_name": "redis.sentinel", "mro": ["redis.sentinel.SentinelConnectionPool", "redis.connection.ConnectionPool", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 4], "arg_names": ["self", "service_name", "sentinel_manager", "kwargs"], "flags": [], "fullname": "redis.sentinel.SentinelConnectionPool.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 4], "arg_names": ["self", "service_name", "sentinel_manager", "kwargs"], "arg_types": ["redis.sentinel.SentinelConnectionPool", "builtins.str", "redis.sentinel.Sentinel", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__init__ of SentinelConnectionPool", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "check_connection": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "redis.sentinel.SentinelConnectionPool.check_connection", "name": "check_connection", "type": "builtins.bool"}}, "get_master_address": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "redis.sentinel.SentinelConnectionPool.get_master_address", "name": "get_master_address", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["redis.sentinel.SentinelConnectionPool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "get_master_address of SentinelConnectionPool", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "redis.sentinel._AddressAndPort"}, "type_guard": null, "variables": []}}}, "is_master": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "redis.sentinel.SentinelConnectionPool.is_master", "name": "is_master", "type": "builtins.bool"}}, "owns_connection": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "connection"], "flags": [], "fullname": "redis.sentinel.SentinelConnectionPool.owns_connection", "name": "owns_connection", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "connection"], "arg_types": ["redis.sentinel.SentinelConnectionPool", "redis.connection.Connection"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "owns_connection of SentinelConnectionPool", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "reset": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "redis.sentinel.SentinelConnectionPool.reset", "name": "reset", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["redis.sentinel.SentinelConnectionPool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "reset of SentinelConnectionPool", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "rotate_slaves": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "redis.sentinel.SentinelConnectionPool.rotate_slaves", "name": "rotate_slaves", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["redis.sentinel.SentinelConnectionPool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "rotate_slaves of SentinelConnectionPool", "ret_type": {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "redis.sentinel._AddressAndPort"}], "type_ref": "typing.Iterator"}, "type_guard": null, "variables": []}}}, "sentinel_manager": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "redis.sentinel.SentinelConnectionPool.sentinel_manager", "name": "sentinel_manager", "type": "redis.sentinel.Sentinel"}}, "service_name": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "redis.sentinel.SentinelConnectionPool.service_name", "name": "service_name", "type": "builtins.str"}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "SentinelManagedConnection": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["redis.connection.Connection"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "redis.sentinel.SentinelManagedConnection", "name": "SentinelManagedConnection", "type_vars": []}, "flags": [], "fullname": "redis.sentinel.SentinelManagedConnection", "metaclass_type": null, "metadata": {}, "module_name": "redis.sentinel", "mro": ["redis.sentinel.SentinelManagedConnection", "redis.connection.Connection", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 4], "arg_names": ["self", "kwargs"], "flags": [], "fullname": "redis.sentinel.SentinelManagedConnection.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 4], "arg_names": ["self", "kwargs"], "arg_types": ["redis.sentinel.SentinelManagedConnection", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__init__ of SentinelManagedConnection", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "connect": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "redis.sentinel.SentinelManagedConnection.connect", "name": "connect", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["redis.sentinel.SentinelManagedConnection"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "connect of SentinelManagedConnection", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "connect_to": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "address"], "flags": [], "fullname": "redis.sentinel.SentinelManagedConnection.connect_to", "name": "connect_to", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "address"], "arg_types": ["redis.sentinel.SentinelManagedConnection", {".class": "TypeAliasType", "args": [], "type_ref": "redis.sentinel._AddressAndPort"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "connect_to of SentinelManagedConnection", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "connection_pool": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "redis.sentinel.SentinelManagedConnection.connection_pool", "name": "connection_pool", "type": "redis.sentinel.SentinelConnectionPool"}}, "read_response": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "disable_decoding"], "flags": [], "fullname": "redis.sentinel.SentinelManagedConnection.read_response", "name": "read_response", "type": {".class": "CallableType", "arg_kinds": [0, 1], "arg_names": ["self", "disable_decoding"], "arg_types": ["redis.sentinel.SentinelManagedConnection", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "read_response of SentinelManagedConnection", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "SentinelManagedSSLConnection": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["redis.sentinel.SentinelManagedConnection", "redis.connection.SSLConnection"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "redis.sentinel.SentinelManagedSSLConnection", "name": "SentinelManagedSSLConnection", "type_vars": []}, "flags": [], "fullname": "redis.sentinel.SentinelManagedSSLConnection", "metaclass_type": null, "metadata": {}, "module_name": "redis.sentinel", "mro": ["redis.sentinel.SentinelManagedSSLConnection", "redis.sentinel.SentinelManagedConnection", "redis.connection.SSLConnection", "redis.connection.Connection", "builtins.object"], "names": {".class": "SymbolTable"}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "SlaveNotFoundError": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["redis.exceptions.ConnectionError"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "redis.sentinel.SlaveNotFoundError", "name": "SlaveNotFoundError", "type_vars": []}, "flags": [], "fullname": "redis.sentinel.SlaveNotFoundError", "metaclass_type": null, "metadata": {}, "module_name": "redis.sentinel", "mro": ["redis.sentinel.SlaveNotFoundError", "redis.exceptions.ConnectionError", "redis.exceptions.RedisError", "builtins.Exception", "builtins.BaseException", "builtins.object"], "names": {".class": "SymbolTable"}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "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}, "_AddressAndPort": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "redis.sentinel._AddressAndPort", "line": 11, "no_args": false, "normalized": false, "target": {".class": "TupleType", "implicit": false, "items": ["builtins.str", "builtins.int"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}}, "_RedisT": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeVarExpr", "fullname": "redis.sentinel._RedisT", "name": "_RedisT", "upper_bound": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "redis.client.Redis"}, "values": [], "variance": 0}}, "_SentinelState": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "redis.sentinel._SentinelState", "line": 12, "no_args": false, "normalized": false, "target": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "redis.sentinel.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "redis.sentinel.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "redis.sentinel.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "redis.sentinel.__package__", "name": "__package__", "type": "builtins.str"}}, "overload": {".class": "SymbolTableNode", "cross_ref": "typing.overload", "kind": "Gdef", "module_hidden": true, "module_public": false}}, "path": "/Users/max/.cache/pre-commit/repo61zz492t/py_env-python3.8/lib/python3.8/site-packages/redis-stubs/sentinel.pyi"} |