Opened 8 years ago

Closed 8 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:


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))

Change History (1)

comment:1 by Christopher Allan Webber, 8 years ago

Milestone: 0.9.0
Resolution: fixed
Status: newclosed


Note: See TracTickets for help on using tickets.