def __init__(self, api):
assert isinstance(api, APIDefinition)<EOL>self.api = api<EOL>self.handlers = {}<EOL>
Instantiate a new Lepo router.

:param api: An APIDefinition object
:type api: APIDefinition