From 77be64ed4ba6198a3c199c595a7e1cf12da7e2d2 Mon Sep 17 00:00:00 2001 From: StNicolay Date: Thu, 29 Dec 2022 18:22:37 +0300 Subject: [PATCH] sorted imports --- src/bot/__init__.py | 4 ++-- src/bot/helper_functions.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bot/__init__.py b/src/bot/__init__.py index fe48efb..4631e4f 100644 --- a/src/bot/__init__.py +++ b/src/bot/__init__.py @@ -3,9 +3,9 @@ import functools from sqlalchemy.future import Engine from telebot.async_telebot import AsyncTeleBot -from . import message_handlers, callback_handlers +from . import callback_handlers, message_handlers -__all__ = ["message_handlers"] +__all__ = ["callback_handlers", "message_handlers"] def create_bot(token: str, engine: Engine) -> AsyncTeleBot: diff --git a/src/bot/helper_functions.py b/src/bot/helper_functions.py index bada0a8..73205e9 100644 --- a/src/bot/helper_functions.py +++ b/src/bot/helper_functions.py @@ -3,6 +3,7 @@ from typing import Any, Awaitable, Callable import telebot from telebot.async_telebot import AsyncTeleBot + from . import markups Message = telebot.types.Message