GitHub user phu0n9 added a comment to the discussion: Deck.gl map change style directly on dashboard
@dosu i enabled all these config but exporting pdf does not work, API: http://localhost:8088/api/v1/dashboard/4/screenshot/7cdd466db518bc307b094d166defbcbd/?download_format=pdf is 404 THUMBNAIL_CACHE_CONFIG = { "CACHE_TYPE": "FileSystemCache", "CACHE_DIR": "P:\Pauline\superset_cache", # specify your local folder path here "CACHE_DEFAULT_TIMEOUT": 300, } class CeleryConfig: broker_url = f"redis://{REDIS_HOST}:{REDIS_PORT}/{REDIS_CELERY_DB}" imports = ( "superset.sql_lab", "superset.tasks.scheduler", "superset.tasks.thumbnails", "superset.tasks.cache", ) result_backend = f"redis://{REDIS_HOST}:{REDIS_PORT}/{REDIS_RESULTS_DB}" worker_prefetch_multiplier = 1 task_acks_late = False beat_schedule = { "reports.scheduler": { "task": "reports.scheduler", "schedule": crontab(minute="*", hour="*"), }, "reports.prune_log": { "task": "reports.prune_log", "schedule": crontab(minute=10, hour=0), }, } CELERY_CONFIG = CeleryConfig DATA_CACHE_CONFIG = { "CACHE_TYPE": "SupersetMetastoreCache", "CACHE_KEY_PREFIX": "superset_results", # make sure this string is unique to avoid collisions "CACHE_DEFAULT_TIMEOUT": 86400, # 60 seconds * 60 minutes * 24 hours } SCREENSHOT_LOCATE_WAIT = 100 SCREENSHOT_LOAD_WAIT = 600 FEATURE_FLAGS = { "ENABLE_JAVASCRIPT_CONTROLS":True, "DASHBOARD_NATIVE_FILTERS": True, "DASHBOARD_CROSS_FILTERS": True, "THUMBNAILS": True, "THUMBNAILS_SQLA_LISTENERS": True, "ENABLE_DASHBOARD_SCREENSHOT_ENDPOINTS": True, "ENABLE_DASHBOARD_DOWNLOAD_WEBDRIVER_SCREENSHOT": True, "ALERT_REPORTS": True } HTML_SANITIZATION = False GitHub link: https://github.com/apache/superset/discussions/32149#discussioncomment-13119175 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
