def get_comparable_location_types(query_metadata_table):
    """Return the dict of location -> GraphQL type name for each location in the query."""
    return {
        location: location_info.type.name
        for location, location_info in query_metadata_table.registered_locations
    }