Skip to content

Commit

Permalink
Merge pull request #3 from filipcacky/async_runner_improvements_tests
Browse files Browse the repository at this point in the history
Fix temporary_fifo type annotation on py37 and py38
  • Loading branch information
filipcacky authored Nov 23, 2024
2 parents 73dbde5 + c623fd9 commit e305c68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metaflow/runner/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import select
from contextlib import contextmanager
from subprocess import CalledProcessError
from typing import Any, Dict, TYPE_CHECKING, ContextManager
from typing import Any, Dict, TYPE_CHECKING, ContextManager, Tuple

if TYPE_CHECKING:
import tempfile
Expand Down Expand Up @@ -51,7 +51,7 @@ def check_process_exited(


@contextmanager
def temporary_fifo() -> ContextManager[tuple[str, int]]:
def temporary_fifo() -> ContextManager[Tuple[str, int]]:
"""
Create and open the read side of a temporary FIFO in a non-blocking mode.
Expand Down

0 comments on commit e305c68

Please sign in to comment.