Skip to content

Commit

Permalink
refactor(typing): replace lingering UndefinedType
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned committed Jul 8, 2024
1 parent bd26c07 commit 6245a8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion altair/vegalite/v5/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def _get_predicate_expr(p: Parameter) -> Optional[str | SchemaBase]:


def _predicate_to_condition(
predicate: _PredicateType, *, empty: bool | UndefinedType = Undefined
predicate: _PredicateType, *, empty: Optional[bool] = Undefined
) -> _ConditionType:
condition: _ConditionType
if isinstance(predicate, Parameter):
Expand Down

0 comments on commit 6245a8b

Please sign in to comment.