We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a143863 commit 3969f7cCopy full SHA for 3969f7c
1 file changed
volcenginesdkarkruntime/_utils/_utils.py
@@ -31,8 +31,6 @@
31
from datetime import date, datetime
32
from typing_extensions import TypeGuard
33
34
-import sniffio
35
-
36
from .._types import NotGiven, FileTypes, NotGivenOr
37
38
_T = TypeVar("_T")
@@ -382,6 +380,7 @@ def file_from_path(path: str) -> FileTypes:
382
380
383
381
def get_async_library() -> str:
384
try:
+ import sniffio
385
return sniffio.current_async_library()
386
except Exception:
387
return "false"
0 commit comments