Skip to content

Commit 6f18b4a

Browse files
committed
Mention version='auto' in docs
1 parent acfa99d commit 6f18b4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ c = Client(base_url='unix://var/run/docker.sock')
1212

1313
* base_url (str): Refers to the protocol+hostname+port where the Docker server
1414
is hosted.
15-
* version (str): The version of the API the client will use
15+
* version (str): The version of the API the client will use. Specify `'auto'`
16+
to use the API version provided by the server.
1617
* timeout (int): The HTTP request timeout, in seconds.
1718
* tls (bool or [TLSConfig](tls.md#TLSConfig)): Equivalent CLI options: `docker --tls ...`
1819

0 commit comments

Comments
 (0)