(obj)
| 697 | |
| 698 | @staticmethod |
| 699 | def pre_run_cell(obj): |
| 700 | try_with_arg = False |
| 701 | try: |
| 702 | obj.pre_run_cell() |
| 703 | except TypeError: |
| 704 | try_with_arg = True |
| 705 | if try_with_arg: |
| 706 | obj.pre_run_cell(None) |
| 707 | |
| 708 | @staticmethod |
| 709 | def post_run_cell(obj): |