mirror of
https://github.com/apache/superset.git
synced 2026-07-19 05:05:39 +00:00
superset/utils/s3.py imported boto3 at module level, and the dashboard API imports the export task (which imports this module) at startup. Since boto3 is not a base dependency, production images without it crashed on boot, failing deploy health checks. Move the import into the client factory (matching db_engine_specs/aws_iam.py); boto3 is only needed when an export actually runs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2.5 KiB
2.5 KiB