Skip to content

Commit c68cb8a

Browse files
committed
fix(core): add guard to _typeshed module
feat(tem): add blocklisted flag (#830) feat(tem): add blocklisted flag (#830)
1 parent f474703 commit c68cb8a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scaleway-core/scaleway_core/utils/resolve_one_of.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
from collections.abc import Callable
22
from dataclasses import dataclass
33
from typing import Any, Dict, Generic, List, Optional, TypeVar
4-
from _typeshed import SupportsKeysAndGetItem
4+
from typing import TYPE_CHECKING
5+
6+
if TYPE_CHECKING:
7+
from _typeshed import SupportsKeysAndGetItem
58

69
from scaleway_core.profile import ProfileDefaults
710

0 commit comments

Comments
 (0)