0

Alembic doesn't support replaceable objects like views so we often have to write a custom function in revision that executes creation of them. Is there a way to share these functions across revisions instead of copy-pasting over and over?

nobody
  • 270
  • 2
  • 14

1 Answers1

0

After looking, you can either reference code in a separate package or use env.py. Creating your own module is probably easier

nobody
  • 270
  • 2
  • 14