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 ? Calcul scientifique
avec Python
Voir le programme détaillé
Classe « sessionmaker »

Méthode sqlalchemy.orm.sessionmaker.__call__

Signature de la méthode __call__

def __call__(self, **local_kw: 'Any') -> '_S' 

Description

help(sessionmaker.__call__)

Produce a new :class:`.Session` object using the configuration
established in this :class:`.sessionmaker`.

In Python, the ``__call__`` method is invoked on an object when
it is "called" in the same way as a function::

    Session = sessionmaker(some_engine)
    session = Session()  # invokes sessionmaker.__call__()



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