From d74549afb55834557f9d9b37c8f83a2ac073d5fc Mon Sep 17 00:00:00 2001 From: yangdx Date: Thu, 17 Apr 2025 02:32:32 +0800 Subject: [PATCH] Fix linting --- lightrag/kg/postgres_impl.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lightrag/kg/postgres_impl.py b/lightrag/kg/postgres_impl.py index 66449567..97d3316c 100644 --- a/lightrag/kg/postgres_impl.py +++ b/lightrag/kg/postgres_impl.py @@ -1037,15 +1037,15 @@ class PGGraphStorage(BaseGraphStorage): def __post_init__(self): self.graph_name = self.namespace or os.environ.get("AGE_GRAPH_NAME", "lightrag") self.db: PostgreSQLDB | None = None - + @staticmethod def _normalize_node_id(node_id: str) -> str: """ Normalize node ID to ensure special characters are properly handled in Cypher queries. - + Args: node_id: The original node ID - + Returns: Normalized node ID suitable for Cypher queries """