mirror of
https://github.com/Mintplex-Labs/langchain-python.git
synced 2026-07-19 13:26:32 -04:00
raise openapi import error (#11495)
This commit is contained in:
@@ -266,6 +266,8 @@ def get_openapi_chain(
|
||||
try:
|
||||
spec = conversion(spec) # type: ignore[arg-type]
|
||||
break
|
||||
except ImportError as e:
|
||||
raise e
|
||||
except Exception: # noqa: E722
|
||||
pass
|
||||
if isinstance(spec, str):
|
||||
|
||||
Reference in New Issue
Block a user