Skip to content

Commit

Permalink
Nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
silviogutierrez committed Nov 30, 2023
1 parent 2189523 commit f27068c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions reactivated/serialization/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def get_json_schema(
extra = {
"type": "object",
"properties": {
"enum": {"tsType": "UUID"},
"enum": {"tsType": "UUID | null"},
},
"required": ["enum"],
"additionalProperties": False,
Expand Down Expand Up @@ -980,7 +980,6 @@ def create_schema(Type: Any, definitions: Definitions) -> Thing:
try:
proxy = PROXIES[type_class]

print(Type, proxy)
if callable(getattr(proxy, "get_json_schema", None)):
proxy_schema = proxy.get_json_schema(Type, definitions)
else:
Expand Down

0 comments on commit f27068c

Please sign in to comment.