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

Some changes #112

Merged
merged 12 commits into from
Mar 31, 2019
Merged

Some changes #112

merged 12 commits into from
Mar 31, 2019

Conversation

gabbhack
Copy link
Contributor

@gabbhack gabbhack commented Mar 22, 2019

  • Add more await in RedisStorage and RedisStorage2
  • Replace "send" with "reply" in some method's names
  • Add "answer" method to Message
  • Add "lazy_gettext" method to I18nMiddleware
  • Reformat code

All reply-related methods used the prefix "reply", except for animation, venue and contact, which could be confusing
@gabbhack gabbhack changed the title More "await" in RedisStorage and RedisStorage2 Some changes Mar 22, 2019
This is the "reply" method with the name "answer" and the default argument reply=False
Now introspection takes place during handler registration. I am not sure about this implementation.
aiogram/dispatcher/handler.py Outdated Show resolved Hide resolved
aiogram/types/message.py Show resolved Hide resolved
- Add more answer_* methods
- Move some methods for beauty
Now the func, specs and filters are put in the dataclass
@JrooTJunior JrooTJunior merged commit e80c300 into aiogram:dev-2.x Mar 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants