Open gmargari opened 7 years ago
+1 We need it a lot thnx
+1
+1
No updates about it yet?
A workaround for this problem is to subclass Eve as follows:
class BlinkerCompatibleEve(Eve):
"""
Workaround for https://github.com/pyeve/eve/issues/1087
"""
def __getattr__(self, name):
if name in {"im_self", "im_func"}:
raise AttributeError("type object '%s' has no attribute '%s'" %
(self.__class__.__name__, name))
return super(BlinkerCompatibleEve, self).__getattr__(name)
Even though Eve is a wrapper around Flask, using sentry on Eve throws an exception, e.g.: