Skip to content

Commit

Permalink
remove future imports from db migrations (#6063)
Browse files Browse the repository at this point in the history
  • Loading branch information
timifasubaa authored Oct 11, 2018
1 parent b7d5554 commit e37b83a
Show file tree
Hide file tree
Showing 31 changed files with 0 additions and 143 deletions.
2 changes: 0 additions & 2 deletions superset/migrations/env.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
from __future__ import with_statement

import logging
from logging.config import fileConfig

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2016-05-27 15:03:32.980343
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

# revision identifiers, used by Alembic.
revision = '1226819ee0e3'
down_revision = '956a063c52b3'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
Create Date: 2018-04-03 08:19:34.098789
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from alembic import op
import sqlalchemy as sa
from sqlalchemy.ext.declarative import declarative_base
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2016-03-13 21:30:24.833107
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from alembic import op
import sqlalchemy as sa

Expand Down
5 changes: 0 additions & 5 deletions superset/migrations/versions/1d2ddd543133_log_dt.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2016-03-25 14:35:44.642576
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

# revision identifiers, used by Alembic.
revision = '1d2ddd543133'
down_revision = 'd2424a248d63'
Expand Down
5 changes: 0 additions & 5 deletions superset/migrations/versions/1d9e835a84f9_.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
Create Date: 2018-07-16 18:04:07.764659
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from alembic import op
import sqlalchemy as sa
from sqlalchemy.sql import expression
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import json

from alembic import op
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
Create Date: 2015-11-21 11:18:00.650587
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from alembic import op
import sqlalchemy as sa
Expand Down
5 changes: 0 additions & 5 deletions superset/migrations/versions/2fcdcb35e487_saved_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2017-03-29 15:04:35.734190
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from alembic import op
import sqlalchemy as sa

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from alembic import op
import sqlalchemy as sa
from superset import db
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
"""

from __future__ import division

# revision identifiers, used by Alembic.

import datetime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
Create Date: 2016-08-31 10:26:37.969107
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from alembic import op
import sqlalchemy as sa

Expand Down
5 changes: 0 additions & 5 deletions superset/migrations/versions/430039611635_log_more.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2016-02-10 08:47:28.950891
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from alembic import op
import sqlalchemy as sa

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2016-04-15 17:58:33.842012
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

# revision identifiers, used by Alembic.
revision = '4fa88fe24e94'
down_revision = 'b4456560d4f3'
Expand Down
5 changes: 0 additions & 5 deletions superset/migrations/versions/5ccf602336a0_.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
Create Date: 2018-04-12 16:00:47.639218
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

# revision identifiers, used by Alembic.
revision = '5ccf602336a0'
down_revision = ('130915240929', 'c9495751e314')
Expand Down
5 changes: 0 additions & 5 deletions superset/migrations/versions/6414e83d82b7_.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2016-12-19 09:57:05.814013
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

# revision identifiers, used by Alembic.
revision = '6414e83d82b7'
down_revision = ('525c854f0005', 'f1f2d4af5b90')
Expand Down
5 changes: 0 additions & 5 deletions superset/migrations/versions/705732c70154_.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
Create Date: 2018-07-22 21:51:19.235558
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

# revision identifiers, used by Alembic.
revision = '705732c70154'
down_revision = ('4451805bbaa1', '1d9e835a84f9')
Expand Down
5 changes: 0 additions & 5 deletions superset/migrations/versions/836c0bf75904_cache_timeouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2016-03-17 08:40:03.186534
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

# revision identifiers, used by Alembic.
revision = '836c0bf75904'
down_revision = '18e88e1cc004'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2016-04-03 15:23:20.280841
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

# revision identifiers, used by Alembic.
revision = '867bf4f117f9'
down_revision = 'fee7b758c130'
Expand Down
5 changes: 0 additions & 5 deletions superset/migrations/versions/8e80a26a31db_.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2016-01-13 20:24:45.256437
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

# revision identifiers, used by Alembic.
revision = '8e80a26a31db'
down_revision = '2591d77e9831'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2016-05-11 17:28:32.407340
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from alembic import op
import sqlalchemy as sa

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2017-03-28 11:28:41.387182
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from alembic import op
import sqlalchemy as sa

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2017-08-31 17:35:58.230723
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

# revision identifiers, used by Alembic.
revision = 'a9c47e2c1547'
down_revision = 'ca69c70ec99b'
Expand Down
5 changes: 0 additions & 5 deletions superset/migrations/versions/b347b202819b_.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2016-09-19 17:22:40.138601
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

# revision identifiers, used by Alembic.
revision = 'b347b202819b'
down_revision = ('33d996bcc382', '65903709c321')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
Create Date: 2016-04-15 08:31:26.249591
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from alembic import op

# revision identifiers, used by Alembic.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
Create Date: 2018-04-10 11:19:47.621878
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

import json

from alembic import op
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2016-04-25 08:54:04.303859
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from alembic import op
import sqlalchemy as sa
from sqlalchemy import Column, ForeignKey, Integer, String
Expand Down
5 changes: 0 additions & 5 deletions superset/migrations/versions/c9495751e314_.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
Create Date: 2018-04-10 20:46:57.890773
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

# revision identifiers, used by Alembic.
revision = 'c9495751e314'
down_revision = ('30bb17c0dc76', 'bf706ae5eb46')
Expand Down
5 changes: 0 additions & 5 deletions superset/migrations/versions/d6db5a5cdb5d_.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2017-02-10 17:58:20.149960
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

# revision identifiers, used by Alembic.
revision = 'd6db5a5cdb5d'
down_revision = ('a99f2f7c195a', 'bcf3126872fc')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2016-11-14 15:23:32.594898
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

# revision identifiers, used by Alembic.
revision = 'e46f2d27a08e'
down_revision = 'c611f2b591b8'
Expand Down
5 changes: 0 additions & 5 deletions superset/migrations/versions/ef8843b41dac_.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
Create Date: 2016-10-02 10:35:38.825231
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

# revision identifiers, used by Alembic.
revision = 'ef8843b41dac'
down_revision = ('3b626e2a6783', 'ab3d66c4246e')
Expand Down

0 comments on commit e37b83a

Please sign in to comment.