-
Notifications
You must be signed in to change notification settings - Fork 203
support for SQLAlchemy 2 #648
Copy link
Copy link
Open
Labels
FeatureA nice to have thing that we don't have yetA nice to have thing that we don't have yetHelp WantedWe are volunteers. We'll be happy if you join us.We are volunteers. We'll be happy if you join us.
Milestone
Metadata
Metadata
Assignees
Labels
FeatureA nice to have thing that we don't have yetA nice to have thing that we don't have yetHelp WantedWe are volunteers. We'll be happy if you join us.We are volunteers. We'll be happy if you join us.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Problem description
At the moment, petl works with sqlalchemy 1.4. When I try to use it with sqlalchemy 2, "todb" doesn't work, because it seems so, that it checks the type of "dbo" by checking the existence of properties and methods, which do not all exists in sqlalchemy.Engine and sqlalchemy.Connection.
Change description
Describe the solution you'd like
I'm not experienced enough, to be save, but I would say, it would be good also to check against the dbo properties und methods in sqlalchemy 2
Advantages
It would work with sqlalchemy 2 too
Describe alternatives you've considered
I didn't have an idea, but to change to sqlalchemy 1.4