Receive a 'modified' event. This event is triggered when the :func:`.attributes.flag_modified` function is used to trigger a modify event on an attribute without any specific value being set. :param target: the object instance receiving the event. If the l
(self, target: _O, initiator: Event)
| 2980 | """ |
| 2981 | |
| 2982 | def modified(self, target: _O, initiator: Event) -> None: |
| 2983 | """Receive a 'modified' event. |
| 2984 | |
| 2985 | This event is triggered when the :func:`.attributes.flag_modified` |
| 2986 | function is used to trigger a modify event on an attribute without |
| 2987 | any specific value being set. |
| 2988 | |
| 2989 | :param target: the object instance receiving the event. |
| 2990 | If the listener is registered with ``raw=True``, this will |
| 2991 | be the :class:`.InstanceState` object. |
| 2992 | |
| 2993 | :param initiator: An instance of :class:`.attributes.Event` |
| 2994 | representing the initiation of the event. |
| 2995 | |
| 2996 | .. seealso:: |
| 2997 | |
| 2998 | :class:`.AttributeEvents` - background on listener options such |
| 2999 | as propagation to subclasses. |
| 3000 | |
| 3001 | """ |
| 3002 | |
| 3003 | |
| 3004 | class QueryEvents(event.Events[Query[Any]]): |