Source code for core.orm.func

from sqlalchemy.sql.functions import ReturnTypeFromArgs

from typing import TypeVar, TYPE_CHECKING
    # FIXME: Once we upgrade to SQLAlchemy 2.0 we no longer have to do
    #        this since the base class will be generic at runtime too
    #        and will support cls.__getitem__
[docs] _T = TypeVar('_T')
class unaccent(ReturnTypeFromArgs[_T]): ... else: class unaccent(ReturnTypeFromArgs): """ Produce an UNACCENT expression. """