(fpath)
| 9 | DEBUG = False |
| 10 | |
| 11 | def load_func(fpath): |
| 12 | print('fpath', fpath) |
| 13 | assert os.path.exists(fpath) |
| 14 | with open(fpath,'r') as fid: |
| 15 | lines = fid.readlines() |
| 16 | records =[json.loads(line.strip('\n')) for line in lines] |
| 17 | return records |
| 18 | |
| 19 | if __name__ == '__main__': |
| 20 | if not os.path.exists(OUT_PATH): |
no outgoing calls
no test coverage detected