Postgresql – How to return multiple data from a dependency function in FastAPI?
I am using FastAPI framework and writing some data into PostgreSQL database. The issue I am encountering is that I have a function get_current_user() that returns user credentials (including email), but I am not sure how to access this data…