cubicweb/server/session.py
changeset 12812 00749d83a672
parent 12756 d91c229de97f
equal deleted inserted replaced
12811:03c0684e0160 12812:00749d83a672
   166       within the repository (e.g. started by hooks)
   166       within the repository (e.g. started by hooks)
   167 
   167 
   168       :attr:`cnxset`, the connections set to use to execute queries on sources.
   168       :attr:`cnxset`, the connections set to use to execute queries on sources.
   169       If the transaction is read only, the connection set may be freed between
   169       If the transaction is read only, the connection set may be freed between
   170       actual queries. This allows multiple connections with a reasonably low
   170       actual queries. This allows multiple connections with a reasonably low
   171       connection set pool size.  Control mechanism is detailed below.
   171       connection set pool size.
   172 
       
   173     .. automethod:: cubicweb.server.session.Connection.set_cnxset
       
   174     .. automethod:: cubicweb.server.session.Connection.free_cnxset
       
   175 
   172 
   176       :attr:`mode`, string telling the connections set handling mode, may be one
   173       :attr:`mode`, string telling the connections set handling mode, may be one
   177       of 'read' (connections set may be freed), 'write' (some write was done in
   174       of 'read' (connections set may be freed), 'write' (some write was done in
   178       the connections set, it can't be freed before end of the transaction),
   175       the connections set, it can't be freed before end of the transaction),
   179       'transaction' (we want to keep the connections set during all the
   176       'transaction' (we want to keep the connections set during all the