The example on the index.rst page shows calling the podman client with with podman.Client() as client: which results in the following error when running the example script on index.rst
Traceback (most recent call last):
File "/home/python/./podman-test2.py", line 7, in <module>
with podman.Client(base_url=uri) as client:
AttributeError: module 'podman' has no attribute 'Client'
The main landing page for podman-py shows calling with this example with PodmanClient(base_url=uri) as client: which successfully runs the example script on the homepage.
with podman.Client() as client:
which results in the following error when running the example script on index.rstwith PodmanClient(base_url=uri) as client:
which successfully runs the example script on the homepage.