Skip to content

Commit

Permalink
chore(internal): use typing_extensions.overload instead of typing (
Browse files Browse the repository at this point in the history
  • Loading branch information
Stainless Bot committed Sep 24, 2024
1 parent ee8e2bd commit 153361d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/anthropic/resources/beta/prompt_caching/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

from __future__ import annotations

from typing import List, Union, Iterable, overload
from typing import List, Union, Iterable
from functools import partial
from typing_extensions import Literal
from typing_extensions import Literal, overload

import httpx

Expand Down
4 changes: 2 additions & 2 deletions src/anthropic/resources/completions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

from __future__ import annotations

from typing import List, overload
from typing_extensions import Literal
from typing import List
from typing_extensions import Literal, overload

import httpx

Expand Down
4 changes: 2 additions & 2 deletions src/anthropic/resources/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
from __future__ import annotations

import warnings
from typing import List, Union, Iterable, overload
from typing import List, Union, Iterable
from functools import partial
from typing_extensions import Literal
from typing_extensions import Literal, overload

import httpx

Expand Down

0 comments on commit 153361d

Please sign in to comment.