Add api to query type
This commit is contained in:
@@ -34,7 +34,7 @@ def _query_redo(name: str, id: str) -> dict[str, str]:
|
||||
cur.execute(f"select redo from operation where id = {id}")
|
||||
return cur.fetchone()['redo']
|
||||
|
||||
def _set_redo_child(name: str, id: str, child:str) -> None:
|
||||
def _set_redo_child(name: str, id: str, child: str) -> None:
|
||||
with conn[name].cursor() as cur:
|
||||
cur.execute(f"update operation set redo_child = {child} where id = {id}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user