Compare commits
No commits in common. "bd405b3d5a04f13b85e207c0d530233881d88a60" and "cb74afa1bf2d1a987095e23316fe2bf59ee8d31f" have entirely different histories.
bd405b3d5a
...
cb74afa1bf
|
@ -19,13 +19,10 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
- name: Installing Python Dependencies
|
||||
if: success()
|
||||
run: python3 -m pip install --upgrade pip setuptools wheel build twine pytest pytest-cov --break-system-packages
|
||||
run: python3 -m pip install --upgrade pip setuptools wheel build twine pytest --break-system-packages
|
||||
- name: Installing Python Test Dependencies
|
||||
if: success() && hashFiles('requirements_test.txt') != ''
|
||||
run: python3 -m pip install --upgrade -r requirements_test.txt --break-system-packages
|
||||
- name: Installing package
|
||||
if: success()
|
||||
run: python3 -m pip install .[test] --break-system-packages
|
||||
- name: Test Python Code
|
||||
if: success()
|
||||
run: python3 -m pytest test --cov=requests_util --cov-report html:htmlcov --cov-fail-under=0
|
||||
|
|
|
@ -71,7 +71,7 @@ def initialize_session() -> requests.Session:
|
|||
def setup_limiter(
|
||||
session: requests.Session,
|
||||
url_prefix: str,
|
||||
expire_after: datetime.timedelta | None = None,
|
||||
expire_after: datetime.datetime | 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