goa/overrides/rqlannotation.py
author sylvain.thenault@logilab.fr
Tue, 10 Mar 2009 19:35:38 +0100
branchtls-sprint
changeset 1036 593df4919845
parent 444 c6f20e605b84
child 1802 d628defebc17
permissions -rw-r--r--
when reading the schema while adding/removing cubes, read schema in non-strict mode

def set_qdata(getrschema, union, noinvariant):
    pass
        
class SQLGenAnnotator(object):
    def __init__(self, schema):
        self.schema = schema
        self.nfdomain = frozenset(eschema.type for eschema in schema.entities()
                                  if not eschema.is_final())
    def annotate(self, rqlst):
        rqlst.has_text_query = False
        rqlst.need_distinct = False