Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在Django上使用TuGraphClient报错 #1

Open
yongJunTom opened this issue Jun 27, 2023 · 0 comments
Open

在Django上使用TuGraphClient报错 #1

yongJunTom opened this issue Jun 27, 2023 · 0 comments

Comments

@yongJunTom
Copy link

项目运行环境:Django、Python3.11、TuGraphClient2.0
场景:在Django的某个应用的apps.py中初始查询不报错,在POST请求的接口中查询就报错。
报错截图:

1687776417118

解决方案: 修改 TuGraphClient.py_sync 方法,解决此报错,但查询时会抛 httpx.WriteTimeout 的异常,能正常返回数据
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant