Description
Here is a simple testcase showing the warning:
from gremlin_python.process.anonymous_traversal import traversal from gremlin_python.driver.driver_remote_connection import DriverRemoteConnection import warnings warnings.simplefilter('always', DeprecationWarning) gremlin_host = "ws://localhost:8182/gremlin" gremlin_user = "graph" gremlin_password = "graph" traversal="g" connection = DriverRemoteConnection(gremlin_host, traversal, username=gremlin_user, password=gremlin_password ) g = traversal().with_remote(connection) g.V().count().next()
I see
/miniconda3/envs/graphtest/lib/python3.9/site-packages/gremlin_python/process/graph_traversal.py:144: DeprecationWarning: gremlin_python.process.GraphTraversalSource.withRemote will be replaced by gremlin_python.process.GraphTraversalSource.with_remote. warnings.warn(
when running the code. I am using with_remote though