Skip to content

Commit

Permalink
chore: Update warn to warning py3.11 deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin868 authored May 8, 2024
1 parent 6547679 commit 79d2a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slowapi/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ def _check_request_limit(
if isinstance(e, RateLimitExceeded):
raise
if self._in_memory_fallback_enabled and not self._storage_dead:
self.logger.warn(
self.logger.warning(
"Rate limit storage unreachable - falling back to"
" in-memory storage"
)
Expand Down

0 comments on commit 79d2a38

Please sign in to comment.