Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

OpenFGA SDK doesn't seem to support async_req parameter

未关闭
#194 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
55/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
python
领域
api

调研方向

从 openfga_sdk/client/client.py 中的 options_to_kwargs 开始,将其公开选项与 openfga_sdk/api_client.py 中的 async_req 参数进行比较。确认公开的客户端方法如何传递请求选项,然后通过这些 API 提供 async_req,并验证无需使用内部 API 即可配置异步请求。

由索引模型根据 Issue 内容生成。

描述

bug
Checklist
  • I have looked into the README and have not found a suitable solution or answer.
  • I have looked into the documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have upgraded to the latest version of OpenFGA and the issue still persists.
  • I have searched the Slack community and have not found a suitable solution or answer.
  • I agree to the terms within the OpenFGA Code of Conduct.
Description

Unless I missed something, it seems the async_req parameter to send requests asynchronously cannot be set from the public APIs. options_to_kwargs doesn't support this parameter, so there's no way to set it without using internal APIs. Is this expected?

Expectation

Description is explanatory.

Reproduction
OpenFGA SDK version

0.9.4

OpenFGA version

1.8

SDK Configuration
Logs

No response

References

No response

主要语言
Python
星标
85
派生
36
平均合并
4 小时 22 分钟
30 天内合并 PR
2

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

openfga/python-sdk 的其他 Issue

查看 openfga/python-sdk 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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