feat(rp5): add rp5 api
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
from os import environ
|
||||
|
||||
from aiocache import caches
|
||||
|
||||
import gallery # pylint:disable=unused-import
|
||||
|
||||
environ.setdefault("OPENWEATHER_KEY", "test")
|
||||
|
||||
caches.set_config(
|
||||
{
|
||||
"default": {
|
||||
"cache": "aiocache.SimpleMemoryCache",
|
||||
"serializer": {"class": "aiocache.serializers.PickleSerializer"},
|
||||
},
|
||||
"redis": {
|
||||
"cache": "aiocache.SimpleMemoryCache",
|
||||
"serializer": {"class": "aiocache.serializers.PickleSerializer"},
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user