Skip to content

Commit 81de500

Browse files
committed
Swift: fix import not working in all python versions
1 parent 8e07932 commit 81de500

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/codegen/loaders/schemaloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import typing
55
import types
66
import pathlib
7-
import importlib
7+
import importlib.util
88
from dataclasses import dataclass
99
from toposort import toposort_flatten
1010

0 commit comments

Comments
 (0)