@compatibility(is_backward_compatible=True)
def update_kwarg(self, key: str, arg: Argument) -> None:
    '\n        Update an existing keyword argument to contain the new value\n        ``arg``. After calling, ``self.kwargs[key] == arg``.\n\n        Args:\n\n            key (str): The key in ``self.kwargs`` of the element to update\n            arg (Argument): The new argument value to write into ``kwargs``\n        '
    kwargs = dict(self.kwargs)
    kwargs[key] = arg
    self.kwargs = kwargs
Update an existing keyword argument to contain the new value
``arg``. After calling, ``self.kwargs[key] == arg``.

Args:

    key (str): The key in ``self.kwargs`` of the element to update
    arg (Argument): The new argument value to write into ``kwargs``
@compatibility(is_backward_compatible=True)
def update_kwarg(self, key: str, arg: Argument) -> None:
    '\n        Update an existing keyword argument to contain the new value\n        ``arg``. After calling, ``self.kwargs[key] == arg``.\n\n        Args:\n\n            key (str): The key in ``self.kwargs`` of the element to update\n            arg (Argument): The new argument value to write into ``kwargs``\n        '
    kwargs = dict(self.kwargs)
    kwargs[key] = arg
    self.kwargs = kwargs