Docs: clarify completion and cleanup for singular delete_user on the legacy route
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- backend-api-design, documentation
Hướng nghiên cứu
Start with the linked Python interface and implementation in stream_chat/base/client.py and stream_chat/client.py, then compare the linked JavaScript response type and user deletion guide. Establish the applicable server contract for the exact singular request, including task polling, message and attachment effects, related cleanup, timeout confirmation, and event guarantees. Done means adding a short method note that accurately states those guarantees or points callers to a supported replacement.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Could the legacy Python SDK document the completion and cleanup guarantees for singular delete_user? This affects what an existing integration can safely record when an account deletion returns successfully or the response is lost.
The Python interface describes this method as synchronous and its implementation calls DELETE /users/{user_id}. The plural delete_users calls a separate endpoint and has a documented task workflow. In the JavaScript SDK v9.5.1, the response type for the same singular route includes an optional task_id. That type alone does not establish when the server returns one.
For this specific Python invocation:
client.delete_user(
"example-user",
hard_delete=True,
mark_messages_deleted=True,
delete_conversation_channels=True,
)
- What has finished on a successful response without a task ID? If a task ID is returned, which work does it cover and should the caller poll it?
- Does
mark_messages_deleted=Truepreserve or erase message content and attachments? Which conversation channels are affected? Please identify any cleanup of uploaded files or Video data that requires a separate operation. - After a transport timeout, is there an authoritative read-only confirmation for this exact request, or a documented safe retry? In particular, what does a matching
user.deletedevent establish about completion of the requested cleanup?
A short note in the method documentation pointing existing callers to the applicable server contract or supported replacement would help. This request is based on the published interfaces. We have not performed a deletion to test these questions.
Python interface · Python implementation · JavaScript singular response type · User deletion guide
- Ngôn ngữ chính
- Python
- Star
- 73
- Fork
- 20
- Merge trung bình
- 11 giờ 34 phút
- Pull request đã merge (30 ngày)
- 7
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của GetStream/stream-chat-python
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
GetStream/stream-chat-python#244 ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
GetStream/stream-chat-python#167 · 5 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
GetStream/stream-chat-python#166 · 2 bình luận ·
-
conda?Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
GetStream/stream-chat-python#152 ·
-
Add a new way to query all usersĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
GetStream/stream-chat-python#151 ·
Tất cả issue của GetStream/stream-chat-python
Issue tương tự
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
NatLabRockies/openstudio-mcp#286 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
intersystems/ipm#1338 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
separate_packages splits imports from the same explicitly configured packageCó thể đã có người làm @rahul05ranjan đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày
-
The v0-through-v1 path derives ShutdownDuration its own way, silently overriding a user's definitionĐang mởv1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày