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

Method active_database

redis/multidb/command_executor.py:219–220  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

217
218 @property
219 def active_database(self) -> Optional[SyncDatabase]:
220 return self._active_database
221
222 @active_database.setter
223 def active_database(self, value: Tuple[SyncDatabase, GeoFailoverReason]) -> None:

Callers

nothing calls this directly

Calls 3

record_geo_failoverFunction · 0.90
dispatchMethod · 0.45

Tested by

no test coverage detected