flake8 reported that the "cache" variable was not used at all and I incorrectly assumed that the whole call was not required. Regression introduced in commit d60c7312.