sqlalchemy.exc.UnboundExecutionError: Could not locate a bind configured on mapper Mapper[CasinoPlayer(casino_players)] or this Session
I’m developing an application using FastAPI and I’m using SQLAlchemy to interact with a PostgreSQL database. In my code, I’m encountering the error sqlalchemy.exc.UnboundExecutionError: Could not locate a bind configured on mapper Mapper[CasinoPlayer(casino_players)] or this Session, and I’m not quite sure how to fix it.
How to Display the Actual Image Instead of Its Path on the Admin Page(sqladmin)?
I’m working on an application with an admin interface, and I want to show the actual image rather than just its path in the admin page view. Below is my current code:
https://github.com/aminalaee/sqladmin