Skip to content

Commit

Permalink
Merge pull request #982 from polybaseio/master
Browse files Browse the repository at this point in the history
Add UUID to supported fields
  • Loading branch information
vitalik authored Dec 5, 2023
2 parents 3c7f85b + 7b6e567 commit fdc82ee
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 @@ -89,6 +89,7 @@ def __get_pydantic_json_schema__(cls, schema, handler):
int: "integer",
str: "string",
float: "number",
UUID: "string",
}[type_]
return {"type": json_type}

Expand Down

0 comments on commit fdc82ee

Please sign in to comment.