Skip to content

Commit

Permalink
mute isinstance
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz committed Aug 28, 2022
1 parent 59c0970 commit e49868f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/django_mysql/models/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ def __init__(
if not hasattr(name, "resolve_expression"):
name = Value(name)

if isinstance(value, dict):
if isinstance(value, dict): # type: ignore [unreachable]
raise ValueError("ColumnAdd with nested values is not supported")
if not hasattr(value, "resolve_expression"):
value = Value(value)
Expand Down

0 comments on commit e49868f

Please sign in to comment.