mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-24 00:45:57 +00:00
fix the lint error of backend
This commit is contained in:
@@ -19,6 +19,7 @@ from deerflow.persistence.base import Base
|
|||||||
# Import all models so metadata is populated.
|
# Import all models so metadata is populated.
|
||||||
try:
|
try:
|
||||||
import deerflow.persistence.models as models # register ORM models with Base.metadata
|
import deerflow.persistence.models as models # register ORM models with Base.metadata
|
||||||
|
|
||||||
_ = models
|
_ = models
|
||||||
except ImportError:
|
except ImportError:
|
||||||
# Models not available — migration will work with existing metadata only.
|
# Models not available — migration will work with existing metadata only.
|
||||||
|
|||||||
Reference in New Issue
Block a user