cubicweb/server/sources/native.py
changeset 12782 ea8801f10a72
parent 12765 771c99f16780
child 12842 e150ed316dfc
equal deleted inserted replaced
12781:fda5efaf6937 12782:ea8801f10a72
   500                 return authentifier.authenticate(cnx, login, **kwargs)
   500                 return authentifier.authenticate(cnx, login, **kwargs)
   501             except AuthenticationError:
   501             except AuthenticationError:
   502                 continue
   502                 continue
   503         raise AuthenticationError()
   503         raise AuthenticationError()
   504 
   504 
   505     def syntax_tree_search(self, cnx, union, args=None, cachekey=None, rql_query_tracing_token=None):
   505     def syntax_tree_search(self, cnx, union, args=None, cachekey=None,
       
   506                            rql_query_tracing_token=None):
   506         """return result from this source for a rql query (actually from
   507         """return result from this source for a rql query (actually from
   507         a rql syntax tree and a solution dictionary mapping each used
   508         a rql syntax tree and a solution dictionary mapping each used
   508         variable to a possible type). If cachekey is given, the query
   509         variable to a possible type). If cachekey is given, the query
   509         necessary to fetch the results (but not the results themselves)
   510         necessary to fetch the results (but not the results themselves)
   510         may be cached using this key.
   511         may be cached using this key.