Skip to content

NebulaPool.execute_py parameter issue #406

Description

@xlshao2021

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:

  1. Download from https://pypi.org/project/nebula5-python/ and install it
  2. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

affects/nonePR/issue: this bug affects none version.process/fixedProcess of bugseverity/noneSeverity of bugtype/bugType: something is unexpected

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions