def METHOD_NAME(cls, request, deep_linked_configuration: dict):
    """
    Get a Canvas file URL.
    These values are ephemeral and can't be stored.
    """
    if (
        deep_linked_configuration.get("canvas_file")
        and (course_id := request.lti_params.get("custom_canvas_course_id"))
        and (file_id := deep_linked_configuration["file_id"])
    ):
        return f"canvas://file/course/{course_id}/file_id/{file_id}"
    return None