Skip to content

Commit

Permalink
[AIRFLOW-6256] BaseJob was not imported hence not deleted on reset
Browse files Browse the repository at this point in the history
(cherry picked from commit 8c7d25d)
  • Loading branch information
potiuk committed Dec 14, 2019
1 parent 11f4f64 commit d681656
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions airflow/utils/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@ def resetdb(rbac):
Clear out the database
"""
from airflow import models
# noinspection PyUnresolvedReferences
from airflow.jobs.base_job import BaseJob # noqa: F401

# alembic adds significant import time, so we import it lazily
from alembic.migration import MigrationContext
Expand Down

0 comments on commit d681656

Please sign in to comment.