(self, key)
| 639 | ) |
| 640 | |
| 641 | def __getattr__(self, key): |
| 642 | try: |
| 643 | # Prioritize `FrameBase` attributes |
| 644 | return object.__getattribute__(self, key) |
| 645 | except AttributeError as err: |
| 646 | try: |
| 647 | # Fall back to `expr` API |
| 648 | # (Making sure to convert to/from Expr) |
| 649 | val = getattr(self.expr, key) |
| 650 | if callable(val): |
| 651 | return functools.partial(_wrap_expr_api, wrap_api=val) |
| 652 | return val |
| 653 | except AttributeError: |
| 654 | # Raise original error |
| 655 | raise err |
| 656 | |
| 657 | def visualize(self, tasks: bool = False, **kwargs): # type: ignore[override] |
| 658 | """Visualize the expression or task graph |
nothing calls this directly
no outgoing calls
no test coverage detected