From 0801836e2831db77329f9f74a7f926393a27896f Mon Sep 17 00:00:00 2001 From: why-not-try-calmer Date: Mon, 4 Sep 2023 09:12:20 +0200 Subject: [PATCH] restoring removed code --- docker-qgis/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-qgis/utils.py b/docker-qgis/utils.py index 8d7b1b8d6..95ba03844 100644 --- a/docker-qgis/utils.py +++ b/docker-qgis/utils.py @@ -15,7 +15,7 @@ from contextlib import contextmanager from datetime import datetime from pathlib import Path -from typing import Any, Callable, Optional +from typing import Any, Callable, IO, Optional from libqfieldsync.layer import LayerSource from qfieldcloud_sdk import sdk @@ -513,7 +513,7 @@ def json_default(obj): def run_workflow( workflow: Workflow, - feedback_filename: Path, + feedback_filename: Path | IO, ) -> dict[str, Any]: """Executes the steps required to run a task and return structured feedback from the execution