Require some arguments to be keyword-only in WebAPIError.

Review Request #13259 — Created Sept. 5, 2023 and submitted — Latest diff uploaded

Information

Djblets
release-4.x

Reviewers

This updates WebAPIError.__init__ and WebAPIError.with_overrides
to mark the current keyword argument as keyword-only, in preparation for
new arguments.

Passing as positional arguments is now deprecated, and will emit a
deprecation warning.

Unit tests pass in Djblets and Review Board.

Commits

Files