(self)
| 499 | return fclass="st">"<{class_name}({self.method!r}, {url!r})>" |
| 500 | |
| 501 | def __getstate__(self) -> dict[str, typing.Any]: |
| 502 | return { |
| 503 | name: value |
| 504 | for name, value in self.__dict__.items() |
| 505 | if name not in [class="st">"extensions", class="st">"stream"] |
| 506 | } |
| 507 | |
| 508 | def __setstate__(self, state: dict[str, typing.Any]) -> None: |
| 509 | for name, value in state.items(): |