predicates.py
changeset 9984 793377697c81
parent 9553 be9b12f42d76
parent 9928 0d831b40fa48
child 9990 c84ad981fc4a
equal deleted inserted replaced
9979:9ccdb3751fbe 9984:793377697c81
   186 
   186 
   187 import logging
   187 import logging
   188 from warnings import warn
   188 from warnings import warn
   189 from operator import eq
   189 from operator import eq
   190 
   190 
   191 from logilab.common.compat import all, any
       
   192 from logilab.common.interface import implements as implements_iface
   191 from logilab.common.interface import implements as implements_iface
   193 from logilab.common.registry import Predicate, objectify_predicate, yes
   192 from logilab.common.registry import Predicate, objectify_predicate, yes
   194 
   193 
   195 from yams.schema import BASE_TYPES, role_name
   194 from yams.schema import BASE_TYPES, role_name
   196 from rql.nodes import Function
   195 from rql.nodes import Function