fleet-memory/hindsight-api/hindsight_api/engine/storage
And#ocean 86d8ac08b1
fix(storage): use dynamic schema_getter in PostgreSQLFileStorage for multi-tenant (#440)
PostgreSQLFileStorage was initialized once at startup with a static
schema value. Since get_current_schema() returns the default schema at
init time, multi-tenant requests always queried the wrong schema,
causing "relation file_storage does not exist" errors.

Replace static schema with schema_getter callable (same pattern used
by BrokerTaskBackend since #208) so the schema is resolved dynamically
per-request via contextvars.
2026-02-25 15:19:08 +01:00
..
__init__.py fix(storage): use dynamic schema_getter in PostgreSQLFileStorage for multi-tenant (#440) 2026-02-25 15:19:08 +01:00
azure.py feat: accept pdf, images and office files (#390) 2026-02-17 18:15:03 +01:00
base.py feat: accept pdf, images and office files (#390) 2026-02-17 18:15:03 +01:00
gcs.py feat: accept pdf, images and office files (#390) 2026-02-17 18:15:03 +01:00
postgresql.py fix(storage): use dynamic schema_getter in PostgreSQLFileStorage for multi-tenant (#440) 2026-02-25 15:19:08 +01:00
s3.py feat: accept pdf, images and office files (#390) 2026-02-17 18:15:03 +01:00