(client)
| 68 | |
| 69 | |
| 70 | def redis_server_time(client): |
| 71 | seconds, milliseconds = client.time() |
| 72 | timestamp = float(f"{seconds}.{milliseconds}") |
| 73 | return datetime.fromtimestamp(timestamp) |
| 74 | |
| 75 | |
| 76 | # Tests for deprecated_function decorator |
no test coverage detected