Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_butler
-
Labels:None
-
Story Points:2
-
Epic Link:
-
Sprint:DRP S19-4
-
Team:Data Release Production
Description
Changes to daf_butler introduced some behavior that cause sqlalchemy deprecation warnings to be thrown. This ticket will find out why they are being thrown and attempt to fix our code or prevent the warnings from being thrown.
Attachments
Issue Links
- relates to
-
DM-18601 Investigate newer SQLAlchemy versions
- Done
This behavior was introduced when daf_butler started using Sequences. The repr for Sequences in sqlalchemy is auto generated and in that process the generator function looks at a member of the Sequence class that is marked deprecated, which causing the warning to be thrown. Context managers were added to daf_butler to catches and suppress these warnings, and this behavior will be reported back up to sqlalchemy.