Skip to content

Commit 887d948

Browse files
committed
move check at top
1 parent 4c71e36 commit 887d948

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

metaflow/metaflow_runner.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
import asyncio
55
import tempfile
66
from typing import Dict, Optional
7-
from metaflow import Run
8-
from metaflow.subprocess_manager import SubprocessManager, CommandManager
97

108
if sys.version_info < (3, 7):
119
raise RuntimeError(
@@ -14,6 +12,9 @@
1412
"""
1513
)
1614

15+
from metaflow import Run
16+
from metaflow.subprocess_manager import SubprocessManager, CommandManager
17+
1718

1819
def read_from_file_when_ready(file_path: str, timeout: float = 5):
1920
start_time = time.time()

0 commit comments

Comments
 (0)