refactor(factory): Move import statement to the top

Signed-off-by: -LAN- <laipz8200@outlook.com>
pull/21458/head
-LAN- 11 months ago
parent cf2b5c7192
commit f5854315f4
No known key found for this signature in database
GPG Key ID: 6BA0D108DED011FF

@ -6,6 +6,7 @@ allowing users to configure different repository backends through string paths.
"""
import importlib
import inspect
import logging
from typing import Any, Union
@ -99,7 +100,6 @@ class DifyCoreRepositoryFactory:
Raises:
RepositoryImportError: If the constructor doesn't accept required parameters
"""
import inspect
try:
signature = inspect.signature(repository_class.__init__)

Loading…
Cancel
Save