1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-19 05:09:40 +02:00
mealie/dev/code-generation
Hayden 9e77a9f367
prs-fleshgolem-2070: feat: sqlalchemy 2.0 (#2096)
* upgrade sqlalchemy to 2.0

* rewrite all db models to sqla 2.0 mapping api

* fix some importing and typing weirdness

* fix types of a lot of nullable columns

* remove get_ref methods

* fix issues found by tests

* rewrite all queries in repository_recipe to 2.0 style

* rewrite all repository queries to 2.0 api

* rewrite all remaining queries to 2.0 api

* remove now-unneeded __allow_unmapped__ flag

* remove and fix some unneeded cases of "# type: ignore"

* fix formatting

* bump black version

* run black

* can this please be the last one. okay. just. okay.

* fix repository errors

* remove return

* drop open API validator

---------

Co-authored-by: Sören Busch <fleshgolem@gmx.net>
2023-02-06 18:43:12 -09:00
..
templates chore: file generation cleanup (#1736) 2022-10-18 14:49:41 -08:00
utils chore: file generation cleanup (#1736) 2022-10-18 14:49:41 -08:00
gen_docs_api.py chore: file generation cleanup (#1736) 2022-10-18 14:49:41 -08:00
gen_py_pytest_data_paths.py chore: file generation cleanup (#1736) 2022-10-18 14:49:41 -08:00
gen_py_pytest_routes.py prs-fleshgolem-2070: feat: sqlalchemy 2.0 (#2096) 2023-02-06 18:43:12 -09:00
gen_py_schema_exports.py prs-fleshgolem-2070: feat: sqlalchemy 2.0 (#2096) 2023-02-06 18:43:12 -09:00
gen_ts_locales.py chore: file generation cleanup (#1736) 2022-10-18 14:49:41 -08:00
gen_ts_types.py chore: frontend testing setup (#1739) 2022-10-22 11:51:07 -08:00
main.py chore: file generation cleanup (#1736) 2022-10-18 14:49:41 -08:00