(self, file_path = None)
| 21 | self.templates = json.load(open(self.template_file_path, "r")) |
| 22 | |
| 23 | def load_examples(self, file_path = None): |
| 24 | if not file_path: |
| 25 | self.example_file_path = "src/fixed_examples.json" |
| 26 | else: |
| 27 | self.example_file_path = file_path |
| 28 | self.examples = json.load(open(self.example_file_path, "r")) |
| 29 | |
| 30 | def save_templates(self): |
| 31 | with open(self.template_file_path, "w", encoding = "utf-8") as f: |
no outgoing calls
no test coverage detected