mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update 1677.misc.rst
This commit is contained in:
parent
1e10cffe71
commit
f5b8031c15
1 changed files with 5 additions and 1 deletions
|
|
@ -1 +1,5 @@
|
|||
Fixed an issue #1677
|
||||
Fixed MyPy [return-value] error in `InlineKeyboardBuilder().as_markup()`.
|
||||
`as_markup` method now overloads parent class method and uses `super()`, to call parent's
|
||||
`as_markup` method.
|
||||
Also added correct type hint to `as_markup`'s return in `InlineKeyboardBuilder` and
|
||||
`ReplyKeyboardBuilder` classes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue