LightRAG/lightrag
yangdx 2ade3067f8 Refac: Generalize keyed lock with namespace support
Refactored the `KeyedUnifiedLock` to be generic and support dynamic namespaces. This decouples the locking mechanism from a specific "GraphDB" implementation, allowing it to be reused across different components and workspaces safely.

Key changes:
- `KeyedUnifiedLock` now takes a `namespace` parameter on lock acquisition.
- Renamed `_graph_db_lock_keyed` to a more generic _storage_keyed_lock`
- Replaced `get_graph_db_lock_keyed` with get_storage_keyed_lock` to support namespaces
2025-07-12 12:10:12 +08:00
..
api Bump api version to 0181 2025-07-12 05:59:13 +08:00
kg Refac: Generalize keyed lock with namespace support 2025-07-12 12:10:12 +08:00
llm Fix linting 2025-07-08 18:17:21 +08:00
tools
__init__.py Bump core version to 1.4.0 2025-07-09 04:43:20 +08:00
base.py update chunks truncation method 2025-07-08 13:31:05 +08:00
constants.py Add max_gleaning to env 2025-07-01 17:13:33 +08:00
exceptions.py
lightrag.py Move merging stage back controled by max parallel insert semhore 2025-07-12 03:32:08 +08:00
llm.py
namespace.py Remove namespace_prefix 2025-07-06 00:16:47 +08:00
operate.py Refac: Generalize keyed lock with namespace support 2025-07-12 12:10:12 +08:00
prompt.py feat: Optimize document deletion performance 2025-06-25 12:37:57 +08:00
rerank.py Simplify Configuration 2025-07-08 11:16:34 +08:00
types.py Add is_truncated to graph query for NetworkX graph db 2025-04-02 22:12:20 +08:00
utils.py remove <think> tag for entities and keywords extraction 2025-07-08 14:59:15 +08:00
utils_graph.py Fix GRAPH_FIELD_SEP import typo 2025-06-29 01:28:39 +05:00