fleet-memory/hindsight-clients/python
DK09876 8ecb5d3a0c
Add documentation code validation system (#43)
* Add documentation code validation system

- Create runnable example scripts in examples/api/ (19 files)
- Add CodeSnippet component for extracting marked sections
- Add raw-loader dependency for importing source files
- Create sample retain-new.mdx showing new approach
- Add README documenting coverage and gaps

* Fix wheel glob expansion in test-doc-examples CI job

* Fix CI issue

* Fix wheel path - uv build outputs to repo root dist/

* Fix: use explicit shell expansion for wheel install

* Fix: run cd in subshell so install runs from repo root

* Add documentation code validation CI job

- Use uv sync + uv run pattern (matches existing CI)
- Add requests to test dependencies for cleanup scripts

* Fix async API client usage in documents.py example

* Fix main-methods.py: RecallResult and ReflectFact don't have weight attribute

* Fix opinions.py: use actual API attributes instead of non-existent ones

* Fix example scripts: remove non-existent API attributes

- recall.py: remove .weight, fix entities iteration (dict not list)
- retain.mjs: remove result.async check
2025-12-18 10:21:38 +01:00
..
.openapi-generator improve ci and tests (#22) 2025-12-09 19:16:00 +01:00
hindsight_client fix docs on clients 2025-12-11 14:23:56 +01:00
hindsight_client_api improve ci and tests (#22) 2025-12-09 19:16:00 +01:00
tests Fix base CI issues and the defaults in .env.example (#24) 2025-12-11 16:48:12 -05:00
.openapi-generator-ignore rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
openapi-generator-config.yaml rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
pyproject.toml Add documentation code validation system (#43) 2025-12-18 10:21:38 +01:00
README.md fix py client 2025-12-05 01:03:07 +01:00

Hindsight Python Client