Show a helpful warning when people try to call `client.containers()`
People upgrading to docker-py 2.0 without being aware of the new client
API will likely try to call the old `containers()` method. This adds a
helpful warning telling them to use APIClient to get the old API.
Signed-off-by:
Aanand Prasad <aanand.prasad@gmail.com>
Showing
Please
register
or
sign in
to comment