raise sa_exc.InvalidRequestError(
sqlalchemy.exc.InvalidRequestError: Can't attach instance ; another instance with key (,
(1,), None) is already present in this session.
# ...
class User(Base):
__tablename__ = "users"
id = sa.Column(sa.Integer, primary_key=True)
name = sa.Column(
im a bit lost and need some help.
im trying to set up a database connection with sqlalchemy to a Sybase
Adaptive Server Anywhere Version 7 and i dont know how.
I would be really happy if somebody could help me.
Thanks in advace.
Greetings Mae
--
SQLAlchemy -
The Python SQL Toolkit and Obje