Abiola
Results
2
comments of
Abiola
Assuming the sub applications are connected using the Router, startup/shutdown events can be implemented as follows ```python app = Router([Mount("/api", app=service_app), Mount("", app=root_app)]) async def open_database_connection_pool(): await service_app.service.connect() async def...
Based on @kcrebound Implementation. I was able to come up with something. The `RedisLayer` class ``` import asyncio import json import logging import aioredis from aioredis import Channel from aioredis.pubsub...