Use Sequence[FrameProcessor] instead of list[FrameProcessor] in Pipeline, ServiceSwitcher, and ServiceSwitcherStrategy parameters to accept subtype lists. Add cast() in LLMSwitcher for narrowed return types. Guard against None in task_observer._send_to_proxy and replace hasattr with truthiness check in task._cleanup.
21 lines
425 B
JSON
21 lines
425 B
JSON
{
|
|
"typeCheckingMode": "basic",
|
|
"pythonVersion": "3.11",
|
|
"pythonPlatform": "All",
|
|
"include": [
|
|
"src/pipecat/clocks",
|
|
"src/pipecat/metrics",
|
|
"src/pipecat/transcriptions",
|
|
"src/pipecat/frames",
|
|
"src/pipecat/observers",
|
|
"src/pipecat/extensions",
|
|
"src/pipecat/turns",
|
|
"src/pipecat/pipeline"
|
|
],
|
|
"exclude": [
|
|
"**/*_pb2.py",
|
|
"**/__pycache__"
|
|
],
|
|
"reportMissingImports": false
|
|
}
|