Remove deprecation for passing non-string values to API add_field.
Review Request #14489 — Created June 28, 2025 and submitted — Latest diff uploaded
The API request
add_field
method has had a deprecation warning for a
while about passing in values that are not eitherstr
orbytes
. This
change replaces the warning+cast with an exception.There were a few places inside RBTools itself that were still hitting
this, all in the post implementation. These have been fixed up to format
the values as strings.
- Ran unit tests.
- Audited call sites to verify that we were passing string types
everywhere. - Posted changes, including ones that needed to upload binary files.
Diff Revision 1
This is not the most recent revision of the diff. The latest diff is revision 4. See what's changed.
orig
1
2
3
4
Commits
rbtools/api/request.py |
---|
rbtools/commands/post.py |
---|