Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix/removing-messages-once-pushed #124

Merged
merged 10 commits into from
Jul 17, 2023

Conversation

thesupercalifragilisticexpialidocious
Copy link
Contributor

Тикет #121

Реализовано удаление сообщений с кнопками при вызове хэндлеров этих кнопок.

Добавлен файл src.bot.utils.py, где добавлен декоратор для оборачивания функций, в которых реализуется отправка новых сообщений с инлайн-клавиатурами.

Для хэндлеров форм обратной связи декоратор пока не довлен, так как их работа не может быть завершена корректно.

src/bot/utils.py Outdated Show resolved Hide resolved
src/bot/utils.py Outdated Show resolved Hide resolved
@thesupercalifragilisticexpialidocious thesupercalifragilisticexpialidocious temporarily deployed to stage_deploy July 13, 2023 15:41 — with GitHub Actions Inactive
@pre-commit-ci pre-commit-ci bot temporarily deployed to stage_deploy July 13, 2023 15:42 Inactive
@pre-commit-ci pre-commit-ci bot temporarily deployed to deploy July 13, 2023 15:43 Inactive
@pre-commit-ci pre-commit-ci bot temporarily deployed to deploy July 13, 2023 15:43 Inactive
@thesupercalifragilisticexpialidocious
Copy link
Contributor Author

Добавлены аннотации и @wraps декоратор для bot/utils.py и core/logging/utils.py

Copy link
Member

@NiKuma0 NiKuma0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

В целом все отлично, хорошо поправил logger_decor.

src/bot/utils.py Outdated Show resolved Hide resolved
src/bot/utils.py Outdated Show resolved Hide resolved
@thesupercalifragilisticexpialidocious thesupercalifragilisticexpialidocious temporarily deployed to stage_deploy July 15, 2023 11:44 — with GitHub Actions Inactive
@pre-commit-ci pre-commit-ci bot temporarily deployed to stage_deploy July 15, 2023 11:44 Inactive
@pre-commit-ci pre-commit-ci bot temporarily deployed to deploy July 15, 2023 11:45 Inactive
@pre-commit-ci pre-commit-ci bot temporarily deployed to deploy July 15, 2023 11:46 Inactive
src/bot/utils.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants