def add_routes(self, routes: Iterable[AbstractRouteDef]) -> None:
        """Append routes to route table.

        Parameter should be a sequence of RouteDef objects.
        """
        for route_def in routes:
            route_def.register(self)
def add_routes ( self , routes : Iterable [ AbstractRouteDef ] ) -> None : for route_def in routes : route_def . register ( self )
Append routes to route table.

        Parameter should be a sequence of RouteDef objects.