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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| azure.py | ||
| base.py | ||
| gcs.py | ||
| postgresql.py | ||
| s3.py | ||