Add/update typing for rbtools.utils.users.

Review Request #14473 — Created June 24, 2025 and submitted

Information

RBTools
master

Reviewers

This change adds missing type hints for the methods in
rbtools.utils.users, and fixes up a couple more places where we were
just using Resource instead of specific subclasses. While I was in
here I also switched this to use a named logger.

Ran unit tests.

Summary ID
Add/update typing for rbtools.utils.users.
This change adds missing type hints for the methods in `rbtools.utils.users`, and fixes up a couple more places where we were just using `Resource` instead of specific subclasses. While I was in here I also switched this to use a named logger. Testing Done: Ran unit tests.
950039929cfc57759304fdeaa8cf96f040ded99b
Description From Last Updated

These are missing their types.

chipx86chipx86

Same here. And same with the methods below.

chipx86chipx86
chipx86
  1. 
      
  2. rbtools/utils/users.py (Diff revision 1)
     
     
     
     
     
     
     
     
     
     
    Show all issues

    These are missing their types.

  3. rbtools/utils/users.py (Diff revision 1)
     
     
     
    Show all issues

    Same here.

    And same with the methods below.

  4. 
      
david
chipx86
  1. Ship It!
  2. 
      
maubin
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to master (6beec96)