aboutsummaryrefslogtreecommitdiff
path: root/migrations/env.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2022-03-30 14:34:00 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2022-03-30 14:34:00 +0200
commitc7f7e76721acda1483c0f29d6718d638ce0d8875 (patch)
tree864f06207b349a09c23ebd6bde74dfdd0acd7660 /migrations/env.py
parentchg: [dependecies] Updated SQLAlchemy. (diff)
downloadnewspipe-c7f7e76721acda1483c0f29d6718d638ce0d8875.tar.gz
newspipe-c7f7e76721acda1483c0f29d6718d638ce0d8875.tar.bz2
newspipe-c7f7e76721acda1483c0f29d6718d638ce0d8875.zip
chg: [style] improved style. !minor
Diffstat (limited to 'migrations/env.py')
-rw-r--r--migrations/env.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/migrations/env.py b/migrations/env.py
index cbfe86d4..4ac6ad53 100644
--- a/migrations/env.py
+++ b/migrations/env.py
@@ -1,13 +1,12 @@
-from __future__ import with_statement
-
from alembic import context
+from flask import current_app
+from sqlalchemy import engine_from_config
+from sqlalchemy import pool
# add your model's MetaData object here
# for 'autogenerate' support
# from myapp import mymodel
# target_metadata = mymodel.Base.metadata
-from flask import current_app
-from sqlalchemy import engine_from_config, pool
# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
bgstack15