Bring type annotations for rbtools.api up to date.
Review Request #14454 — Created June 10, 2025 and submitted
This change primarily replaces
Optional[]
andUnion[]
with the new
union syntax where appropriate. There's a few additional cleanups
sprinkled in as well.
Ran unit tests.
Summary | ID |
---|---|
80b640e56a6fcc357f95c14939752201546cb2eb |
Description | From | Last Updated |
---|---|---|
While here, let's rename this so we're not using the name of a builtin. |
|
|
We may want to localize these strings. If we do, we'll need the prior form. It's clearly been this way … |
|
|
We can probably remove the blank line now, since these don't run up against each other as much. |
|
|
Same here. |
|
|
This should probably be a Sequence[str]. |
|
|
Should these (and similar) be Mapping? |
|
|
This should probably be Mapping now. |
|
|
Same here. |
|