From d18eb52ccc15a191c4733b52ce64bd76fe041873 Mon Sep 17 00:00:00 2001 From: yangdx Date: Sat, 1 Mar 2025 15:38:39 +0800 Subject: [PATCH] Add type ignore comments for asyncpg imports to suppress mypy errors --- lightrag/kg/postgres_impl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightrag/kg/postgres_impl.py b/lightrag/kg/postgres_impl.py index c91d23f0..10883a88 100644 --- a/lightrag/kg/postgres_impl.py +++ b/lightrag/kg/postgres_impl.py @@ -38,8 +38,8 @@ import pipmaster as pm if not pm.is_installed("asyncpg"): pm.install("asyncpg") -import asyncpg -from asyncpg import Pool +import asyncpg # type: ignore +from asyncpg import Pool # type: ignore class PostgreSQLDB: