From 32b077405304ce22d9fdf96e434a0f3cde460200 Mon Sep 17 00:00:00 2001 From: Simon Prickett Date: Fri, 22 Apr 2022 17:29:26 +0100 Subject: [PATCH] Fixed typo in error message. --- aredis_om/model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aredis_om/model/model.py b/aredis_om/model/model.py index fde5782..4b71eec 100644 --- a/aredis_om/model/model.py +++ b/aredis_om/model/model.py @@ -124,7 +124,7 @@ def validate_model_fields(model: Type["RedisModel"], field_values: Dict[str, Any if not hasattr(obj, sub_field): raise QuerySyntaxError( f"The update path {field_name} contains a field that does not " - f"exit on {model.__name__}. The field is: {sub_field}" + f"exist on {model.__name__}. The field is: {sub_field}" ) obj = getattr(obj, sub_field) return