Removed an old now non-working feature

This commit is contained in:
Desiders 2022-11-06 00:06:07 +03:00
parent 3ae5d904c9
commit 31a68d5f8a

View file

@ -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:
"""