Docs: clarify completion and cleanup for singular delete_user on the legacy route

オープン
#252 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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,
)
  1. 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?
  2. Does mark_messages_deleted=True preserve 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.
  3. 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.deleted event 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分
マージ済み PR(30日)
7

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

GetStream/stream-chat-python のほかの issue

GetStream/stream-chat-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。