Skip to content

Commit

Permalink
Convert int to string in restApiControl (no longer validates in fastA…
Browse files Browse the repository at this point in the history
…pi with pydantic 2)
  • Loading branch information
eudoxos committed Jul 1, 2024
1 parent d3c542c commit 68e5222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mupifDB/restApiControl.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ def setExecutionOntoBaseObjectIDs(execution_id, name, value):
def setExecutionAttemptsCount(execution_id, val):
if api_type == 'granta':
return None
return setExecutionParameter(execution_id, "Attempts", val, "int")
return setExecutionParameter(execution_id, "Attempts", str(val), "int")


def _setGrantaExecutionResults(eid, val_list):
Expand Down

0 comments on commit 68e5222

Please sign in to comment.