aiogremlin.remote package¶
Submodules¶
aiogremlin.remote.driver_remote_connection module¶
-
class
aiogremlin.remote.driver_remote_connection.
DriverRemoteConnection
(client, loop, *, cluster=None)[source]¶ Bases:
object
Remote connection to a Gremlin Server. Do not instantiate directly, instead use
DriverRemoteConnection.open()
orDriverRemoteConnection.using()
Parameters: - client (aiogremlin.driver.client.Client) –
- loop (asyncio.BaseEventLoop) –
- cluster (aiogremlin.driver.cluster.Cluster) –
-
client
¶
-
close
()[source]¶ Close underlying cluster if applicable. If created with
DriverRemoteConnection.using()
, cluster is NOT closed.
-
config
¶
-
classmethod
open
(url=None, aliases=None, loop=None, *, graphson_reader=None, graphson_writer=None, **config)[source]¶ Parameters: - url (str) – Optional url for host Gremlin Server
- aliases (dict) – Optional mapping for aliases. Default is None. Also accepts str argument which will be assigned to g
- loop (asyncio.BaseEventLoop) –
- graphson_reader – Custom graphson_reader
- graphson_writer – Custom graphson_writer
- config – Optional cluster configuration passed as kwargs or dict
-
classmethod
using
(cluster, aliases=None)[source]¶ Create a
DriverRemoteConnection
using a specificCluster
Parameters: - cluster (aiogremlin.driver.cluster.Cluster) –
- aliases (dict) – Optional mapping for aliases. Default is None. Also accepts str argument which will be assigned to g
aiogremlin.remote.driver_remote_side_effects module¶
-
class
aiogremlin.remote.driver_remote_side_effects.
AsyncRemoteTraversalSideEffects
(side_effect, client)[source]¶ Bases:
gremlin_python.process.traversal.TraversalSideEffects
aiogremlin.remote.remote_connection module¶
-
class
aiogremlin.remote.remote_connection.
AsyncRemoteStrategy
(remote_connection)[source]¶ Bases:
gremlin_python.driver.remote_connection.RemoteStrategy