server/repository.py
changeset 8671 150bbb066167
parent 8592 df16bd045cae
child 8672 e8afecc3b576
equal deleted inserted replaced
8670:f02139297beb 8671:150bbb066167
   745                                    query_attrs)
   745                                    query_attrs)
   746             return rset.rows
   746             return rset.rows
   747 
   747 
   748     def connect(self, login, **kwargs):
   748     def connect(self, login, **kwargs):
   749         """open a connection for a given user
   749         """open a connection for a given user
   750 
       
   751         base_url may be needed to send mails
       
   752         cnxtype indicate if this is a pyro connection or a in-memory connection
       
   753 
   750 
   754         raise `AuthenticationError` if the authentication failed
   751         raise `AuthenticationError` if the authentication failed
   755         raise `ConnectionError` if we can't open a connection
   752         raise `ConnectionError` if we can't open a connection
   756         """
   753         """
   757         cnxprops = kwargs.pop('cnxprops', None)
   754         cnxprops = kwargs.pop('cnxprops', None)