Skip to content

Commit eccdc9b

Browse files
committed
add server information to repr
1 parent f7afb77 commit eccdc9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aiocache/backends/valkey.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,4 +245,4 @@ def parse_uri_path(cls, path):
245245
return options
246246

247247
def __repr__(self): # pragma: no cover
248-
return "ValkeyCache"
248+
return f"ValkeyCache ({self.client.config.addresses[0].host}:{self.client.config.addresses[0].port})"

0 commit comments

Comments
 (0)