def extract_execution_state(self, topology):
execution_state = topology.execution_state<EOL>executionState = {<EOL>"<STR_LIT>": execution_state.cluster,<EOL>"<STR_LIT>": execution_state.environ,<EOL>"<STR_LIT>": execution_state.role,<EOL>"<STR_LIT>": topology.name,<EOL>"<STR_LIT>": execution_state.submission_time,<EOL>"<STR_LIT>": execution_state.submission_user,<EOL>"<STR_LIT>": execution_state.release_state.release_username,<EOL>"<STR_LIT>": execution_state.release_state.release_tag,<EOL>"<STR_LIT>": execution_state.release_state.release_version,<EOL>"<STR_LIT>": None,<EOL>"<STR_LIT>": None,<EOL>"<STR_LIT>": None,<EOL>"<STR_LIT>": [],<EOL>}<EOL>for extra_link in self.config.extra_links:<EOL><INDENT>link = extra_link.copy()<EOL>link["<STR_LIT:url>"] = self.config.get_formatted_url(executionState,<EOL>link[EXTRA_LINK_FORMATTER_KEY])<EOL>executionState["<STR_LIT>"].append(link)<EOL><DEDENT>return executionState<EOL>
Returns the repesentation of execution state that will
be returned from Tracker.