It's cool that HTMLInterface has support for choices, but this should probably be pushed to the Command level. I've created a separate issue for this since it is outside of the scope of this pull request. See more details here:

https://github.com/bipy/pyqi/issues/240