BYK/pyresto

Infinite loop on non-existing attributes

bsod90 opened this issue · 0 comments

When we create an empty model object, like

m = Model()

and then will try to get any attribute (which is obviously not exist)
we will get into infinite recursion call (in getattr)

but probably it should raise AttributeError instead?