diff --git a/src/django_mysql/models/functions.py b/src/django_mysql/models/functions.py index f806ca52..9f4dd5f3 100644 --- a/src/django_mysql/models/functions.py +++ b/src/django_mysql/models/functions.py @@ -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)