def pass_intermediate_value(contents):
    """Grabs the content sent in by the user and acts as a intermediate callback, so that other callbacks can share the
    data the user sent.

    Args:
        contents: content sent in from the user and the upload-image object.

    Returns:
        contents: content sent in from the user and the upload-image object.
    """
    if contents is not None:
        return contents