Skip to content

Commit

Permalink
fix: remove bson import (langflow-ai#3924)
Browse files Browse the repository at this point in the history
Remove bson import
  • Loading branch information
jordanrfrazier authored and diogocabral committed Nov 26, 2024
1 parent fd02e12 commit f751ae9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 30 deletions.
16 changes: 1 addition & 15 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ dependencies = [
"composio-langchain==0.5.9",
"spider-client>=0.0.27",
"nltk>=3.9.1",
"bson>=0.5.10",
"lark>=1.2.2",
"jq>=1.8.0",
"pydantic-settings==2.4.0",
Expand Down Expand Up @@ -219,7 +218,6 @@ astra-assistants = "^2.1.2"
composio-langchain = "0.5.9"
spider-client = "^0.0.27"
nltk = "^3.9.1"
bson = "^0.5.10"
lark = "^1.2.2"
jq = "^1.8.0"
clickhouse-connect = {version = "0.7.19", optional = true, extras = ["clickhouse-connect"]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def build_vector_store(self) -> MongoDBAtlasVectorSearch:
return vector_store

def search_documents(self) -> list[Data]:
from bson import ObjectId
from bson.objectid import ObjectId

vector_store = self.build_vector_store()

Expand Down
12 changes: 0 additions & 12 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f751ae9

Please sign in to comment.