Return a fully qualified absolute url for the given uri.

def build_absolute_uri(self, uri):
        """
        Return a fully qualified absolute url for the given uri.
        """
        request = self.context.get('request', None)

        return (
            request.build_absolute_uri(uri) if request is not None else uri
        )