Skip to content

Commit

Permalink
fix: type-checking Eve dynamic attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
raulparada committed Oct 30, 2024
1 parent 172f3f2 commit 49b32c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eve/flaskapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import os
import sys
import warnings
from typing import TYPE_CHECKING

from events import Events
from flask import Flask
Expand Down Expand Up @@ -1102,3 +1103,6 @@ def __call__(self, environ, start_response):
"HTTP_X_HTTP_METHOD_OVERRIDE", environ["REQUEST_METHOD"]
).upper()
return super().__call__(environ, start_response)

if TYPE_CHECKING:
def __setattr__(self, name, value): ...

0 comments on commit 49b32c8

Please sign in to comment.