Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
import guard
Browse files Browse the repository at this point in the history
  • Loading branch information
Disiok committed Jul 18, 2023
1 parent 68a51bc commit c4ec318
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llama_hub/tools/openapi/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def dereference_openapi(openapi_doc):
"The jsonschema library is required to parse OpenAPI documents. "
"Please install it with `pip install jsonschema`."
)

resolver = jsonschema.RefResolver.from_schema(openapi_doc)

def _dereference(obj):
Expand Down

0 comments on commit c4ec318

Please sign in to comment.