1
0

Fixed type on expire after
All checks were successful
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 22s
Python Ruff Code Quality / ruff (push) Successful in 23s
Run Python tests (through Pytest) / Test (push) Successful in 25s

This commit is contained in:
Jon Michael Aanes 2024-10-23 20:58:39 +02:00
parent 47fec623f5
commit bd405b3d5a
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

View File

@ -71,7 +71,7 @@ def initialize_session() -> requests.Session:
def setup_limiter(
session: requests.Session,
url_prefix: str,
expire_after: datetime.datetime | None = None,
expire_after: datetime.timedelta | None = None,
**limiter_args,
) -> requests.Session:
"""Initializes limiter on session for the given domain with the given