trustgraph/trustgraph-base
cybermaggedon aea4c2df8e
fix: library API get/update document round-trip bugs (#893) (#928)
Fix 5 cascading bugs in the Library API wrapper that prevented
the get_documents → update_document round-trip from working:

- Tolerate missing title field in document metadata (use .get())
- Use attribute access on Triple objects instead of subscript
- Serialize datetime to int seconds for JSON compatibility
- Handle empty server response on successful update
- Send both id and document-id keys in update request

Added library API tests
2026-05-16 11:32:51 +01:00
..
trustgraph fix: library API get/update document round-trip bugs (#893) (#928) 2026-05-16 11:32:51 +01:00
pyproject.toml Add missing websockets dep (#859) 2026-04-30 09:53:32 +01:00
README.md Maint/fix build env (#84) 2024-09-30 19:47:09 +01:00