mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-05 12:48:12 +00:00
Langchain_community: Fix issue with missing backticks in arango client (#29110)
- **Description:** Adds backticks to generate_schema function in the arango graph client - **Issue:** We experienced an issue with the generate schema function when talking to our arango database where these backticks were missing - **Dependencies:** none - **Twitter handle:** @anangelofgrace
This commit is contained in:
parent
fa6f08faa1
commit
00dcc44739
@ -86,7 +86,7 @@ class ArangoGraph:
|
|||||||
limit_amount = ceil(sample_ratio * col_size) or 1
|
limit_amount = ceil(sample_ratio * col_size) or 1
|
||||||
|
|
||||||
aql = f"""
|
aql = f"""
|
||||||
FOR doc in {col_name}
|
FOR doc in `{col_name}`
|
||||||
LIMIT {limit_amount}
|
LIMIT {limit_amount}
|
||||||
RETURN doc
|
RETURN doc
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user