Method
__or__
(
self,
other: cabc.Mapping[
str, t.Any | list[t.Any] | tuple[t.Any, ...] | cabc.Set[t.Any]
],
)
Source from the content-addressed store, hash-verified
| 533 | self.set(key, value) |
| 534 | |
| 535 | def __or__( |
| 536 | self, |
| 537 | other: cabc.Mapping[ |
| 538 | str, t.Any | list[t.Any] | tuple[t.Any, ...] | cabc.Set[t.Any] |
| 539 | ], |
| 540 | ) -> te.Self: |
| 541 | if not isinstance(other, cabc.Mapping): |
| 542 | return NotImplemented |
| 543 | |
| 544 | rv = self.copy() |
| 545 | rv.update(other) |
| 546 | return rv |
| 547 | |
| 548 | def __ior__( |
| 549 | self, |
Callers
nothing calls this directly
Tested by
no test coverage detected