PKRequiredException
Raised when QueryList.items() is called without a primary key.
Base types Exception
Source and package
- Qualified name
-
libtmux._internal .query _list. PKRequired Exception - Module
- libtmux._internal.query_list
- Package
- libtmux
- Source
- src/libtmux/_internal/query_list.py
-
Description#
items()pairs each entry with a key, and the list has no opinion about which field that should be. Setpk_keyon the list before calling it.