'Returns the contents union query for subqueries, etc.'

def contents_query(self, container, filters=None, limit=None, offset=None, order_by=None, **kwargs):

    return self._union_of_contents_query(container, filters=filters, limit=limit, offset=offset, order_by=order_by, **kwargs)
