diff options
Diffstat (limited to 'docker/models/networks.py')
-rw-r--r-- | docker/models/networks.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/models/networks.py b/docker/models/networks.py index be3291a..f944c8e 100644 --- a/docker/models/networks.py +++ b/docker/models/networks.py @@ -190,7 +190,8 @@ class NetworkCollection(Collection): filters (dict): Filters to be processed on the network list. Available filters: - ``driver=[<driver-name>]`` Matches a network's driver. - - ``label=[<key>]`` or ``label=[<key>=<value>]``. + - `label` (str|list): format either ``"key"``, ``"key=value"`` + or a list of such. - ``type=["custom"|"builtin"]`` Filters networks by type. greedy (bool): Fetch more details for each network individually. You might want this to get the containers attached to them. |