Skip to content

Commit e946115

Browse files
chore(internal): use typing_extensions.overload instead of typing (#1740)
1 parent 3121db4 commit e946115

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/openai/resources/beta/threads/runs/runs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
from __future__ import annotations
44

5-
from typing import List, Union, Iterable, Optional, overload
6-
from typing_extensions import Literal
5+
from typing import List, Union, Iterable, Optional
6+
from typing_extensions import Literal, overload
77

88
import httpx
99

src/openai/resources/beta/threads/threads.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
from __future__ import annotations
44

5-
from typing import Union, Iterable, Optional, overload
6-
from typing_extensions import Literal
5+
from typing import Union, Iterable, Optional
6+
from typing_extensions import Literal, overload
77

88
import httpx
99

src/openai/resources/chat/completions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
from __future__ import annotations
44

5-
from typing import Dict, List, Union, Iterable, Optional, overload
6-
from typing_extensions import Literal
5+
from typing import Dict, List, Union, Iterable, Optional
6+
from typing_extensions import Literal, overload
77

88
import httpx
99

src/openai/resources/completions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
from __future__ import annotations
44

5-
from typing import Dict, List, Union, Iterable, Optional, overload
6-
from typing_extensions import Literal
5+
from typing import Dict, List, Union, Iterable, Optional
6+
from typing_extensions import Literal, overload
77

88
import httpx
99

0 commit comments

Comments
 (0)