reformatted

This commit is contained in:
2023-08-11 19:00:56 +03:00
parent b712db47d3
commit 7153f21ad1

View File

@@ -5,4 +5,8 @@ These are implementations of different (in-application) rate limiting algorithms
because it might refer to IP address, a session ID, or perhaps an API key or token. because it might refer to IP address, a session ID, or perhaps an API key or token.
""" """
from .token_bucket import token_bucket_in_memory_lazy_refill, TooManyRequests from .token_bucket import token_bucket_in_memory_lazy_refill, TooManyRequests
from .leaky_bucket import leaking_bucket_dequeue, leaking_bucket_enqueue, RUN_LEAKING_BUCKET_TASKS_EVERY_X_SECONDS from .leaky_bucket import (
leaking_bucket_dequeue,
leaking_bucket_enqueue,
RUN_LEAKING_BUCKET_TASKS_EVERY_X_SECONDS,
)