Skip to content

Commit

Permalink
patch[partners] Fix check_imports bugs in pinecone and milvus (langch…
Browse files Browse the repository at this point in the history
…ain-ai#24971)

Fix wrong declared variables of `check_imports` in pinecone and milvus
  • Loading branch information
ZhangShenao authored and olgamurraft committed Aug 16, 2024
1 parent 45c25d4 commit 4c002f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/partners/milvus/scripts/check_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
try:
SourceFileLoader("x", file).load_module()
except Exception:
has_faillure = True
has_failure = True
print(file) # noqa: T201
traceback.print_exc()
print() # noqa: T201
Expand Down
2 changes: 1 addition & 1 deletion libs/partners/pinecone/scripts/check_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
try:
SourceFileLoader("x", file).load_module()
except Exception:
has_faillure = True
has_failure = True
print(file) # noqa: T201
traceback.print_exc()
print() # noqa: T201
Expand Down

0 comments on commit 4c002f7

Please sign in to comment.