Skip to content

Commit

Permalink
Merge pull request #200 from kevin868/update_warn1
Browse files Browse the repository at this point in the history
chore: Update warn to warning py3.11 deprecation
  • Loading branch information
Rested authored Jun 4, 2024
2 parents 6547679 + 79d2a38 commit 7769a13
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 7769a13

Please sign in to comment.