Feb-15-2020, 04:07 PM
You can use partial with instance methods as in
partial(self.some_method, param1, param2)
. The advantage is that the method can store data in the self object.