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 « AttributeEventToken »

Informations générales

Héritage

builtins.object
    AttributeEventToken

Définition

class AttributeEventToken(builtins.object):

help(AttributeEventToken)

A token propagated throughout the course of a chain of attribute
events.

Serves as an indicator of the source of the event and also provides
a means of controlling propagation across a chain of attribute
operations.

The :class:`.Event` object is sent as the ``initiator`` argument
when dealing with events such as :meth:`.AttributeEvents.append`,
:meth:`.AttributeEvents.set`,
and :meth:`.AttributeEvents.remove`.

The :class:`.Event` object is currently interpreted by the backref
event handlers, and is used to control the propagation of operations
across two mutually-dependent attributes.

.. versionchanged:: 2.0  Changed the name from ``AttributeEvent``
   to ``AttributeEventToken``.

:attribute impl: The :class:`.AttributeImpl` which is the current event
 initiator.

:attribute op: The symbol :attr:`.OP_APPEND`, :attr:`.OP_REMOVE`,
 :attr:`.OP_REPLACE`, or :attr:`.OP_BULK_REPLACE`, indicating the
 source operation.

Constructeur(s)

Signature du constructeur Description
__init__(self, attribute_impl: 'AttributeImpl', op: 'util.symbol')

Liste des attributs statiques

Nom de l'attribut Valeur
impl<member 'impl' of 'AttributeEventToken' objects>
op<member 'op' of 'AttributeEventToken' objects>
parent_token<member 'parent_token' of 'AttributeEventToken' objects>

Liste des propriétés

Nom de la propriétéDescription
key

Liste des opérateurs

Signature de l'opérateur Description
__eq__(self, other)

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

__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
hasparent(self, state)

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

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

Vous êtes un professionnel et vous avez besoin d'une formation ? Sensibilisation à
l'Intelligence Artificielle
Voir le programme détaillé