fix: IntegrityError import wrong (#1868)

This commit is contained in:
takatost 2024-01-03 09:35:03 +08:00 committed by GitHub
parent 4aed1fe8a8
commit 3b668c0bb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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