def __get__(self, instance, owner):
        if instance is None:
            return self
        return InstanceAction(
            self, instance.get_default_table(), instance, owner)
When a model has an action "foo", then getting an attribute
dataset/ETHPy150Open lsaffre/lino/lino/core/actions.py/Action.__get__