Skip to content

Commit 04acd50

Browse files
committed
fix return type
(cherry picked from commit 772ed71)
1 parent ff32a17 commit 04acd50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

django_valkey/util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def glob_escape(s: str) -> str:
3131

3232
def make_key(
3333
key: KeyT, key_func, version: int | None = None, prefix: str | None = None
34-
) -> KeyT:
34+
) -> str:
3535
if isinstance(key, CacheKey):
3636
return key
3737

@@ -40,7 +40,7 @@ def make_key(
4040

4141
def make_pattern(
4242
pattern: str, key_func, version: int | None = None, prefix: str | None = None
43-
) -> KeyT:
43+
) -> str:
4444
if isinstance(pattern, CacheKey):
4545
return pattern
4646

0 commit comments

Comments
 (0)