    def update(self, other: t.Mapping[t.Any, t.Any]) -> None:
        """
        Sets all the headers in ``other`` in this object.

        For example, if this object is ``{"my-header": "my-value", "my-other-header": "my-other-value"}``
        and other is {"my-header": 3¸ "other-header": 4}
        """
Sets all the headers in ``other`` in this object.

For example, if this object is ``{"my-header": "my-value", "my-other-header": "my-other-value"}``
and other is {"my-header": 3¸ "other-header": 4}
src/bentoml/_internal/context.py