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

Méthode sqlalchemy.Dialect.initialize

Signature de la méthode initialize

def initialize(self, connection: 'Connection') -> 'None' 

Description

help(Dialect.initialize)

Called during strategized creation of the dialect with a
connection.

Allows dialects to configure options based on server version info or
other properties.

The connection passed here is a SQLAlchemy Connection object,
with full capabilities.

The initialize() method of the base dialect should be called via
super().

.. note:: as of SQLAlchemy 1.4, this method is called **before**
   any :meth:`_engine.Dialect.on_connect` hooks are called.



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