mirror of https://github.com/langgenius/dify.git
fix: add TYPE_CHECKING import for Account type annotation
This commit is contained in:
parent
990e8feee8
commit
849b4b8c40
|
|
@ -2,7 +2,10 @@ import json
|
|||
import logging
|
||||
from collections.abc import Mapping
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
from typing import TYPE_CHECKING, Any
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from models.account import Account
|
||||
|
||||
from sqlalchemy import exists, select
|
||||
from sqlalchemy.orm import Session
|
||||
|
|
|
|||
Loading…
Reference in New Issue