server/repository.py
changeset 9757 6eb7f361fba0
parent 9749 dbaf79418b8f
child 9770 112c884b2d8d
equal deleted inserted replaced
9756:1fabbfff4a57 9757:6eb7f361fba0
   650                                                   for attr in query_attrs),
   650                                                   for attr in query_attrs),
   651                                    query_attrs)
   651                                    query_attrs)
   652             return rset.rows
   652             return rset.rows
   653 
   653 
   654     def connect(self, login, **kwargs):
   654     def connect(self, login, **kwargs):
   655         """open a connection for a given user
   655         """open a session for a given user
   656 
   656 
   657         raise `AuthenticationError` if the authentication failed
   657         raise `AuthenticationError` if the authentication failed
   658         raise `ConnectionError` if we can't open a connection
   658         raise `ConnectionError` if we can't open a connection
   659         """
   659         """
   660         cnxprops = kwargs.pop('cnxprops', None)
   660         cnxprops = kwargs.pop('cnxprops', None)