bluesky / databroker

Unified API pulling data from multiple sources
https://blueskyproject.io/databroker
BSD 3-Clause "New" or "Revised" License
33 stars 45 forks source link

Ensure compatibility with bluesky-widgets databroker search widget #738

Open danielballan opened 1 year ago

danielballan commented 1 year ago

The bluesky-widgets databroker search widget is currently known to be incompatible with the databroker 2.x prereleases. There are two ways to address this:

  1. Short-term fix: One issue that Databroker no longer supports arbitrary RawMongo queries. We have a RawMongo shim that makes some effort to support a restricted subset of queries and reduce the amount of backward-incompatibility with existing code. But the shim is not quite sophisticated enough to cover the use case needed by bluesky-widgets. With more effort, it could be.
  2. Long-term fix: Update bluesky-widgets to use Databroker 2.x fully, making use of new features like sorting and proper pagination. https://github.com/bluesky/bluesky-widgets/issues/181