Skip to content

Commit 04d7c13

Browse files
committed
Avoid circular import
1 parent 8698d13 commit 04d7c13

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/virtualship/cli/_fetch.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@
33
import hashlib
44
from datetime import datetime
55
from pathlib import Path
6+
from typing import TYPE_CHECKING
67

78
import click
89
from pydantic import BaseModel
910

10-
from virtualship.expedition.space_time_region import SpaceTimeRegion
1111
from virtualship.utils import _dump_yaml, _generic_load_yaml
1212

13+
if TYPE_CHECKING:
14+
from virtualship.expedition.space_time_region import SpaceTimeRegion
15+
1316
DOWNLOAD_METADATA = "download_metadata.yaml"
1417

1518

0 commit comments

Comments
 (0)