human
Complete this python program:
def comparable_using(comparator_factory):
assistant
#Here is the Python code you requested.

    """Decorator, allow a Python @property to be used in query criteria.
    This is a  decorator front end to
    :func:`~sqlalchemy.orm.comparable_property` that passes
    through the comparator_factory and the function being decorated::
    @comparable_using(MyComparatorType)
    @property
    def prop(self):
    return \special sauce\
    The regular ``comparable_property()`` is also usable directly in a
    declarative setting and may be convenient for read/write properties::
    prop = comparable_property(MyComparatorType)
    """
    def decorate(fn):
        return comparable_property(comparator_factory, fn)
    return decorate