Fix up typing for things that just used generic resources.

Review Request #14413 — Created April 30, 2025 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

There were a handful of places where we had added type annotations to
things prior to all the API work, and were just using generic
ListResource/ItemResource/Resource for those. This fixes them up to use
the newly-defined resource subclasses for those annotations.

Ran unit tests.

Diff Revision 1

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

orig
1
2

Commits

First Last Summary ID Author
Fix up typing for things that just used generic resources.
There were a handful of places where we had added type annotations to things prior to all the API work, and were just using generic ListResource/ItemResource/Resource for those. This fixes them up to use the newly-defined resource subclasses for those annotations. Testing Done: Ran unit tests.
df0becf806002bf062db486332962c93977fc85a David Trowbridge
rbtools/clients/base/scmclient.py
rbtools/commands/base/commands.py
rbtools/diffs/patcher.py
rbtools/utils/repository.py
Loading...