'Return a :class:`.Extract` construct.
This is typically available as :func:`.extract`
as well as ``func.extract`` from the
:data:`.func` namespace.'

def __init__(self, field, expr, **kwargs):

    self.type = type_api.INTEGERTYPE
    self.field = field
    self.expr = _literal_as_binds(expr, None)
