Starlette.__init__: remove template_directory arg (#421)

This appears to be unused since 37ee43e.
This commit is contained in:
Daniel Hahler 2019-03-06 21:11:09 +01:00 committed by Tom Christie
parent 8f138ce922
commit f2bf332490
1 changed files with 1 additions and 4 deletions

View File

@ -11,10 +11,7 @@ from starlette.types import ASGIApp, ASGIInstance, Scope
class Starlette:
def __init__(
self,
debug: bool = False,
routes: typing.List[BaseRoute] = None,
template_directory: str = None,
self, debug: bool = False, routes: typing.List[BaseRoute] = None
) -> None:
self._debug = debug
self.router = Router(routes)