Skip to content

Conversation

@daksh-r
Copy link
Contributor

@daksh-r daksh-r commented Aug 28, 2025

Submit a pull request

CLA

  • I have signed the Stream CLA (required).
  • The code changes follow best practices
  • Code changes are tested (add some information if not applicable)

Description of the pull request

@daksh-r daksh-r changed the title feat: delete for me Feat: Added Delete for me support on behalf of a user Sep 1, 2025
@daksh-r daksh-r marked this pull request as ready for review September 1, 2025 14:16
Comment on lines +137 to +140
async def delete(
self, relative_url: str, params: Dict = None, data: Any = None
) -> StreamResponse:
return await self._make_request(self.session.delete, relative_url, params, data)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added to allow delete(relative_url, params=None, data=None) in async client to match sync behavior.

Comment on lines +101 to +103
if method.__name__ in ["post", "put", "patch"] or (
method.__name__ == "delete" and data
):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added to serialize DELETE body only when data is provided; keeps existing DELETEs unchanged.

@daksh-r daksh-r merged commit c911a8b into master Sep 1, 2025
1 of 11 checks passed
@daksh-r daksh-r deleted the feat-delete-for-me branch September 1, 2025 21:40
@github-actions github-actions bot mentioned this pull request Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants