import warnings


def datastream_does_not_exist_warning(sensor_type, operation):
    """Warn about not existing datastreams."""
    message = 'The datastream "{}" does not exist for the current session.\
     The performed operation "{}" will have not effect'.format(
        sensor_type, operation
    )
    return warnings.warn(message)