vyaradaikin opened a new issue, #32539: URL: https://github.com/apache/superset/issues/32539
### Bug description PDF report that is sent by schedule, downloads without .pdf extension in Slack Example in a screenshot Can a report be sent as a file with PDF extension? ### Screenshots/recordings  ### Superset version 4.1.1 ### Python version 3.11 ### Node version 16 ### Browser Chrome ### Additional context `superset_config.py class CeleryConfig(object): broker_url = REDIS_URL imports = ( "superset.sql_lab", "superset.tasks.scheduler", "superset.tasks.thumbnails", "superset.reports", "superset.tasks", "superset.dashboards" ) result_backend = REDIS_URL worker_prefetch_multiplier = 10 task_acks_late = True task_annotations = { "sql_lab.get_sql_results": { "rate_limit": "100/s", }, } beat_schedule = { "reports.scheduler": { "task": "reports.scheduler", "schedule": crontab(minute="*", hour="*"), }, "reports.prune_log": { "task": "reports.prune_log", "schedule": crontab(minute=0, hour=0), } } CELERY_CONFIG = CeleryConfig FEATURE_FLAGS = { "ALERT_REPORTS": True, "ALERT_REPORT_SLACK_V2": True } ALERT_REPORTS_NOTIFICATION_DRY_RUN = False WEBDRIVER_TYPE = "chrome" WEBDRIVER_BASEURL = get_env_variable('WEBDRIVER_BASEURL') WEBDRIVER_OPTION_ARGS = [ "--force-device-scale-factor=2.0", "--high-dpi-support=2.0", "--headless", "--disable-gpu", "--disable-dev-shm-usage", "--no-sandbox", "--disable-setuid-sandbox", "--disable-extensions", ] WEBDRIVER_WINDOW = { "dashboard": (1600, 2000), "slice": (3000, 1200), "pixel_density": 1, } SCREENSHOT_LOCATE_WAIT = 100 SCREENSHOT_LOAD_WAIT = 600 ` ### Checklist - [ ] I have searched Superset docs and Slack and didn't find a solution to my problem. - [ ] I have searched the GitHub issue tracker and didn't find a similar bug report. - [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
