Question 2/13 fast.ai v3 lecture 9


We would like to perform some action when setting the value of an attribute on a Python object. Which method do we need to override?

Answer

We need to override the setattr method.

Screenshot

Relevant part of lecture