From e81d21a3e22d29947b0c372e1780a0a2aa30b7a7 Mon Sep 17 00:00:00 2001 From: HUANG SIZHE Date: Tue, 18 Jun 2024 17:53:17 +0800 Subject: [PATCH] Update utils.py --- schema_entry/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema_entry/utils.py b/schema_entry/utils.py index e510ec5..728b7f7 100644 --- a/schema_entry/utils.py +++ b/schema_entry/utils.py @@ -243,7 +243,7 @@ def remove_sigal_allOf(d: Dict[str, Any]) -> Dict[str, Any]: def remove_defs_interference(d: Dict[str, Any]) -> Dict[str, Any]: if d.get("$defs") and isinstance(d["$defs"], dict): - defs = cast(Dict[str, Any],d["$defs"]) + defs = cast(Dict[str, Any], d["$defs"]) for _, value in defs.items(): if value.get("title"): del value["title"]