Method
__ior__
(
self,
other: (
cabc.Mapping[str, t.Any | list[t.Any] | tuple[t.Any, ...] | cabc.Set[t.Any]]
| cabc.Iterable[tuple[str, t.Any]]
),
)
Source from the content-addressed store, hash-verified
| 546 | return rv |
| 547 | |
| 548 | def __ior__( |
| 549 | self, |
| 550 | other: ( |
| 551 | cabc.Mapping[str, t.Any | list[t.Any] | tuple[t.Any, ...] | cabc.Set[t.Any]] |
| 552 | | cabc.Iterable[tuple[str, t.Any]] |
| 553 | ), |
| 554 | ) -> te.Self: |
| 555 | if not isinstance(other, (cabc.Mapping, cabc.Iterable)): |
| 556 | return NotImplemented |
| 557 | |
| 558 | self.update(other) |
| 559 | return self |
| 560 | |
| 561 | def to_wsgi_list(self) -> list[tuple[str, str]]: |
| 562 | """Convert the headers into a list suitable for WSGI. |
Callers
nothing calls this directly
Tested by
no test coverage detected