yangdx
commited on
Commit
·
3b80bfc
1
Parent(s):
5a6d534
Remove debug print
Browse files
lightrag/kg/postgres_impl.py
CHANGED
@@ -1201,7 +1201,6 @@ class PGGraphStorage(BaseGraphStorage):
|
|
1201 |
$$) AS (n agtype)""" % (self.graph_name, label)
|
1202 |
record = await self._query(query)
|
1203 |
if record:
|
1204 |
-
print(f"Record: {record}")
|
1205 |
node = record[0]
|
1206 |
node_dict = node["n"]
|
1207 |
|
@@ -1250,7 +1249,6 @@ class PGGraphStorage(BaseGraphStorage):
|
|
1250 |
)
|
1251 |
record = await self._query(query)
|
1252 |
if record and record[0] and record[0]["edge_properties"]:
|
1253 |
-
print(f"Record: {record}")
|
1254 |
result = record[0]["edge_properties"]
|
1255 |
|
1256 |
return result
|
|
|
1201 |
$$) AS (n agtype)""" % (self.graph_name, label)
|
1202 |
record = await self._query(query)
|
1203 |
if record:
|
|
|
1204 |
node = record[0]
|
1205 |
node_dict = node["n"]
|
1206 |
|
|
|
1249 |
)
|
1250 |
record = await self._query(query)
|
1251 |
if record and record[0] and record[0]["edge_properties"]:
|
|
|
1252 |
result = record[0]["edge_properties"]
|
1253 |
|
1254 |
return result
|