Skip to content

Commit 22dab87

Browse files
authored
fix(core): check import resolve_one_of (#1162)
1 parent feb712a commit 22dab87

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

scaleway-core/scaleway_core/utils/resolve_one_of.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
from __future__ import annotations
2-
from collections.abc import Callable
32
from dataclasses import dataclass
4-
from typing import Any, Dict, Generic, List, Optional, TypeVar
5-
6-
from typing import TYPE_CHECKING
3+
from typing import Any, Dict, Generic, List, Optional, TypeVar, TYPE_CHECKING
74

85
if TYPE_CHECKING:
6+
from collections.abc import Callable
97
from _typeshed import SupportsKeysAndGetItem
108

11-
129
T = TypeVar("T")
1310

1411

0 commit comments

Comments
 (0)