add scheduler middleware

This commit is contained in:
Jakub Miazek
2024-10-10 17:08:07 +02:00
parent db3f7285b7
commit 171a8019f7
7 changed files with 345 additions and 203 deletions

View File

@@ -20,5 +20,6 @@ class AppLogger(metaclass=SingletonMeta):
class RichConsoleHandler(RichHandler):
def __init__(self, width=200, style=None, **kwargs):
super().__init__(
console=Console(color_system="256", width=width, style=style, stderr=True), **kwargs
console=Console(color_system="256", width=width, style=style, stderr=True),
**kwargs
)