Refactor imports across multiple files to improve code organization and readability.
All checks were successful
CI pipeline / Test & Code Quality (push) Successful in 34s

This commit is contained in:
2026-02-28 23:24:25 +03:00
parent d0c8dab24a
commit 3d6b4353f9
78 changed files with 141 additions and 53 deletions

View File

@@ -24,6 +24,7 @@ from aiogram.types import (
InputMediaPhoto,
InputMediaVideo,
)
from database.models import TelegramPost
from helper_bot.utils.base_dependency_factory import (
BaseDependencyFactory,
@@ -1065,7 +1066,9 @@ async def get_banned_users_list(offset: int, bot_db):
user_ids - лист кортежей [(user_name: user_id)]
"""
items_per_page = 9
users = await bot_db.get_banned_users_from_db_with_limits(limit=items_per_page, offset=offset)
users = await bot_db.get_banned_users_from_db_with_limits(
limit=items_per_page, offset=offset
)
message = "Список заблокированных пользователей:\n"
for user in users: