'return a Query that selects from this Query\'s
SELECT statement.
\*entities - optional list of entities which will replace
those being selected.'

def from_self(self, *entities):

    fromclause = self.with_labels().enable_eagerloads(False)._enable_single_crit(False).statement.correlate(None)
    q = self._from_selectable(fromclause)
    if entities:
        q._set_entities(entities)
    return q
