Skip to content

Comments

Enforce keyword-only arguments#2863

Merged
adamtheturtle merged 1 commit intomainfrom
add-keyword-only-args
Feb 21, 2026
Merged

Enforce keyword-only arguments#2863
adamtheturtle merged 1 commit intomainfrom
add-keyword-only-args

Conversation

@adamtheturtle
Copy link
Member

@adamtheturtle adamtheturtle commented Feb 21, 2026

Summary

  • Add * separator to enforce keyword-only arguments in CloudRecoService.__init__, CloudRecoService.query, VWS.__init__, VWS.add_target, and VWS.wait_for_target_processed
  • All existing call sites already use keyword arguments, so no caller updates were needed

Test plan

  • Run existing test suite to verify no regressions

🤖 Generated with Claude Code


Note

Low Risk
Signature-only change that should be low risk if downstream callers already use keyword args; risk is limited to external users calling these methods positionally.

Overview
Enforces keyword-only arguments by adding * separators to CloudRecoService.__init__/query and VWS.__init__/add_target/wait_for_target_processed, preventing positional calls for these public APIs.

This is an API-signature tightening change only; runtime behavior is otherwise unchanged.

Written by Cursor Bugbot for commit a0cf4c1. This will update automatically on new commits. Configure here.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@adamtheturtle adamtheturtle merged commit c117e97 into main Feb 21, 2026
16 checks passed
@adamtheturtle adamtheturtle deleted the add-keyword-only-args branch February 21, 2026 09:48
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