Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Machine Learning
avec Scikit-Learn
Voir le programme détaillé
Module « sqlalchemy.orm »

Classe « InstrumentationEvents »

Informations générales

Héritage

builtins.object
    Generic
        _HasEventsDispatch
            Events
                InstrumentationEvents

Définition

class InstrumentationEvents(Events):

help(InstrumentationEvents)

Events related to class instrumentation events.

The listeners here support being established against
any new style class, that is any object that is a subclass
of 'type'.  Events will then be fired off for events
against that class.  If the "propagate=True" flag is passed
to event.listen(), the event will fire off for subclasses
of that class as well.

The Python ``type`` builtin is also accepted as a target,
which when used has the effect of events being emitted
for all classes.

Note the "propagate" flag here is defaulted to ``True``,
unlike the other class level events where it defaults
to ``False``.  This means that new subclasses will also
be the subject of these events, when a listener
is established on a superclass.

Constructeur(s)

Signature du constructeur Description
__init__(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
dispatch<sqlalchemy.event.base.InstrumentationEventsDispatch object at 0x0000020DA146A630>

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__class_getitem__ Parameterizes a generic class. [extrait de __class_getitem__.__doc__]
attribute_instrument(self, cls: 'ClassManager[_O]', key: '_KT', inst: '_O') -> 'None' Called when an attribute is instrumented. [extrait de attribute_instrument.__doc__]
class_instrument(self, cls: 'ClassManager[_O]') -> 'None' Called after the given class is instrumented. [extrait de class_instrument.__doc__]
class_uninstrument(self, cls: 'ClassManager[_O]') -> 'None' Called before the given class is uninstrumented. [extrait de class_uninstrument.__doc__]

Méthodes héritées de la classe Events

__subclasshook__

Méthodes héritées de la classe _HasEventsDispatch

__init_subclass__

Méthodes héritées de la classe object

__delattr__, __dir__, __format__, __getattribute__, __getstate__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__

Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les fondamentaux
Voir le programme détaillé