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

Class CommandPolicies

redis/_parsers/commands.py:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34
35class CommandPolicies:
36 def __init__(
37 self,
38 request_policy: RequestPolicy = RequestPolicy.DEFAULT_KEYLESS,
39 response_policy: ResponsePolicy = ResponsePolicy.DEFAULT_KEYLESS,
40 ):
41 self.request_policy = request_policy
42 self.response_policy = response_policy
43
44
45PolicyRecords = dict[str, dict[str, CommandPolicies]]

Callers 9

test_resolveMethod · 0.90
test_resolveMethod · 0.90
execute_commandMethod · 0.90
_executeMethod · 0.90
policies.pyFile · 0.90
get_command_policiesMethod · 0.85
get_command_policiesMethod · 0.85

Calls

no outgoing calls

Tested by 2

test_resolveMethod · 0.72
test_resolveMethod · 0.72