(s)
| 138 | json.dump(results_data, f, ensure_ascii=False, indent=4) |
| 139 | |
| 140 | def extract_content(s): |
| 141 | matches = re.findall(r'\{(.*?)\}', s) |
| 142 | if len(matches) >= 2 and matches[0].lower() == 'yes': |
| 143 | return matches[1] |
| 144 | elif len(matches) >= 1: |
| 145 | return matches[0] |
| 146 | else: |
| 147 | return 'NULL' |
nothing calls this directly
no outgoing calls
no test coverage detected