Update RunCodeFileEditAtomicFlow.py
Browse files57 unmodified lines585960616263646566676869707172737475767778798057 unmodified linescontent_to_write = self._generate_content(code_str, lang_details["comment"])file_location_to_write = self._generate_temp_file_location(code_lib_location, lang_details["extension"])return content_to_write, file_location_to_writedef run(self,input_data: Dict[str, Any]):self._check_input(input_data)# ~~~ Getting input data to the file editor ~~~content_to_write, file_location_to_write = self._generate_input_to_writer(input_data)# ~~~ Calling the writer function ~~~_, code_editor_output, temp_file_location, _ = self._write_code_content_to_file(file_location_to_write, content_to_write)# ~~~ Generating return variables ~~~response = {}response["code_editor_output"] = code_editor_outputresponse["temp_code_file_location"] = temp_file_locationreturn response57 unmodified lines58596057 unmodified linescontent_to_write = self._generate_content(code_str, lang_details["comment"])file_location_to_write = self._generate_temp_file_location(code_lib_location, lang_details["extension"])return content_to_write, file_location_to_write
RunCodeFileEditAtomicFlow.py-20