mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Removed an old now non-working feature
This commit is contained in:
parent
3ae5d904c9
commit
31a68d5f8a
1 changed files with 1 additions and 3 deletions
|
|
@ -179,12 +179,10 @@ class Router:
|
|||
self._parent_router = router
|
||||
router.sub_routers.append(self)
|
||||
|
||||
def include_router(self, router: Union[Router, str]) -> Router:
|
||||
def include_router(self, router: Router) -> Router:
|
||||
"""
|
||||
Attach another router.
|
||||
|
||||
Can be attached directly or by import string in format "<module>:<attribute>"
|
||||
|
||||
:param router:
|
||||
:return:
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue