Skip to content

Commit

Permalink
formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
why-not-try-calmer committed Sep 4, 2023
1 parent 724f408 commit 587a9ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-qgis/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from contextlib import contextmanager
from datetime import datetime
from pathlib import Path
from typing import Any, Callable, IO, Optional
from typing import IO, Any, Callable, Optional

from libqfieldsync.layer import LayerSource
from qfieldcloud_sdk import sdk
Expand Down Expand Up @@ -513,7 +513,7 @@ def json_default(obj):

def run_workflow(
workflow: Workflow,
feedback_filename: Path | IO,
feedback_filename: Optional[Path | IO],
) -> dict[str, Any]:
"""Executes the steps required to run a task and return structured feedback from the execution
Expand All @@ -525,7 +525,7 @@ def run_workflow(
Args:
workflow (Workflow): workflow to be executed
feedback_filename (Optional[Union[IO, Path]]): write feedback to an IO device, to Path filename, or don't write it
feedback_filename (IO | Path): write feedback to an IO device, to Path filename, or don't write it
"""
feedback: dict[str, Any] = {
"feedback_version": "2.0",
Expand Down

0 comments on commit 587a9ef

Please sign in to comment.