def METHOD_NAME(
    self, type: str, other_checkpoint_state: "GenericCheckpointState"
) -> Iterable[str]:
    """
    Gets the urns present in this checkpoint but not the other_checkpoint for the given type.
    :param type: Deprecated. Set to "*".
    :param other_checkpoint_state: the checkpoint state to compute the urn set difference against.
    :return: an iterable to the set of urns present in this checkpoint state but not in the other_checkpoint.
    """
    diff = set(self.urns) - set(other_checkpoint_state.urns)
    # To maintain backwards compatibility, we provide this filtering mechanism.
    # TODO: Deprecate the `type` parameter and remove it.
    if type == "*":
        yield from diff
    elif type == "topic":
        yield from (urn for urn in diff if guess_entity_type(urn) == "dataset")
    else:
        yield from (urn for urn in diff if guess_entity_type(urn) == type)