rset.py
changeset 7595 83872394b5d9
parent 7397 6a9e66d788b3
parent 7592 c84436b79793
child 7968 92303e2ed77a
child 8048 10a0f73d834d
--- a/rset.py	Wed Jun 29 16:29:15 2011 +0200
+++ b/rset.py	Fri Jul 01 11:51:04 2011 +0200
@@ -529,17 +529,15 @@
 
     @cached
     def syntax_tree(self):
-        """get the syntax tree for the source query.
-
-        :rtype: rql.stmts.Statement
-        :return: the RQL syntax tree of the originating query
+        """return the syntax tree (:class:`rql.stmts.Union`) for the originating
+        query. You can expect it to have solutions computed but it won't be
+        annotated (you usually don't need that for simple introspection).
         """
         if self._rqlst:
             rqlst = self._rqlst.copy()
             # to avoid transport overhead when pyro is used, the schema has been
             # unset from the syntax tree
             rqlst.schema = self.req.vreg.schema
-            self.req.vreg.rqlhelper.annotate(rqlst)
         else:
             rqlst = self.req.vreg.parse(self.req, self.rql, self.args)
         return rqlst