Skip to content

Commit 2d4673b

Browse files
author
alex-omophub
committed
Import builtins conditionally in type checking for improved clarity
1 parent c289a9f commit 2d4673b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/omophub/resources/vocabularies.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
from __future__ import annotations
44

5-
import builtins
65
from typing import TYPE_CHECKING, Any
76

87
if TYPE_CHECKING:
8+
import builtins
9+
910
from .._request import AsyncRequest, Request
1011
from ..types.vocabulary import Vocabulary, VocabularyStats
1112

0 commit comments

Comments
 (0)