-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Labels
affects/nonePR/issue: this bug affects none version.PR/issue: this bug affects none version.severity/noneSeverity of bugSeverity of bugtype/bugType: something is unexpectedType: something is unexpected
Description
The nebulagraph-python library has a bug where NebulaPool.execute_py calls NebulaPool.execute with an argument it doesn't accept (do_ping).
Your Environments (required)
- OS: Darwin MacBook-Air.local 24.6.0 Darwin Kernel Version 24.6.0: Wed Oct 15 21:09:41 PDT 2025; root:xnu-11417.140.69.703.14~1/RELEASE_ARM64_T8122 arm64
- Commit id (e.g.
a3ffc7d8)
How To Reproduce(required)
Steps to reproduce the behavior:
- Download from https://pypi.org/project/nebula5-python/ and install it
- Try the following program:
from nebulagraph_python.client import (
NebulaPool,
SessionConfig,
)
client_to_user_graph = NebulaPool(
hosts=index_config.hosts,
username=index_config.username,
password=index_config.password,
session_config=SessionConfig(graph=index_config.graph_name),
)
try:
client_to_user_graph.execute_py("SHOW GRAPHS")
except Exception as e:
print(f"Failed to connet to user's NebulaGraph cluster, \n{e}")
Expected behavior
It will fail. Replace execute_py with execute, there's no problem at all.
Metadata
Metadata
Assignees
Labels
affects/nonePR/issue: this bug affects none version.PR/issue: this bug affects none version.severity/noneSeverity of bugSeverity of bugtype/bugType: something is unexpectedType: something is unexpected