Commit graph

13 commits

Author SHA1 Message Date
0a7933bbba fix: loading multiple oscars per movie 2024-05-25 18:23:13 +02:00
02a9621734 feat: add import script for Academy awards 2024-05-25 16:44:12 +02:00
b0f5ec4cc9 feat: add awards to REST response 2024-05-19 21:42:24 +02:00
8fc594b947 fix: some lint reported by Ruff 2024-05-11 19:00:27 +02:00
4981de4a04 remove databases, use SQLAlechemy 2.0 instead
Among the many changes we switch to using SQLAlchemy's connection pool,
which means we are no longer required to guard against multiple threads
working on the database.
All db funcs now receive a connection to use as their first argument,
this allows the caller to control transaction & rollback behavior.
2023-11-27 23:24:35 +01:00
1a3528e096 migrate db.find_ratings to SQLAlchemy 2023-03-28 21:50:14 +02:00
f97c5c8472 add some route tests 2023-03-18 23:30:40 +01:00
9ffcc53571 apply auto-formatting to tests 2023-02-04 18:15:14 +01:00
324eb8e9b7 fix tests for Pytest-Asyncio running in strict mode 2023-02-04 18:12:50 +01:00
e1f35143df add some tests for db.find_ratings 2021-12-19 19:30:08 +01:00
e49ea603ee create dataclasses for output data 2021-12-19 19:13:49 +01:00
32bbfe881b change /movies output format for id filtered listing
The new format is much closer to the format used by /groups/ratings.
Also allows to filter based on Unwind's ID.
2021-12-08 00:13:05 +01:00
a468c8ad60 add a few first tests for /movies web route 2021-12-07 23:54:06 +01:00