init
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
"""外部集成模块"""
|
||||
|
||||
from .ragflow_client import RagflowClient, extract_table_name
|
||||
from .ragflow_sync import RagflowSync
|
||||
|
||||
# 延迟导入 nacos(可选依赖)
|
||||
try:
|
||||
from .nacos_service import NacosManager, NacosConfig, ServiceConfig, load_nacos_config, load_service_config
|
||||
__all__ = [
|
||||
"RagflowClient",
|
||||
"extract_table_name",
|
||||
"RagflowSync",
|
||||
"NacosManager",
|
||||
"NacosConfig",
|
||||
"ServiceConfig",
|
||||
"load_nacos_config",
|
||||
"load_service_config",
|
||||
]
|
||||
except ImportError:
|
||||
__all__ = [
|
||||
"RagflowClient",
|
||||
"extract_table_name",
|
||||
"RagflowSync",
|
||||
]
|
||||
Reference in New Issue
Block a user