Skip to content

Commit 146f101

Browse files
committed
Add missing return type annotation
1 parent 42e72a3 commit 146f101

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry_sdk/integrations/openai.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ def _sentry_patched_create_sync(*args: Any, **kwargs: Any) -> Any:
532532

533533

534534
def _wrap_async_embeddings_create(f: Any) -> Any:
535-
async def _execute_async(f: Any, *args: Any, **kwargs: Any):
535+
async def _execute_async(f: Any, *args: Any, **kwargs: Any) -> Any:
536536
gen = _new_embeddings_create_common(f, *args, **kwargs)
537537

538538
try:
@@ -618,7 +618,7 @@ def _sentry_patched_create_sync(*args: Any, **kwargs: Any) -> Any:
618618

619619

620620
def _wrap_async_responses_create(f: Any) -> Any:
621-
async def _execute_async(f: Any, *args: Any, **kwargs: Any):
621+
async def _execute_async(f: Any, *args: Any, **kwargs: Any) -> Any:
622622
gen = _new_responses_create_common(f, *args, **kwargs)
623623

624624
try:

0 commit comments

Comments
 (0)