hubmapconsortium / hubmap-api-py-client

Python client for the Cells API
MIT License
1 stars 0 forks source link

Post #41, supply default for `logical_operator` #42

Open mccalluc opened 3 years ago

mccalluc commented 3 years ago

Make and the default. Could also reduce this to just a boolean.

SFD5311 commented 3 years ago

This commit on the API side removes the requirement for logical_operator when the input set only contains one element. https://github.com/hubmapconsortium/cross_modality_query/commit/c3612cc3687db9d33e08a21f8d1d3d3ea9ac4903 I would also recommend against supplying a default here, because its inclusion in other queries would be considered an extraneous parameter, and result in an error.