opendatacube / datacube-explorer

Web-based exploration of Open Data Cube collections
Apache License 2.0
56 stars 31 forks source link

Update to flask 3 #564

Closed pjonsson closed 9 months ago

pjonsson commented 10 months ago

Remove the before_first_request decorator since it is deprecated in Flask 2.2.

Remove the check for schema compatibility, generate.py already performs that check, and conftest.py ensures the tables are freshly created.

I don't know anything about Prometheus so I only know the CI tests pass, I have no idea if Prometheus works as intended.


:books: Documentation preview :books:: https://datacube-explorer--564.org.readthedocs.build/en/564/

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (34daed4) 86.31% compared to head (46a8498) 86.29%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #564 +/- ## =========================================== - Coverage 86.31% 86.29% -0.03% =========================================== Files 26 26 Lines 3457 3451 -6 =========================================== - Hits 2984 2978 -6 Misses 473 473 ```

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