def METHOD_NAME(self, course_overview):
    """
    Convert the media resource's URI to an absolute URI.
    """
    uri = getattr(course_overview, self.uri_attribute)
    if not uri:
        # Return empty string here, to keep the same
        # response type in case uri is empty as well.
        return ""
    cdn_applied_uri = course_overview.apply_cdn_to_url(uri)
    field = AbsoluteURLField()
    # In order to use the AbsoluteURLField to have the same
    # behaviour what ImageSerializer provides, we need to set
    # the request for the field
    field._context = {"request": self.context.get("request")}  # lint-amnesty, pylint: disable=protected-access
    return field.to_representation(cdn_applied_uri)