Add typing for conditions.
Review Request #14267 — Created Dec. 11, 2024 and submitted — Latest diff uploaded
This adds type hints for
ConditionandConditionSet, along with new
TypedDicts for the serialized data. Documentation has also been
updated for all the instance state.There's room for further improvement here, notably using enums for
ConditionSetmodes. That's outside the scope of this change.
Unit tests pass.