def __str__(self):
return str(
{
+ "DB type": "Redis",
"Redis connection": repr(self.__redis)
}
)
def __str__(self):
return str(
{
+ "lock DB type": "Redis",
"lock namespace": self._ns,
"lock name": self._lock_name,
"lock status": self._lock_status_to_string()