You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect calling any non existing method will raise an Exception.
Flask do this, Eve does not.
Is this a bug or is the change in behaviour in Eve intended for some reason?
# This works as expected:
>>> from flask import Flask
>>> a=Flask('a')
>>> a.doesnotexist()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'Flask' object has no attribute 'doesnotexist'
# This does not:
>>> from eve import Eve
>>> b=Eve(settings={'DOMAIN':{}})
>>> b.doesnotexist()
>>>
Actual Behavior
Nothing happens at all, method call silently fails only returning None
Environment
Python version:
Python 3.6.7
Eve version:
Eve==0.9.1
The text was updated successfully, but these errors were encountered:
Expected Behavior
I expect calling any non existing method will raise an Exception.
Flask do this, Eve does not.
Is this a bug or is the change in behaviour in Eve intended for some reason?
Actual Behavior
Nothing happens at all, method call silently fails only returning None
Environment
Python version:
Python 3.6.7
Eve version:
Eve==0.9.1
The text was updated successfully, but these errors were encountered: