-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Part-07 onwards needs some dependency updates #75
Comments
Bowen: Could you provide a list of what you did to get Part-07 onwards working on a Mac? Thanks! |
I solved my issue with prestart.sh not finding app.db.base by defining PYTHONPATH to point to the base of the Part-07 git repo: export PYTHONPATH=$HOME/Codes/PythonScripts/FastAPI-tutorial/ultimate-fastapi-tutorial/part-07-database Then Ifound that the Pydantic schema for UserCreate had full_name in app/db/init_db.py but was missing first_name and surname. Adding dummy values for those Optional attributes then allowed prestart.sh to run to completion without error. `
Thanks, --Ed |
Hi Chris,
Thank you so much creating this course. As I'm going through the material, I realize the dependencies installation now will have issues with the super old version of SQLAlchemy. I have personally updated the dependencies to make it work on my m2 mac, it would be good to update those dependencies in the repo for people to have the latest version of codebase. I could also help you do it if necessary.
Thanks,
Bowen
The text was updated successfully, but these errors were encountered: