choose
choose copied to clipboard
SyntaxWarning: "is" with a literal. Did you mean "=="?
On macOS with Python 3.11:
$ docker ps | choose -1
/opt/homebrew/Cellar/choose/0.1.0_4/libexec/bin/choose:138: SyntaxWarning: "is" with a literal. Did you mean "=="?
if len(names) is 1:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES