ReMe/reme/core/file_store
jinliyl d5c929722b
refactor(file_store): move sqlite3 imports inside initialization methods (#193)
* fix(core): handle chromadb import error gracefully

- Changed CHROMADB_AVAILABLE flag to _CHROMADB_IMPORT_ERROR exception storage
- Updated version from 0.3.1.7 to 0.3.1.8
- Modified import error handling to preserve original exception details
- Removed hardcoded ImportError message in favor of dynamic exception raising
- Added proper logger initialization using get_logger utility

* refactor(file_store): move sqlite3 imports inside initialization methods

- Moved sqlite3 import from module level to inside init methods
- Removed unused import statement at top of file
- Maintains same functionality while improving import organization
- Prevents potential issues with early sqlite3 dependency loading

* refactor(core): update import error handling with broader exception types

- Changed ImportError to Exception for ray import error handling
- Updated chromadb import error to use Exception instead of ImportError
- Modified elasticsearch import error to catch general exceptions
- Changed asyncpg import error handling from ImportError to Exception
- Updated qdrant import error to use Exception instead of ImportError
- Added explicit type hints for all import error variables as Exception | None
2026-03-31 20:59:59 +08:00
..
__init__.py refactor(core): replace memory stores with file stores and update architecture 2026-02-26 14:18:12 +08:00
base_file_store.py fix(file-store): handle embedding API errors gracefully with fallback mechanism (#173) 2026-03-20 17:55:18 +08:00
chroma_file_store.py refactor(file_store): move sqlite3 imports inside initialization methods (#193) 2026-03-31 20:59:59 +08:00
local_file_store.py fin(emb_dim) (#150) 2026-03-10 18:19:00 +08:00
sqlite_file_store.py refactor(file_store): move sqlite3 imports inside initialization methods (#193) 2026-03-31 20:59:59 +08:00