Closed ferstar closed 4 years ago
As you see, it's not a function https://github.com/python-gino/gino/blob/7781848cf035e8a2afedc53d653e48c112c80e90/src/gino/crud.py#L329 The behavior is different for Model.update and instance.update
@wwwjfy yeah, I'd noticed that, thx.
1.0.1
Python 3.6.10 |Anaconda, Inc.| (default, May 7 2020, 23:06:31)
0.20.1
0.2.2
12.2
Description
I wrote a Model class and overridden the update/delete method, but found that it didn't work at all. The code example is as follows:
What I Did
I don't understand what is wrong with inheritance here. The traceback info is as follows:
https://github.com/python-gino/gino/blob/master/src/gino/crud.py#L162