didva edited a comment on issue #13439:
URL: https://github.com/apache/superset/issues/13439#issuecomment-803453986


   @jeffreyorourke 
   Here is an example that may be helpful for anyone facing the same issue.
   ```
   def init_thumbnail_cache(app: Flask, config, cache_args, cache_options) -> 
S3Cache:
       return S3Cache(get_env_variable('SUPERSET_CACHE_THUMBNAIL_S3_BUCKET'), 
get_env_variable('SUPERSET_CACHE_THUMBNAIL_S3_KEY_PREFIX'))
   
   THUMBNAIL_CACHE_CONFIG = {'CACHE_TYPE': 
'superset_config.init_thumbnail_cache'}`
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to