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

Method execute

redis/commands/core.py:2581–2590  ·  view source on GitHub ↗

Execute the operation(s) in a single BITFIELD command. The return value is a list of values corresponding to each operation. If the client used to create this instance was a pipeline, the list of values will be present within the pipeline's execute.

(self)

Source from the content-addressed store, hash-verified

2579 return cmd
2580
2581 def execute(self) -> ResponseT:
2582 """
2583 Execute the operation(s) in a single BITFIELD command. The return value
2584 is a list of values corresponding to each operation. If the client
2585 used to create this instance was a pipeline, the list of values
2586 will be present within the pipeline's execute.
2587 """
2588 command = self.command
2589 self.reset()
2590 return self.client.execute_command(*command)
2591
2592
2593class DataPersistOptions(Enum):

Callers 6

sugaddMethod · 0.45
sugaddMethod · 0.45
commitMethod · 0.45
commitMethod · 0.45

Calls 2

resetMethod · 0.95
execute_commandMethod · 0.45

Tested by

no test coverage detected