Skip to content

Commit

Permalink
improve create_task names
Browse files Browse the repository at this point in the history
  • Loading branch information
aconchillo committed Jan 29, 2025
1 parent 2a1408e commit 091258f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pipecat/pipeline/task_observer.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def _create_proxies(self, observers) -> List[Proxy]:
task = create_task(
loop,
self._proxy_task_handler(queue, observer),
f"{self}::{observer.__class__.__name__}",
f"{self}::{observer.__class__.__name__}::_proxy_task_handler",
)
proxy = Proxy(queue=queue, task=task, observer=observer)
proxies.append(proxy)
Expand Down
2 changes: 1 addition & 1 deletion src/pipecat/transports/services/daily.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def __init__(
self._callback_task = create_task(
self._loop,
self._callback_task_handler(),
f"{self._transport_name}::DailyTransportClient::callback_task",
f"{self._transport_name}::DailyTransportClient::_callback_task_handler",
)

self._camera: VirtualCameraDevice | None = None
Expand Down

0 comments on commit 091258f

Please sign in to comment.