File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ class APIClient(
75
75
base_url (str): URL to the Docker server. For example,
76
76
``unix:///var/run/docker.sock`` or ``tcp://127.0.0.1:1234``.
77
77
version (str): The version of the API to use. Set to ``auto`` to
78
- automatically detect the server's version. Default: ``1.24 ``
78
+ automatically detect the server's version. Default: ``1.26 ``
79
79
timeout (int): Default timeout for API calls, in seconds.
80
80
tls (bool or :py:class:`~docker.tls.TLSConfig`): Enable TLS. Pass
81
81
``True`` to enable it with default options, or pass a
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class DockerClient(object):
24
24
base_url (str): URL to the Docker server. For example,
25
25
``unix:///var/run/docker.sock`` or ``tcp://127.0.0.1:1234``.
26
26
version (str): The version of the API to use. Set to ``auto`` to
27
- automatically detect the server's version. Default: ``1.24 ``
27
+ automatically detect the server's version. Default: ``1.26 ``
28
28
timeout (int): Default timeout for API calls, in seconds.
29
29
tls (bool or :py:class:`~docker.tls.TLSConfig`): Enable TLS. Pass
30
30
``True`` to enable it with default options, or pass a
@@ -58,7 +58,7 @@ def from_env(cls, **kwargs):
58
58
59
59
Args:
60
60
version (str): The version of the API to use. Set to ``auto`` to
61
- automatically detect the server's version. Default: ``1.24 ``
61
+ automatically detect the server's version. Default: ``1.26 ``
62
62
timeout (int): Default timeout for API calls, in seconds.
63
63
ssl_version (int): A valid `SSL version`_.
64
64
assert_hostname (bool): Verify the hostname of the server.
You can’t perform that action at this time.
0 commit comments