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 89e5a01 commit 2522bd5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/openai/resources/beta/threads/runs/runs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
from __future__ import annotations

import typing_extensions
from typing import List, Union, Iterable, Optional, overload
from typing import List, Union, Iterable, Optional
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/openai/resources/beta/threads/threads.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

from __future__ import annotations

from typing import Union, Iterable, Optional, overload
from typing import Union, Iterable, Optional
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/openai/resources/chat/completions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
from __future__ import annotations

import inspect
from typing import Dict, List, Union, Iterable, Optional, overload
from typing_extensions import Literal
from typing import Dict, List, Union, Iterable, Optional
from typing_extensions import Literal, overload

import httpx
import pydantic
Expand Down
4 changes: 2 additions & 2 deletions src/openai/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 Dict, List, Union, Iterable, Optional, overload
from typing_extensions import Literal
from typing import Dict, List, Union, Iterable, Optional
from typing_extensions import Literal, overload

import httpx

Expand Down

0 comments on commit 2522bd5

Please sign in to comment.