-
Notifications
You must be signed in to change notification settings - Fork 215
Open
Labels
UserBugs reported by external users that should be prioritisedBugs reported by external users that should be prioritisedtypechecking
Description
Describe the Bug
import podman
def test2() -> None:
pc = podman.PodmanClient(
base_url="",
identity="",
)
for _container in pc.containers.list():
pass
this gives an error:
ERROR Object of class
cached_propertyhas no attributelist
Object of classpropertyhas no attributelist[missing-attribute]
--> tmp.py:9:23
|
9 | for _container in pc.containers.list():
| ^^^^^^^^^^^^^^^^^^
other typecheckers give no such error(ty, mypy). this requires an install of podman>="5.0.0" to reproduce
Sandbox Link
No response
(Only applicable for extension issues) IDE Information
No response
Metadata
Metadata
Assignees
Labels
UserBugs reported by external users that should be prioritisedBugs reported by external users that should be prioritisedtypechecking