Skip to content

Commit 35a8e9f

Browse files
committed
use inbuilt types
1 parent 61512eb commit 35a8e9f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/elevenlabs/conversational_ai/conversation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import base64
33
import json
44
import threading
5-
from typing import Callable, Optional, Awaitable, Union, Any, Literal, Dict, Tuple
5+
from typing import Callable, Optional, Awaitable, Union, Any, Literal
66
import asyncio
77
from concurrent.futures import ThreadPoolExecutor
88
from enum import Enum
@@ -119,7 +119,7 @@ class ClientTools:
119119
"""
120120

121121
def __init__(self) -> None:
122-
self.tools: Dict[str, Tuple[Union[Callable[[dict], Any], Callable[[dict], Awaitable[Any]]], bool]] = {}
122+
self.tools: dict[str, tuple[Union[Callable[[dict], Any], Callable[[dict], Awaitable[Any]]], bool]] = {}
123123
self.lock = threading.Lock()
124124
self._loop = None
125125
self._thread = None

0 commit comments

Comments
 (0)