Skip to content

feat: Add params support to put()/delete() transport methods#1

Merged
ssbean merged 1 commit intomasterfrom
feat/transport-params-support
Mar 3, 2026
Merged

feat: Add params support to put()/delete() transport methods#1
ssbean merged 1 commit intomasterfrom
feat/transport-params-support

Conversation

@ssbean
Copy link

@ssbean ssbean commented Mar 3, 2026

Summary

  • Add optional params argument to put() and delete() on both sync and async transports
  • Change delete() return type from None to Any — returns response JSON body when present
  • Update _update and _delete base class helpers to forward params
  • Backward-compatible: new params arg defaults to None

Unblocks AppDB client which needs params on PUT and DELETE with response body.

Testing

  • 14 new transport tests
  • All tests pass, ruff clean

🤖 Generated with Claude Code

Enable query parameter passing on PUT and DELETE requests, and return
response body from DELETE (previously returned None). This unblocks
AppDB client methods that need params on PUT (set_permission) and
DELETE with response body (bulk_delete).

Changes are backward-compatible — new params arg defaults to None.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ssbean ssbean merged commit 36d1114 into master Mar 3, 2026
2 of 7 checks passed
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.

1 participant