fix(inventory/instances): fix jsonschema compatibility

This commit is contained in:
Johannes Kirschbauer
2025-03-27 19:35:59 +01:00
parent b133a2407a
commit a69b81488b
4 changed files with 14 additions and 24 deletions

View File

@@ -32,6 +32,8 @@ def map_json_type(
return {"str"}
if json_type == "integer":
return {"int"}
if json_type == "number":
return {"float"}
if json_type == "boolean":
return {"bool"}
# In Python, "number" is analogous to the float type.