forked from orbit-oss/flask
fix mypy finding with new werkzeug endpoint type
This commit is contained in:
parent
f958b6500b
commit
a363642a32
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ class Request(RequestBase):
|
|||
reconstruct the same URL or a modified URL.
|
||||
"""
|
||||
if self.url_rule is not None:
|
||||
return self.url_rule.endpoint
|
||||
return self.url_rule.endpoint # type: ignore[no-any-return]
|
||||
|
||||
return None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue