Closed panh99 closed 1 month ago
SELECT keyword will never trigger IntegrityError. In the get_run method, to check if the run_id exist, we need to check if rows (i.e., the return value of self.query) is empty or not.
SELECT
IntegrityError
get_run
run_id
rows
self.query
SELECT
keyword will never triggerIntegrityError
. In theget_run
method, to check if therun_id
exist, we need to check ifrows
(i.e., the return value ofself.query
) is empty or not.