Skip to content

Commit

Permalink
fix type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaschat-db committed Dec 18, 2024
1 parent 075d86d commit 85f99c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/delta/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ def optimize(self) -> "DeltaOptimizeBuilder":
jbuilder = self._jdt.optimize()
return DeltaOptimizeBuilder(self._spark, jbuilder)

@classmethod
@classmethod # type: ignore[arg-type]
def _verify_type_bool(self, variable, name):
if not isinstance(variable, bool) or variable is None:
raise ValueError("%s needs to be a boolean but got '%s'." % (name, type(variable)))
Expand Down

0 comments on commit 85f99c3

Please sign in to comment.