``replace`` Replace the specified ``activity``. :param str activity: the Activity to replace :param str new_activity: the replacement Activity :return: True on success, False otherwise :rtype: bool
(self, activity: ActivityType, new_activity: str)
| 532 | return core.BNWorkflowRemove(self.handle, str(activity)) |
| 533 | |
| 534 | def replace(self, activity: ActivityType, new_activity: str) -> bool: |
| 535 | """ |
| 536 | ``replace`` Replace the specified ``activity``. |
| 537 | |
| 538 | :param str activity: the Activity to replace |
| 539 | :param str new_activity: the replacement Activity |
| 540 | :return: True on success, False otherwise |
| 541 | :rtype: bool |
| 542 | """ |
| 543 | return core.BNWorkflowReplace(self.handle, str(activity), str(new_activity)) |
| 544 | |
| 545 | def graph(self, activity: ActivityType = "", sequential: bool = False, show: bool = True) -> Optional[FlowGraph]: |
| 546 | """ |
no outgoing calls
no test coverage detected