def add_cache(self): """ Create and attach Cache extension """ from skylines.api.cache import cache cache.init_app(self)