def METHOD_NAME(
    self, info: Info, query: Optional[TargetTypesQuery] = None
) -> List[TargetType]:
    request_state = GraphQLContext.request_state_from_info(info)
    return list(
        TargetTypesQuery.filter(
            query,
            (
                TargetType.from_help(info)
                for info in request_state.all_help_info.name_to_target_type_info.values()
            ),
        )
    )