Пример #1
0
def only_print(message: str) -> None:
    logger.debug(message)
Пример #2
0
 async def get(self):
     only_print("world")
     logger.debug("hello")
     onlytest()
     return ""
Пример #3
0
 async def process_response(self, request, response):
     logger.debug("enter second last process response")
     return response
Пример #4
0
 async def process_request(self, request):
     logger.debug("enter second process request")
Пример #5
0
 async def process_request(self, request):
     logger.debug("enter first process request")
Пример #6
0
 async def process_response(self, request, response):
     logger.debug("example base middleware response")
     return response
Пример #7
0
 async def process_request(self, request):
     logger.debug("example base middleware request")