typing fix
This commit is contained in:
parent
52961cc80b
commit
a326eae857
1 changed files with 1 additions and 1 deletions
|
|
@ -1089,7 +1089,7 @@ class Flask(Scaffold):
|
|||
only_get = methods == {"GET", "OPTIONS"}
|
||||
|
||||
if only_get and no_auto_head is not None:
|
||||
rule.methods.discard("HEAD")
|
||||
rule.methods.discard("HEAD") # type: ignore
|
||||
|
||||
self.url_map.add(rule)
|
||||
if view_func is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue