Commit ecca302
committed
fix(types): exclude bool from vector fast-path; fix docstring and id() usage
- _types.py: bool is a subclass of int — add explicit not isinstance(v, bool) guard
so [True, False] serialises as PropertyList, not Vector of 1.0/0.0
- __init__.py: docstring used result.rows but cypher() returns list[dict] directly
- llama-index base.py: replace id(n)/id(m) (Neo4j internal IDs) with n.id/m.id
(stored adapter property) in get_triplets() and get_rel_map() for consistent
round-tripping with get(), upsert_relations(), and delete()1 parent 3ee636e commit ecca302
3 files changed
Lines changed: 7 additions & 5 deletions
File tree
- coordinode
- llama-index-coordinode/llama_index/graph_stores/coordinode
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
| 177 | + | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
0 commit comments