Record that an action was performed on the object. :param action: The action that was performed :param data: Any data associated with the action.
(self, action, **data)
| 219 | return default |
| 220 | |
| 221 | def _action(self, action, **data): |
| 222 | """Record that an action was performed on the object. |
| 223 | |
| 224 | :param action: The action that was performed |
| 225 | :param data: Any data associated with the action. |
| 226 | """ |
| 227 | EventLog.log(EventLog.ACTION, instance=self, action=action, **data) |
| 228 | |
| 229 | |
| 230 | class TestStyle(BaseStyle): |