fleet-memory/hindsight-clients
Chris Bartholomew 39e3f7c528
Fix Python SDK not sending Authorization header (#106)
* Fix Python SDK not sending Authorization header

The Python SDK accepts an api_key parameter but never sends it as a
Bearer token in requests. The OpenAPI-generated Configuration class
stores the key in access_token, but auth_settings() returns an empty
dict because the OpenAPI spec doesn't define a security scheme.

This fix manually sets the Authorization header on the ApiClient,
bypassing the broken auth_settings() mechanism.

Tested against api.dev.hindsight.vectorize.io:
- Before: 401 "Authentication failed: API key required"
- After: Success

* chore: update Rust client Cargo.lock for CI verification

Run generate-clients.sh to sync Cargo.lock with current dependencies.
2026-01-07 09:46:50 +01:00
..
python Fix Python SDK not sending Authorization header (#106) 2026-01-07 09:46:50 +01:00
rust Fix Python SDK not sending Authorization header (#106) 2026-01-07 09:46:50 +01:00
typescript Release v0.2.1 2026-01-05 12:36:49 +01:00
.gitignore rename to hindsight (#2) 2025-11-25 19:28:26 +01:00