def setup(): from app.utils import executor from app import middlewares middlewares.setup(dp) logger.info("Configure handlers...") # noinspection PyUnresolvedReferences import app.handlers executor.setup()
def setup(): from app import middlewares from app.utils import executor middlewares.setup(dp) executor.setup() logger.info("Configure handlers...") import app.handlers
def setup(): from app import middlewares from app.utils import executor middlewares.setup(dp) filters.setup(dp) executor.setup() logger.info("Register handlers...") # noinspection PyUnresolvedReferences import app.handlers
def setup(): from app import filters from app import middlewares from app.utils import executor logger.debug(f"As application dir using: {app_dir}") middlewares.setup(dp) filters.setup(dp) executor.setup() logger.info("Configure handlers...") # noinspection PyUnresolvedReferences import app.handlers