Fixed type on expire after
This commit is contained in:
parent
47fec623f5
commit
bd405b3d5a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user