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.

Diff Revision 2

This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.

orig
1
2
3

Commits

First Last 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.
2f4f9eaa4ca8545aac981d72faaf864f8950591a David Trowbridge
rbtools/api/factory.py
rbtools/api/tests/base.py
rbtools/api/tests/test_factory.py
rbtools/api/tests/test_resource.py
rbtools/api/transport/sync.py
Loading...