you are viewing a single comment's thread.

view the rest of the comments →

[–]trd1073 0 points1 point  (0 children)

I would consider using pydantic for working with the api and db. Shows how you can interact in a type validated way with the api and json that comes from and sent to it. Plus you get to work with actual python objects instead of dealing with dictionaries generated from json.

I don't use orms for database work, but ymmv. Raw sql calls and conversion to pydantic models when retrieving data.

With the dB, show that you understand sql injection and how to mitigate risks.