Skip to content

Commit

Permalink
Fix bug when sanitize is used in neo4j property graph (#14812)
Browse files Browse the repository at this point in the history
* Fix bug when sanitize is used in neo4j property graph

* bump version
  • Loading branch information
tomasonjo authored Jul 18, 2024
1 parent ce52f49 commit 51321fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,7 @@ def structured_query(
full_result = [d.data() for d in result]

if self.sanitize_query_output:
return value_sanitize(full_result)

return [value_sanitize(el) for el in full_result]
return full_result

def vector_query(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exclude = ["**/BUILD"]
license = "MIT"
name = "llama-index-graph-stores-neo4j"
readme = "README.md"
version = "0.2.7"
version = "0.2.8"

[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
Expand Down

0 comments on commit 51321fc

Please sign in to comment.