Skip to content

Commit

Permalink
Type hints for alembic template
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Jun 25, 2020
1 parent e366b4a commit f2ee58b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alembic/script.py.mako
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ from alembic import op
import sqlalchemy as sa
${imports if imports else ""}

def upgrade():
def upgrade() -> None:
${upgrades if upgrades else "pass"}


def downgrade():
def downgrade() -> None:
${downgrades if downgrades else "pass"}

0 comments on commit f2ee58b

Please sign in to comment.