Skip to content

Commit

Permalink
chore: [schema] deref add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
luochen1990 committed Aug 6, 2024
1 parent 423e557 commit ccd54d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ai_powered/schema_deref.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ def deref(schema: dict[str, Any]) -> dict[str, Any]:
}
'''

#TODO: 环状引用检测(递归类型,如 Nat,List)

defs = schema.get("$defs", {})

def _deref(schema: dict[str, Any]) -> dict[str, Any]:
Expand Down

0 comments on commit ccd54d7

Please sign in to comment.