def METHOD_NAME(
    self, data_source: Union[Query, CompositeQuery[Entity]]
) -> FormattedSubQuery:
    return FormattedSubQuery(
        _format_query_content(data_source, self.__expression_formatter_type)
    )