feat: return semantic info in markdown after write_note (#11)

Co-authored-by: phernandez <phernandez@basicmachines.co>
This commit is contained in:
Paul Hernandez
2025-02-17 23:33:11 -06:00
committed by GitHub
parent 16466e9269
commit 0689e7a730
8 changed files with 187 additions and 150 deletions
@@ -31,7 +31,7 @@ def get_entity_ids(item: SearchIndexRow) -> list[int]:
from_entity = item.from_id
to_entity = item.to_id # pyright: ignore [reportReturnType]
return [from_entity, to_entity] if to_entity else [from_entity] # pyright: ignore [reportReturnType]
case _:
case _: # pragma: no cover
raise ValueError(f"Unexpected type: {item.type}")