Skip to content

Commit

Permalink
move check at top
Browse files Browse the repository at this point in the history
  • Loading branch information
madhur-ob committed May 21, 2024
1 parent 4c71e36 commit 887d948
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions metaflow/metaflow_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import asyncio
import tempfile
from typing import Dict, Optional
from metaflow import Run
from metaflow.subprocess_manager import SubprocessManager, CommandManager

if sys.version_info < (3, 7):
raise RuntimeError(
Expand All @@ -14,6 +12,9 @@
"""
)

from metaflow import Run
from metaflow.subprocess_manager import SubprocessManager, CommandManager


def read_from_file_when_ready(file_path: str, timeout: float = 5):
start_time = time.time()
Expand Down

0 comments on commit 887d948

Please sign in to comment.