(self, other: Mapping[Any, Any])
| 415 | self._box_config["__created"] = True |
| 416 | |
| 417 | def __add__(self, other: Mapping[Any, Any]): |
| 418 | if not isinstance(other, dict): |
| 419 | raise BoxTypeError("Box can only merge two boxes or a box and a dictionary.") |
| 420 | new_box = self.copy() |
| 421 | new_box.merge_update(other, _force_unfrozen=True) # type: ignore[attr-defined] |
| 422 | return new_box |
| 423 | |
| 424 | def __radd__(self, other: Mapping[Any, Any]): |
| 425 | if not isinstance(other, dict): |
nothing calls this directly
no test coverage detected