Require some arguments to be keyword-only in WebAPIError.
Review Request #13259 — Created Sept. 5, 2023 and submitted — Latest diff uploaded
This updates
WebAPIError.__init__
andWebAPIError.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.