john-bodley opened a new pull request #10291:
URL: https://github.com/apache/incubator-superset/pull/10291
### SUMMARY
Whenever one uses the `superset` CLI with the thumbnail feature (which is
behind a feature flag) disabled, one would see the following warning,
```
INFO:superset.utils.logging_configurator:logging was configured successfully
/usr/local/lib/python3.6/dist-packages/flask_caching/__init__.py:189:
UserWarning: Flask-Caching: CACHE_TYPE is set to null, caching is effectively
disabled.
```
This was in related to the `THUMBNAIL_CACHE_CONFIG` which is unused but has
a default configuration of
```python
THUMBNAIL_CACHE_CONFIG = {"CACHE_TYPE": "null"}
```
The fix is merely to disable the warning for said cache.
### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
<!--- Skip this if not applicable -->
### TEST PLAN
CI.
### ADDITIONAL INFORMATION
<!--- Check any relevant boxes with "x" -->
<!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
- [ ] Has associated issue:
- [ ] Changes UI
- [ ] Requires DB Migration.
- [ ] Confirm DB Migration upgrade and downgrade tested.
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API
----------------------------------------------------------------
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]