view function is actually type checked

This commit is contained in:
David Lord 2022-06-03 12:54:54 -07:00
parent 8c6f1d96de
commit 81be290ec8
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
5 changed files with 64 additions and 46 deletions

View file

@ -384,7 +384,7 @@ class Blueprint(Scaffold):
self,
rule: str,
endpoint: t.Optional[str] = None,
view_func: t.Optional[t.Callable] = None,
view_func: t.Optional[ft.ViewCallable] = None,
provide_automatic_options: t.Optional[bool] = None,
**options: t.Any,
) -> None: