Hi all,
I've opened a PR (apache/tinkerpop#3527) implementing a native-async WebSocket 
driver for gremlin-python, addressing TINKERPOP-2774. The goal is to let 
applications use the full Gremlin DSL inside a running asyncio event loop 
without thread-pool wrappers or nest_asyncio, which has been a recurring pain 
point (see the JIRA ticket and several Discord threads).
Summary of what's in the PR:

  *
Low-level layer: AsyncAiohttpWSTransport, AsyncGremlinServerWSProtocol, 
AsyncResultSet, AsyncConnection, AsyncClient
  *
High-level DSL layer: AsyncDriverRemoteConnection, AsyncGraphTraversalSource, 
AsyncGraphTraversal, AsyncTransaction
  *
No existing code is modified, this is purely additive
  *
242 unit tests plus integration tests via Docker Compose

Yang Xia suggested I start this thread before going further given the size of 
the change, so I wanted to get community feedback on the design before 
continuing. Happy to walk through any part of the implementation in more detail.
Link to PR: https://github.com/apache/tinkerpop/pull/3527
Link to JIRA: https://issues.apache.org/jira/browse/TINKERPOP-2774

Thanks, Hugo

Reply via email to