Skip to content

Commit 342514c

Browse files
committed
Fix mypy
1 parent 9a8c59d commit 342514c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ninja/throttling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def get_cache_key(self, request: HttpRequest) -> str:
241241
ident = hashlib.sha256(str(request.auth).encode()).hexdigest() # type: ignore
242242
# TODO: ^maybe auth should have an attribute that developer can overwrite
243243
else:
244-
ident = self.client_ip(request) # type: ignore
244+
ident = self.client_ip(request)
245245

246246
return self.cache_format % {"scope": self.scope, "ident": ident}
247247

0 commit comments

Comments
 (0)