Docs: clarify completion and cleanup for singular delete_user on the legacy route
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- python
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Python
- 星标
- 73
- 派生
- 20
- 平均合并
- 11 小时 34 分钟
- 30 天内合并 PR
- 7
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
GetStream/stream-chat-python 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 42/100
GetStream/stream-chat-python#244 ·
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
GetStream/stream-chat-python#167 · 5 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
GetStream/stream-chat-python#166 · 2 条评论 ·
-
conda?未关闭
难度 5/5 一周以上 新手友好度 15/100
GetStream/stream-chat-python#152 ·
-
难度 4/5 3-5 天 新手友好度 35/100
GetStream/stream-chat-python#151 ·
查看 GetStream/stream-chat-python 的全部 Issue
相似的 Issue
-
bug
难度 1/5 1 小时以内 新手友好度 85/100
NatLabRockies/openstudio-mcp#286 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
intersystems/ipm#1338 ·
维护者通常 1 天内回复
-
separate_packages splits imports from the same explicitly configured package可能已有人在做 @rahul05ranjan 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 2 天内回复
-
The v0-through-v1 path derives ShutdownDuration its own way, silently overriding a user's definition未关闭v1
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复