(child_liveaction_db)
| 168 | |
| 169 | |
| 170 | def _get_parent_execution(child_liveaction_db): |
| 171 | parent_execution_id = child_liveaction_db.context.get("parent", {}).get( |
| 172 | "execution_id", None |
| 173 | ) |
| 174 | |
| 175 | if parent_execution_id: |
| 176 | try: |
| 177 | return ActionExecution.get_by_id(parent_execution_id) |
| 178 | except: |
| 179 | LOG.exception( |
| 180 | "No valid execution object found in db for id: %s" % parent_execution_id |
| 181 | ) |
| 182 | return None |
| 183 | |
| 184 | return None |
| 185 | |
| 186 | |
| 187 | def _get_web_url_for_execution(execution_id): |
no test coverage detected