villebro commented on code in PR #28706: URL: https://github.com/apache/superset/pull/28706#discussion_r1702365181
########## superset/tasks/cache.py: ########## @@ -212,14 +212,38 @@ def get_payloads(self) -> list[dict[str, int]]: strategies = [DummyStrategy, TopNDashboardsStrategy, DashboardTagsStrategy] +def fetch_csrf_token(headers: dict[str, str]) -> dict[str, str]: Review Comment: I think moving to `superset.tasks.utils` is a splendid idea 👍 -- 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: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org