A few additional cleanups based on #2982 reviewing #2981. Most significantly, use t.Literal[True] instead of str for properties that can be present with an optional value. This matches other boolean properties better, and makes type checkers happier.
A few additional cleanups based on #2982 reviewing #2981. Most significantly, use
t.Literal[True]
instead ofstr
for properties that can be present with an optional value. This matches other boolean properties better, and makes type checkers happier.fixes #2982