Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffxy committed Nov 28, 2023
1 parent cbeca79 commit efaad49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions workloads/IMDB_extended/training_data_collection_telemetry.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import copy
import json
import os.path

from tqdm import tqdm
import argparse
Expand Down Expand Up @@ -243,6 +242,8 @@ def simulate_query_on_larger_scale(
)

if target_path is not None:
with open(target_path + f"_epoch_{target_scale}.json", "w") as f:
with open(
target_path + f"_epoch_{target_scale}.json", "w", encoding="UTF-8"
) as f:
json.dump(parsed_queries, f, default=dumper)
return parsed_queries

0 comments on commit efaad49

Please sign in to comment.