class documentation
class _HasEventsDispatch(Generic[
Known subclasses: sqlalchemy.event.base.Events
Undocumented
Method | __getattr__ |
Undocumented |
Method | __init |
Intercept new Event subclasses and create associated _Dispatch classes. |
Class Variable | dispatch |
reference back to the _Dispatch class. |
Class Method | _accept |
Undocumented |
Class Method | _create |
Create a :class:`._Dispatch` class corresponding to an :class:`.Events` class. |
Class Method | _listen |
Undocumented |
Static Method | _set |
Undocumented |
Class Variable | _dispatch |
class which will receive the .dispatch collection |
@classmethod
def _accept_with(cls, target:
def _accept_with(cls, target:
Union[ _ET, Type[ _ET]]
, identifier: str
) -> Optional[ Union[ _ET, Type[ _ET]]]
:
(source)
¶
overridden in
sqlalchemy.event.base.Events
Undocumented
@classmethod
def _create_dispatcher_class(cls, classname:
def _create_dispatcher_class(cls, classname:
str
, bases: Tuple[ type, ...]
, dict_: Dict[ str, Any]
):
(source)
¶
Create a :class:`._Dispatch` class corresponding to an :class:`.Events` class.
@classmethod
def _listen(cls, event_key:
def _listen(cls, event_key:
_EventKey[ _ET]
, *, propagate: bool
= False, insert: bool
= False, named: bool
= False, asyncio: bool
= False):
(source)
¶
overridden in
sqlalchemy.event.base.Events
Undocumented
@staticmethod
def _set_dispatch(klass:
def _set_dispatch(klass:
Type[ _HasEventsDispatch[ _ET]]
, dispatch_cls: Type[ _Dispatch[ _ET]]
) -> _Dispatch[ _ET]
:
(source)
¶
overridden in
sqlalchemy.orm.events.AttributeEvents
Undocumented