Skip to content

Commit 6178640

Browse files
authored
Merge pull request #976 from DataRecce/bugfix/quoted-primary-keys
Remove quotes from primary keys from backend
2 parents 2f6965f + e5271ed commit 6178640

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)