Skip to content

chore: canonical async _delete and 204 handling in _call#45

Merged
JoshuaVulcan merged 1 commit intomainfrom
chore/canonical-async-delete
Feb 11, 2026
Merged

chore: canonical async _delete and 204 handling in _call#45
JoshuaVulcan merged 1 commit intomainfrom
chore/canonical-async-delete

Conversation

@JoshuaVulcan
Copy link
Copy Markdown
Contributor

@JoshuaVulcan JoshuaVulcan commented Feb 11, 2026

Unifies six independent async _delete() implementations across PRs 28, 30, 32, 34, 36, 41.

Canonical (PR #36 style):

  • async def _delete(self, path, params=None, base_url=None) — delegates to _call
  • _call: on 204 No Content returns True (no JSON parse)
  • Optional base_url in _call / _delete for versioned endpoints (e.g. v2 event types in PR 30)

Merge this PR first, then the feature PRs (already rebased onto this branch) can be merged in any order.

Related: ERA-12650 (28), ERA-12656 (30), ERA-12662 (32), ERA-12666 (34), ERA-12674 (36), ERA-12682 (41).

- async _delete(path, params=None, base_url=None) delegates to _call
- _call treats 204 No Content as success and returns True (no JSON parse)
- Optional base_url in _call for versioned endpoints (e.g. v2 event types)
- Unifies six independent PR implementations (PRs 28,30,32,34,36,41)

Co-authored-by: Cursor <cursoragent@cursor.com>
@JoshuaVulcan JoshuaVulcan merged commit 4bd2f1d into main Feb 11, 2026
1 check passed
@chrisdoehring
Copy link
Copy Markdown
Contributor

@JoshuaVulcan We're conflicting on these now, since this got merged in front of mine (#23)
I'm happy to retrofit mine branch now, but please let me know if you intend to merge those other ~20 PRs today.

I'lll protections on the main branch to catch these in the future.

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