Make the user agent accessible from the RBClient class.

Review Request #13340 — Created Oct. 13, 2023 and submitted — Latest diff uploaded

Information

RBTools
release-5.x

Reviewers

This makes the user agent string used for clients accessible from RBClient
as a property. We also weren't passing on the user agent from SyncTransport
to the ReviewBoardServer, so if a custom agent was set on the
SyncTransport, the ReviewBoardServer would still use the default agent.
This change fixes that.

  • Ran unit tests.
  • Used in an upcoming change where I access the user agent from the
    RBClient in a command.

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 the user agent accessible from the RBClient class.
053625b9815afd9efe69d1bf5c331a35b5bfe03b Michelle Aubin
rbtools/api/client.py
rbtools/api/request.py
rbtools/api/transport/sync.py
Loading...