Skip to content

Commit

Permalink
Merge pull request #1453 from kuzudb/pyg-hot-fix
Browse files Browse the repository at this point in the history
Remove unused np
  • Loading branch information
mewim committed Apr 6, 2023
2 parents a6f98ac + 277cb4e commit df18e39
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/python_api/src_py/connection.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from .query_result import QueryResult
from .prepared_statement import PreparedStatement
from . import _kuzu
import numpy as np


class Connection:
Expand Down Expand Up @@ -101,7 +100,7 @@ def _get_node_property_names(self, table_name):
table_name)
results = {}
for (i, line) in enumerate(result_str.splitlines()):
#ignore first line
# ignore first line
if i == 0:
continue
line = line.strip()
Expand Down Expand Up @@ -181,4 +180,3 @@ def set_query_timeout(self, timeout_in_ms):
"""

self._connection.set_query_timeout(timeout_in_ms)

0 comments on commit df18e39

Please sign in to comment.