Make create_resource use keyword-only arguments.

Review Request #14414 — Created April 30, 2025 and updated — Latest diff uploaded

Information

RBTools
master

Reviewers

The create_resource method recently gained an additional argument, and
it's getting unwieldy. This change makes it use keyword-only arguments
with appropriate deprecation.

Ran unit tests.

Changes between revision 1 and 2

orig
1
2
3

Commits

Summary ID Author
Make create_resource use keyword-only arguments.
The create_resource method recently gained an additional argument, and it's getting unwieldy. This change makes it use keyword-only arguments with appropriate deprecation. Testing Done: Ran unit tests.
8983bfb969eb564c42f1efff98f8f75aa4967038 David Trowbridge
Make create_resource use keyword-only arguments.
The create_resource method recently gained an additional argument, and it's getting unwieldy. This change makes it use keyword-only arguments with appropriate deprecation. Testing Done: Ran unit tests.
2f4f9eaa4ca8545aac981d72faaf864f8950591a David Trowbridge
rbtools/api/tests/base.py
Loading...