mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-02-22 19:15:52 +08:00
What problem does this PR solve? The sync_data_source.py module imports WebDAVConnector from common.data_source, but WebDAVConnector was never registered in the package's __init__.py. This causes an ImportError at startup, crashing the data sync service: ImportError: cannot import name 'WebDAVConnector' from 'common.data_source' The webdav_connector.py file already exists in the common/data_source/ directory — it just wasn't exported. This PR adds the import and registers it in __all__. Type of change Bug Fix (non-breaking change which fixes an issue) Co-authored-by: Ahmad Intisar <ahmadintisar@Ahmads-MacBook-M4-Pro.local>