Skip to content

Forward params on DELETE requests#184

Merged
c-fang merged 3 commits into
mainfrom
c-fang/delete-request-params
May 26, 2026
Merged

Forward params on DELETE requests#184
c-fang merged 3 commits into
mainfrom
c-fang/delete-request-params

Conversation

@c-fang

@c-fang c-fang commented May 26, 2026

Copy link
Copy Markdown
Contributor

delete_request was the only HTTP helper that didn't take a params argument, forcing callers to hand-encode query strings into the endpoint when they needed to attach filters or scoping params to a DELETE.

Adds params=None to delete_request and threads it through _base_request to requests.delete(..., params=...), matching get/post/put/patch.

Bumps version to 1.5.23.

Match get/post/put/patch and let callers attach query-string params to
DELETE. Bumps to 1.5.23.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d913fe9827

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread surge/api_resource.py Outdated
@c-fang c-fang requested a review from taro-luo May 26, 2026 22:05
@c-fang

c-fang commented May 26, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@c-fang c-fang requested a review from victor-surge May 26, 2026 23:26
@c-fang c-fang merged commit 4fbc51f into main May 26, 2026
2 checks passed
@c-fang c-fang deleted the c-fang/delete-request-params branch May 26, 2026 23:40
@c-fang c-fang removed the request for review from taro-luo May 27, 2026 06:09
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.

2 participants