Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/client_quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Passing Parameters In URLs
You often want to send some sort of data in the URL's query string. If
you were constructing the URL by hand, this data would be given as key/value
pairs in the URL after a question mark, e.g. ``httpbin.org/get?key=val``.
Requests allows you to provide these arguments as a :class:`dict`, using the
aiohttp allows you to provide these arguments as a :class:`dict`, using the
``params`` keyword argument. As an example, if you wanted to pass
``key1=value1`` and ``key2=value2`` to ``httpbin.org/get``, you would use the
following code::
Expand Down
4 changes: 2 additions & 2 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ imagesize==1.4.1
# via sphinx
incremental==24.7.2
# via towncrier
iniconfig==2.0.0
iniconfig==2.1.0
# via pytest
jinja2==3.1.6
# via
Expand Down Expand Up @@ -130,7 +130,7 @@ packaging==24.2
# sphinx
pip-tools==7.4.1
# via -r requirements/dev.in
platformdirs==4.3.6
platformdirs==4.3.7
# via virtualenv
pluggy==1.5.0
# via pytest
Expand Down
4 changes: 2 additions & 2 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ imagesize==1.4.1
# via sphinx
incremental==24.7.2
# via towncrier
iniconfig==2.0.0
iniconfig==2.1.0
# via pytest
jinja2==3.1.6
# via
Expand Down Expand Up @@ -127,7 +127,7 @@ packaging==24.2
# sphinx
pip-tools==7.4.1
# via -r requirements/dev.in
platformdirs==4.3.6
platformdirs==4.3.7
# via virtualenv
pluggy==1.5.0
# via pytest
Expand Down
4 changes: 2 additions & 2 deletions requirements/lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ identify==2.6.9
# via pre-commit
idna==3.7
# via trustme
iniconfig==2.0.0
iniconfig==2.1.0
# via pytest
markdown-it-py==3.0.0
# via rich
Expand All @@ -51,7 +51,7 @@ nodeenv==1.9.1
# via pre-commit
packaging==24.2
# via pytest
platformdirs==4.3.6
platformdirs==4.3.7
# via virtualenv
pluggy==1.5.0
# via pytest
Expand Down
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ idna==3.6
# via
# trustme
# yarl
iniconfig==2.0.0
iniconfig==2.1.0
# via pytest
markdown-it-py==3.0.0
# via rich
Expand Down
10 changes: 8 additions & 2 deletions tests/autobahn/test_autobahn.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
import subprocess
import sys
from pathlib import Path
from typing import Any, Dict, Generator, List
from typing import TYPE_CHECKING, Any, Dict, Generator, List

import pytest
from pytest import TempPathFactory
from python_on_whales import DockerException, docker

if TYPE_CHECKING:
from python_on_whales import DockerException, docker
else:
python_on_whales = pytest.importorskip("python_on_whales")
DockerException = python_on_whales.DockerException
docker = python_on_whales.docker


@pytest.fixture(scope="session")
Expand Down
Loading