Call the provided callable with current Up. This is useful for reusability and readability by not breaking the calling chain.
(self, cb: Callable[["Up"], "Up"])
| 15464 | return Up(_ctx) |
| 15465 | |
| 15466 | def with_(self, cb: Callable[["Up"], "Up"]) -> "Up": |
| 15467 | """Call the provided callable with current Up. |
| 15468 | |
| 15469 | This is useful for reusability and readability by not breaking the calling chain. |
| 15470 | """ |
| 15471 | return cb(self) |
| 15472 | |
| 15473 | |
| 15474 | @typecheck |
no outgoing calls