Skip to content

Commit

Permalink
chore(project): Removed UnicodeExpr as it is no longer supported (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoboro committed Oct 23, 2022
1 parent c081b9b commit 0a14eb5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/prisma/mypy.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
NameExpr,
Var,
BytesExpr,
UnicodeExpr,
CallExpr,
IntExpr,
Context,
Expand Down Expand Up @@ -362,7 +361,7 @@ def _callexpr_to_dict(
return parsed

def _resolve_expression(self, expression: Expression) -> Any:
if isinstance(expression, (StrExpr, BytesExpr, UnicodeExpr, IntExpr)):
if isinstance(expression, (StrExpr, BytesExpr, IntExpr)):
return expression.value

if isinstance(expression, NameExpr):
Expand Down

0 comments on commit 0a14eb5

Please sign in to comment.