From 77247c0607c86cbec824b73b79b8f68f318ed1e6 Mon Sep 17 00:00:00 2001 From: AIT ALI EL HOSAYN <44384710+housUnus@users.noreply.github.com> Date: Sun, 13 Aug 2023 19:06:52 +0100 Subject: [PATCH] Added VectroField support Fixed the error related to the new field "VectroField " python_type = TYPES[internal_type] KeyError: 'VectorField' --- ninja/orm/fields.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ninja/orm/fields.py b/ninja/orm/fields.py index 1a175a56a..8446faf50 100644 --- a/ninja/orm/fields.py +++ b/ninja/orm/fields.py @@ -71,6 +71,7 @@ def validate(cls, value: Any, _: Any) -> Any: "CIEmailField": str, "CITextField": str, "HStoreField": Dict, + "VectorField": List, } TModel = TypeVar("TModel")