def METHOD_NAME(
    self,
    query: TQuery,
    query_settings: QuerySettings,
    runner: QueryRunner,
) -> QueryResult:
    """
    Executes the Query passed in as parameter.
    The runner parameter is a function that actually runs one individual query on the
    database.
    """
    raise NotImplementedError