fix: type ignore
This commit is contained in:
parent
808e702b30
commit
4603fce91c
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ def load_file(file_name, file_content, accepted_types) -> Any:
|
|||
# Return the yaml content
|
||||
loaded_yaml = yaml.load(decoded_string, Loader=yaml.FullLoader)
|
||||
try:
|
||||
from langchain.agents.agent_toolkits.openapi.spec import reduce_openapi_spec
|
||||
from langchain.agents.agent_toolkits.openapi.spec import reduce_openapi_spec # type: ignore
|
||||
|
||||
return reduce_openapi_spec(loaded_yaml)
|
||||
except ImportError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue