Opened 5 years ago

Closed 5 years ago

#5406 closed defect (fixed)

Remove alembic config attributes hackery upon upgrading to Alembic 07.5

Reported by: Christopher Allan Webber Owned by:
Priority: major Milestone: 0.9.0
Component: programming Keywords:
Cc: Parent Tickets:

Description

From commit 4c77f3d

+        # TODO: After 0.7.5 alembic has Config.attributes already made, once
+        #       we're able to update, please remove this hack!
+        self.alembic_cfg.attributes = {}
+        self.alembic_cfg.attributes["session"] = self.session
+        self.alembic_cfg.set_main_option("qlalchemy.url", str(self.engine.url))

Subtickets

Change History (1)

comment:1 Changed 5 years ago by Christopher Allan Webber

Milestone: 0.9.0
Resolution: fixed
Status: newclosed

Done

Note: See TracTickets for help on using tickets.