Flask.root_path cannot be None (#4319)

Extension of #2792 (see #2791). See [implementation](4e854ee496/src/flask/helpers.py (L959)).
This commit is contained in:
Matan Gover
2020-07-09 03:41:11 +03:00
committed by GitHub
parent 03d8795403
commit c64ecf5808

View File

@@ -83,7 +83,7 @@ class Flask(_PackageBoundObject):
session_interface: Any = ...
import_name: str = ...
template_folder: str = ...
root_path: Optional[Union[str, Text]] = ...
root_path: Union[str, Text] = ...
static_url_path: Any = ...
static_folder: Optional[str] = ...
instance_path: Union[str, Text] = ...