Docs: clarify completion and cleanup for singular delete_user on the legacy route
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Dokumentation
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- python
- Bereich
- backend-api-design, documentation
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Python
- Sterne
- 73
- Forks
- 20
- Ø Merge
- 11 Std. 34 Min.
- Gemergte PRs (30 T.)
- 7
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus GetStream/stream-chat-python
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 42/100
GetStream/stream-chat-python#244 ·
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
GetStream/stream-chat-python#167 · 5 Kommentare ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
GetStream/stream-chat-python#166 · 2 Kommentare ·
-
conda?Offen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 15/100
GetStream/stream-chat-python#152 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
GetStream/stream-chat-python#151 ·
Alle Issues in GetStream/stream-chat-python
Ähnliche Issues
-
bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
NatLabRockies/openstudio-mcp#286 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
intersystems/ipm#1338 ·
Maintainer antworten meist innerhalb von 1 Tag
-
separate_packages splits imports from the same explicitly configured packageEvtl. vergeben @rahul05ranjan hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 2 Tagen
-
The v0-through-v1 path derives ShutdownDuration its own way, silently overriding a user's definitionOffenv1
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag