Skip to content

Commit

Permalink
Added VectroField support
Browse files Browse the repository at this point in the history
Fixed the error related to the new field "VectroField "

python_type = TYPES[internal_type]
KeyError: 'VectorField'
  • Loading branch information
housUnus authored Aug 13, 2023
1 parent 8bfe321 commit 77247c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ninja/orm/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def validate(cls, value: Any, _: Any) -> Any:
"CIEmailField": str,
"CITextField": str,
"HStoreField": Dict,
"VectorField": List,
}

TModel = TypeVar("TModel")
Expand Down

0 comments on commit 77247c0

Please sign in to comment.