Open markcmiller86 opened 3 years ago
Related to #5421
The Pick
query is a bit of an oddball because that operation existed as its own special thing (a pick operation) before queries were created. So, even though it is treated kinda sorta like a query, its really its own special operation and there is special logic to handle it as a query in the GUI. The GUI does indeed list Pick
as one of the possible options but note, in the list output by Queries()
above, 'Pick'
actually does not appear.
So, if we continue to treat Pick
as a query, we should probably add logic here so that it is treatable that way in all respects. Alternatively, we could create a new GetPickParameters()
method for pick.
Describe the bug
I wanted to see example of parameter set for doing
Query("Pick")
and learned about two great CLI methods in this section of the CLI manual;Queries()
which returns a list of all the query names andGetQueryParameters(qname)
which apparently returns the dictionary needed for a given query. For"Pick"
it returnsNone
. I assume that is not intended.Helpful additional information
To Reproduce
This is what I was doing...
Expected behavior
A python dictionary of values for the named query,
"Pick"
Was running 3.1RC on macOS