Skip to content

Commit

Permalink
Chore: fix ANNOTATORS mypy type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
georgesittas committed Jun 20, 2023
1 parent 458f12d commit 73cddc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlglot/optimizer/annotate_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class TypeAnnotator(metaclass=_TypeAnnotator):
},
}

ANNOTATORS = {
ANNOTATORS: t.Dict = {
**{
expr_type: lambda self, e: self._annotate_unary(e)
for expr_type in subclasses(exp.__name__, (exp.Unary, exp.Alias))
Expand Down

0 comments on commit 73cddc4

Please sign in to comment.