forked from orbit-oss/flask
update __version__ deprecation
This commit is contained in:
parent
dcbe86bd15
commit
b394a994e6
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