mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
fix: IntegrityError import wrong (#1868)
This commit is contained in:
parent
4aed1fe8a8
commit
3b668c0bb1
|
@ -3,7 +3,7 @@ from collections import defaultdict
|
|||
from json import JSONDecodeError
|
||||
from typing import Optional
|
||||
|
||||
from psycopg2 import IntegrityError
|
||||
from sqlalchemy.exc import IntegrityError
|
||||
|
||||
from core.entities.model_entities import DefaultModelEntity, DefaultModelProviderEntity
|
||||
from core.entities.provider_configuration import ProviderConfigurations, ProviderConfiguration, ProviderModelBundle
|
||||
|
|
Loading…
Reference in New Issue
Block a user