Commit Graph

10 Commits

Author SHA1 Message Date
Alejandra
047e6884be ♻️ Remove type ignores and add response_model (#572) 2023-12-27 19:37:05 +01:00
Sebastián Ramírez
c1538fd1fb Update code for login API (#571)
*  Update models for login API

*  Add authenticate simplified CRUD

* ♻️ Refactor get_current_user dependency, integrate is_active

*  Refactor and upgrade login API code
2023-12-27 19:06:47 +01:00
Alejandra
49d610e443 Add client in frontend and client generation (#569) 2023-12-26 16:51:46 +01:00
Alejandra
3f109aee1f 🐛 Fix positional argument bug in init_db.py (#562) 2023-11-29 23:22:15 +01:00
Alejandra
6f29eb2438 ♻️ Refactor Users API and dependencies (#561)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-11-29 18:13:15 +01:00
Sebastián Ramírez
870d45fa36 Upgrade items router with new SQLModel models, simplified logic, and new FastAPI Annotated dependencies (#560) 2023-11-25 00:11:02 +01:00
Sebastián Ramírez
a66a9256dd Adopt SQLModel, create models, start using it (#559)
* 🔥 Remove old SQLAlchemy models

*  Add new SQLModel models

* 🔧 Update Alembic configs to work with SQLModel

*  Re-generate initial Alembic migration

* 🔧 Update PostgreSQL driver connection string URL

*  Create new SQLModel engine

* 🔥 Remove old unneeded SQLAlchemy-specific files

* ♻️ Update init_db

* ♻️ Use new SQLModel session

* ♻️ Update conftest with new DB Session

* ♻️ Update pre-start scripts to use SQLModel session

* ♻️ Import new SQLModel models

*  Create new simplified create_user crud util

* ♻️ Update import in CRUDBase class (soon to be removed)

* 🙈 Update .gitignore with Python files
2023-11-25 00:08:22 +01:00
Sebastián Ramírez
e4877b7a9f ⬆️ Upgrade Python version and dependencies (#558) 2023-11-24 23:48:21 +01:00
Oskar Bechtold
7705fe89df 🐛 Fix Celery worker command (#443)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-11-15 22:04:34 +01:00
Sebastián Ramírez
455de4d9a9 ♻️ Refactor project generation, discard cookiecutter, use plain git/clone/fork (#553) 2023-11-15 21:20:29 +01:00