[sqlalchemy] Re: sqlalchemy.exc.UnboundExecutionError

2022-05-17 Thread Jason Hoppes
I found my error It was in the logic. Thank you for taking the time to read. - Jason On Tuesday, May 17, 2022 at 4:51:49 PM UTC-4 Jason Hoppes wrote: > I am getting an exception: > > sqlalchemy.exc.UnboundExecutionError: Could not locate a bind configured > on mapper mapped class User->users, S

[sqlalchemy] sqlalchemy.exc.UnboundExecutionError

2022-05-17 Thread Jason Hoppes
I am getting an exception: sqlalchemy.exc.UnboundExecutionError: Could not locate a bind configured on mapper mapped class User->users, SQL expression or this Session. My engine creation code is in a static method of a class and is as follows: db_url = 'postgresql+psycopg2://myuser: