Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 153361d

Browse files
author
Stainless Bot
committedSep 24, 2024·
chore(internal): use typing_extensions.overload instead of typing (#667)
1 parent ee8e2bd commit 153361d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
 

‎src/anthropic/resources/beta/prompt_caching/messages.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
from __future__ import annotations
44

5-
from typing import List, Union, Iterable, overload
5+
from typing import List, Union, Iterable
66
from functools import partial
7-
from typing_extensions import Literal
7+
from typing_extensions import Literal, overload
88

99
import httpx
1010

‎src/anthropic/resources/completions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
from __future__ import annotations
44

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

88
import httpx
99

‎src/anthropic/resources/messages.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
from __future__ import annotations
44

55
import warnings
6-
from typing import List, Union, Iterable, overload
6+
from typing import List, Union, Iterable
77
from functools import partial
8-
from typing_extensions import Literal
8+
from typing_extensions import Literal, overload
99

1010
import httpx
1111

0 commit comments

Comments
 (0)
Please sign in to comment.