Skip to content

Commit e5271ed

Browse files
committed
Remove quotes from primary keys from backend
Signed-off-by: even-wei <[email protected]>
1 parent 2f6965f commit e5271ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

recce/models/run.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ def create(self, run: Run):
1818
def find_run_by_id(self, run_id):
1919
for run in self._runs:
2020
if str(run_id) == str(run.run_id):
21+
if run.params and "primary_keys" in run.params:
22+
run.params["primary_keys"] = [key.replace('"', "") for key in run.params["primary_keys"]]
23+
2124
return run
2225

2326
return None

0 commit comments

Comments
 (0)