podman-py icon indicating copy to clipboard operation
podman-py copied to clipboard

https://github.com/containers/podman-py/blob/release-4.9/docs/source/index.rst has the wrong podman client call

Open wblakeh opened this issue 7 months ago • 0 comments

  • 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.

wblakeh avatar Jun 27 '24 16:06 wblakeh