Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

OpenFGA SDK doesn't seem to support async_req parameter

Đang mở
#194 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
api

Hướng nghiên cứu

Bắt đầu trong openfga_sdk/client/client.py tại options_to_kwargs và so sánh các tùy chọn công khai của nó với tham số async_req trong openfga_sdk/api_client.py. Xác nhận cách các phương thức client công khai truyền các tùy chọn request, sau đó cung cấp async_req thông qua các API đó và xác minh rằng có thể cấu hình các request bất đồng bộ mà không sử dụng các API nội bộ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Python
Star
85
Fork
36
Merge trung bình
3 giờ 8 phút
Pull request đã merge (30 ngày)
3

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openfga/python-sdk

Tất cả issue của openfga/python-sdk

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.