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 ? Programmation Python
Les compléments
Voir le programme détaillé
Classe « CreateEnginePlugin »

Constructeur sqlalchemy.CreateEnginePlugin.__init__

Signature de la constructeur __init__

def __init__(self, url: 'URL', kwargs: 'Dict[str, Any]') 

Description

help(CreateEnginePlugin.__init__)

Construct a new :class:`.CreateEnginePlugin`.

The plugin object is instantiated individually for each call
to :func:`_sa.create_engine`.  A single :class:`_engine.
Engine` will be
passed to the :meth:`.CreateEnginePlugin.engine_created` method
corresponding to this URL.

:param url: the :class:`_engine.URL` object.  The plugin may inspect
 the :class:`_engine.URL` for arguments.  Arguments used by the
 plugin should be removed, by returning an updated :class:`_engine.URL`
 from the :meth:`_engine.CreateEnginePlugin.update_url` method.

 .. versionchanged::  1.4

    The :class:`_engine.URL` object is now immutable, so a
    :class:`_engine.CreateEnginePlugin` that needs to alter the
    :class:`_engine.URL` object should implement the
    :meth:`_engine.CreateEnginePlugin.update_url` method.

:param kwargs: The keyword arguments passed to
 :func:`_sa.create_engine`.



Vous êtes un professionnel et vous avez besoin d'une formation ? Mise en oeuvre d'IHM
avec Qt et PySide6
Voir le programme détaillé