typing fix

This commit is contained in:
malwaredllc 2022-01-05 12:25:47 -07:00
parent 52961cc80b
commit a326eae857

View file

@ -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: