googleapis / googleapis/google-cloud-python

can't disable timeouts in rpc calls

未关闭
#15,382 1 条评论 0 个 reaction 已指派 1 人 已被 @daniel-sanche 认领 在 GitHub 查看
api: firestore priority: p3 type: feature request
主要语言
Python
星标
5.4k
派生
1.8k
平均合并
3 天 4 小时
30 天内合并 PR
122

描述

Most rpc calls support passing in a retry and timeout value to configure retry parameters (example: [WriteBatch.commit](https://github.com/googleapis/python-firestore/blob/f10b503b0dc2b23e43495e3f0417ae2630c13d82/google/cloud/firestore_v1/batch.py#L41))

But when `timeout=None`, that means it uses the api default, meaning there is no way to truly disable timeouts

That said, fixing this would likely be a breaking change, and timeout can always be set arbitrarily high, so this is a low-priority fix

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。