Docs: clarify completion and cleanup for singular delete_user on the legacy route
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Documentação
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- python
- Domínio
- backend-api-design, documentation
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Python
- Estrelas
- 73
- Forks
- 20
- Merge médio
- 11h 34min
- PRs com merge (30d)
- 7
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de GetStream/stream-chat-python
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
GetStream/stream-chat-python#244 ·
-
enhancement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
GetStream/stream-chat-python#167 · 5 comentários ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 35/100
GetStream/stream-chat-python#166 · 2 comentários ·
-
conda?Aberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 15/100
GetStream/stream-chat-python#152 ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
GetStream/stream-chat-python#151 ·
Todas as issues de GetStream/stream-chat-python
Issues semelhantes
-
bug
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
NatLabRockies/openstudio-mcp#286 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
intersystems/ipm#1338 ·
Mantenedores costumam responder em até 1 dia
-
separate_packages splits imports from the same explicitly configured packageTalvez já em andamento @rahul05ranjan assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 2 dias
-
The v0-through-v1 path derives ShutdownDuration its own way, silently overriding a user's definitionAbertav1
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia