Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2023-11-29 00:39:14 -08:00
parent bc3d698539
commit faaeb3a472
74 changed files with 496 additions and 1985 deletions

View File

@ -2056,13 +2056,13 @@ def getTypeName(schema: dict) -> str:
):
return "datetime.datetime"
elif schema["format"] == "byte":
return "Base64Bytes"
return "Base64Data"
elif schema["format"] == "uuid":
return "UUID"
elif schema["format"] == "url":
return "AnyUrl"
elif schema["format"] == "phone":
return "PhoneNumber"
return "str"
return "str"
elif schema["type"] == "number":
return "float"