mirror of https://github.com/encode/starlette.git
Starlette.__init__: remove template_directory arg (#421)
This appears to be unused since 37ee43e
.
This commit is contained in:
parent
8f138ce922
commit
f2bf332490
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue