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 fondamentaux
Voir le programme détaillé
Classe « URL »

Méthode sqlalchemy.URL.translate_connect_args

Signature de la méthode translate_connect_args

def translate_connect_args(self, names: 'Optional[List[str]]' = None, **kw: 'Any') -> 'Dict[str, Any]' 

Description

help(URL.translate_connect_args)

Translate url attributes into a dictionary of connection arguments.

Returns attributes of this url (`host`, `database`, `username`,
`password`, `port`) as a plain dictionary.  The attribute names are
used as the keys by default.  Unset or false attributes are omitted
from the final dictionary.

:param \**kw: Optional, alternate key names for url attributes.

:param names: Deprecated.  Same purpose as the keyword-based alternate
    names, but correlates the name to the original positionally.


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