Refactor imports across multiple files to improve code organization and readability.
All checks were successful
CI pipeline / Test & Code Quality (push) Successful in 34s
All checks were successful
CI pipeline / Test & Code Quality (push) Successful in 34s
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user