Skip to content

Commit

Permalink
JSON-schema: Bugfix regression on type check
Browse files Browse the repository at this point in the history
Signed-off-by: Gunnar Andersson <[email protected]>
  • Loading branch information
gunnar-mb committed Mar 19, 2024
1 parent 3bdb118 commit 53faaf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ifex/schema/ifex_to_json_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def collect_type_info(t, collection={}, seen={}):

# We don't need to gather information about primitive types because they
# will not have any member fields below them.
if is_simple_type(t):
if is_simple_type(t) or t is Any:
return

# ForwardRef will fail if we try to recurse over its children. However,
Expand Down

0 comments on commit 53faaf2

Please sign in to comment.