open-reaction-database / ord-interface

Search/browse interface and APIs for the Open Reaction Database
https://open-reaction-database.org
Apache License 2.0
20 stars 11 forks source link

Use background tasks for long-running queries #128

Closed skearnes closed 3 months ago

skearnes commented 3 months ago

Adds a couple of new API endpoints:

codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 91.33858% with 11 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@a3e16e5). Learn more about missing BASE report.

Files Patch % Lines
ord_interface/celeryconfig.py 0.00% 6 Missing :warning:
ord_interface/api/search.py 94.11% 4 Missing :warning:
ord_interface/api/queries.py 96.15% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #128 +/- ## ======================================= Coverage ? 80.61% ======================================= Files ? 17 Lines ? 980 Branches ? 0 ======================================= Hits ? 790 Misses ? 190 Partials ? 0 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

skearnes commented 3 months ago

@miori-nd this has been deployed to staging; see https://staging.open-reaction-database.org/api/docs

skearnes commented 3 months ago

(Update: fixed a connection issue; works on staging now and not just in tests.)