fix linting and typechecking
This commit is contained in:
@@ -864,7 +864,8 @@ class VonageClient:
|
|||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
logger.error(f"Exception in SDK callback task: {exc}")
|
logger.error(f"Exception in SDK callback task: {exc}")
|
||||||
finally:
|
finally:
|
||||||
active_tasks.discard(asyncio.current_task())
|
if (current := asyncio.current_task()) is not None:
|
||||||
|
active_tasks.discard(current)
|
||||||
queue.task_done()
|
queue.task_done()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -25,9 +25,9 @@ from pipecat.transports.base_input import BaseInputTransport
|
|||||||
from pipecat.transports.base_output import BaseOutputTransport
|
from pipecat.transports.base_output import BaseOutputTransport
|
||||||
from pipecat.transports.base_transport import BaseTransport
|
from pipecat.transports.base_transport import BaseTransport
|
||||||
from pipecat.transports.vonage.client import (
|
from pipecat.transports.vonage.client import (
|
||||||
Session,
|
Session, # type: ignore[attr-defined]
|
||||||
Stream,
|
Stream, # type: ignore[attr-defined]
|
||||||
Subscriber,
|
Subscriber, # type: ignore[attr-defined]
|
||||||
VonageClient,
|
VonageClient,
|
||||||
VonageClientListener,
|
VonageClientListener,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user