[Cubicweb] connect()

Dimitri Papadopoulos Orfanos dimitri.papadopoulos at cea.fr
Mon Sep 23 14:05:49 CEST 2013


I have found the following documentation if file dbapi.py. I'm unable to 
find the relevant paragraph in the CubicWeb online documentation. Am I 
missing something?

def connect(database, ...):
     """Constructor for creating a connection to the CubicWeb repository.
     Returns a :class:`Connection` object.

     Typical usage::

       cnx = connect('myinstance', login='me', password='toto')

     `database` may be:

     * a simple instance id for in-memory connection

     * an uri like scheme://host:port/instanceid ...

Dimitri Papadopoulos
I2BM, NeuroSpin
F-91191 Gif-sur-Yvette cedex, France

More information about the Cubicweb mailing list