MCPcopy
hub / github.com/redis/redis-py / with_fallback

Method with_fallback

redis/commands/policies.py:273–274  ·  view source on GitHub ↗
(self, fallback: "PolicyResolver")

Source from the content-addressed store, hash-verified

271 super().__init__(commands_parser.get_command_policies(), fallback)
272
273 def with_fallback(self, fallback: "PolicyResolver") -> "PolicyResolver":
274 return DynamicPolicyResolver(self._commands_parser, fallback)
275
276
277class StaticPolicyResolver(BasePolicyResolver):

Callers 1

test_resolveMethod · 0.95

Calls 1

Tested by 1

test_resolveMethod · 0.76