task_guid is a str, thanks, typeguard

This commit is contained in:
burnettk 2023-03-27 20:22:12 -04:00
parent 8881dde587
commit 151cb13255
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ def task_list_for_my_groups(
def task_data_show( def task_data_show(
modified_process_model_identifier: str, modified_process_model_identifier: str,
process_instance_id: int, process_instance_id: int,
task_guid: int = 0, task_guid: str,
) -> flask.wrappers.Response: ) -> flask.wrappers.Response:
task_model = TaskModel.query.filter_by(guid=task_guid, process_instance_id=process_instance_id).first() task_model = TaskModel.query.filter_by(guid=task_guid, process_instance_id=process_instance_id).first()
if task_model is None: if task_model is None: