python-podman
python-podman copied to clipboard
history() doesn't work
import podman
pclient = podman.Client()
img = pclient.images.get('6c0fc7ee13e0')
for his in img.history(): print(his)
fails with :
Traceback (most recent call last):
File "test.py", line 11, in
problem is that when Image object is created, it defines attribute history and sets it to '[]'
which overrides history() method
podman version: podman-2.0.6-1.fc32.x86_64 python podman version: 1.6.0