【发布时间】:2021-12-03 08:27:52
【问题描述】:
问题
我已经按照gremlin-python 说明中提供的简单示例运行了:
from gremlin_python.process.anonymous_traversal import traversal
from gremlin_python.driver.driver_remote_connection import DriverRemoteConnection
g = traversal().withRemote(DriverRemoteConnection('ws://localhost:8182/gremlin','g'))
但后来我的main 关闭,我收到以下错误消息:
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x00000134D79FB070>
如何避免收到此消息?
【问题讨论】: