forked from orbit-oss/flask
update __version__ deprecation (#5649)
This commit is contained in:
commit
ea08f155d8
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ def __getattr__(name: str) -> t.Any:
|
|||
|
||||
warnings.warn(
|
||||
"The '__version__' attribute is deprecated and will be removed in"
|
||||
" Flask 3.1. Use feature detection or"
|
||||
" Flask 3.2. Use feature detection or"
|
||||
" 'importlib.metadata.version(\"flask\")' instead.",
|
||||
DeprecationWarning,
|
||||
stacklevel=2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue