mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
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:
2
third_party/2and3/flask/app.pyi
vendored
2
third_party/2and3/flask/app.pyi
vendored
@@ -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] = ...
|
||||
|
||||
Reference in New Issue
Block a user