mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: move dashboard screenshot standalone logic (#23003)
This commit is contained in:
committed by
GitHub
parent
f6c304437a
commit
4ddf67fc14
@@ -48,7 +48,7 @@ def cache_chart_thumbnail(
|
||||
logger.warning("No cache set, refusing to compute")
|
||||
return None
|
||||
chart = cast(Slice, Slice.get(chart_id))
|
||||
url = get_url_path("Superset.slice", slice_id=chart.id, standalone="true")
|
||||
url = get_url_path("Superset.slice", slice_id=chart.id)
|
||||
logger.info("Caching chart: %s", url)
|
||||
_, username = get_executor(
|
||||
executor_types=current_app.config["THUMBNAIL_EXECUTE_AS"],
|
||||
|
||||
Reference in New Issue
Block a user