def user_link_edit(self, link, edit, title=None, note=None, private=None,
                       user_ts=None, archived=None):
        params = dict()

        if not link:
            raise BitlyError(500, 'MISSING_ARG_LINK')

        if not edit:
            raise BitlyError(500, 'MISSING_ARG_EDIT')

        params['link'] = link
        params['edit'] = edit
        if title is not None:
            params['title'] = str(title)
        if note is not None:
            params['note'] = str(note)
        if private is not None:
            params['private'] = bool(private)
        if user_ts is not None:
            params['user_ts'] = user_ts
        if archived is not None:
            params['archived'] = archived

        data = self._call_oauth2("v3/user/link_edit", params)
        return data['link_edit']
Gradient of diagonal of covariance with respect to parameters.
dataset/ETHPy150Open bitly/bitly-api-python/bitly_api/bitly_api.py/Connection.user_link_edit--crossover with--dataset/ETHPy150Open SheffieldML/GPy/GPy/kern/src/todo/gibbs.py/Gibbs.dKdiag_dtheta