Create a new requester instance with identical configuration but the given authentication method. :param auth: authentication method :return: new Requester instance
(self, auth: Auth | None)
| 569 | return self.__auth |
| 570 | |
| 571 | def withAuth(self, auth: Auth | None) -> Requester: |
| 572 | """ |
| 573 | Create a new requester instance with identical configuration but the given authentication method. |
| 574 | |
| 575 | :param auth: authentication method |
| 576 | :return: new Requester instance |
| 577 | |
| 578 | """ |
| 579 | kwargs = self.kwargs |
| 580 | kwargs.update(auth=auth) |
| 581 | return Requester(**kwargs) |
| 582 | |
| 583 | @property |
| 584 | def is_lazy(self) -> bool: |
no test coverage detected