Create a new requester instance with identical configuration but the given lazy setting. :param lazy: if True, completable objects created from this instance are lazy, as well as completable objects created from those, and so on. :return: new Requester instance
(self, lazy: Opt[bool])
| 589 | return not self.__lazy |
| 590 | |
| 591 | def withLazy(self, lazy: Opt[bool]) -> Requester: |
| 592 | """ |
| 593 | Create a new requester instance with identical configuration but the given lazy setting. |
| 594 | |
| 595 | :param lazy: if True, completable objects created from this instance are lazy, as well as completable objects |
| 596 | created from those, and so on. |
| 597 | :return: new Requester instance if is_defined(lazy) and lazy != self.is_lazy, this instance otherwise |
| 598 | |
| 599 | """ |
| 600 | if is_undefined(lazy) or self.is_lazy == lazy: |
| 601 | return self |
| 602 | |
| 603 | kwargs = self.kwargs |
| 604 | kwargs.update(lazy=lazy) |
| 605 | return Requester(**kwargs) |
| 606 | |
| 607 | def requestJsonAndCheck( |
| 608 | self, |
nothing calls this directly
no test coverage detected