Add processing result to history
(self, input_source: str, result: dict)
| 933 | return choice in ["y", "yes", "1", "true"] |
| 934 | |
| 935 | def add_to_history(self, input_source: str, result: dict): |
| 936 | """Add processing result to history""" |
| 937 | entry = { |
| 938 | "timestamp": time.strftime("%Y-%m-%d %H:%M:%S"), |
| 939 | "input_source": input_source, |
| 940 | "status": result.get("status", "unknown"), |
| 941 | "result": result, |
| 942 | } |
| 943 | self.processing_history.append(entry) |
| 944 | |
| 945 | def show_history(self): |
| 946 | """Display processing history""" |