Skip to content

Commit 4458ca1

Browse files
committed
Mock FastAPI
1 parent 21aaa48 commit 4458ca1

3 files changed

Lines changed: 15 additions & 7 deletions

File tree

docs/api/conf.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,14 @@
102102
"openai.types.beta.realtime",
103103
"langchain_core",
104104
"langchain_core.messages",
105+
# FastAPI - Pydantic v2 compatibility issues during Sphinx autodoc
106+
"fastapi",
107+
"fastapi.applications",
108+
"fastapi.routing",
109+
"fastapi.params",
110+
"fastapi.middleware",
111+
"fastapi.responses",
112+
"uvicorn",
105113
]
106114

107115
# HTML output settings

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ qwen = []
9797
remote-smart-turn = []
9898
rime = [ "pipecat-ai[websockets-base]" ]
9999
riva = [ "pipecat-ai[nvidia]" ]
100-
runner = [ "python-dotenv>=1.0.0,<2.0.0", "uvicorn>=0.32.0,<1.0.0", "fastapi>=0.115.6,<0.122.0", "pipecat-ai-small-webrtc-prebuilt>=2.0.4"]
100+
runner = [ "python-dotenv>=1.0.0,<2.0.0", "uvicorn>=0.32.0,<1.0.0", "fastapi>=0.115.6,<0.128.0", "pipecat-ai-small-webrtc-prebuilt>=2.0.4"]
101101
sagemaker = ["aws_sdk_sagemaker_runtime_http2; python_version>='3.12'"]
102102
sambanova = []
103103
sarvam = [ "sarvamai==0.1.21", "pipecat-ai[websockets-base]" ]
@@ -113,7 +113,7 @@ together = []
113113
tracing = [ "opentelemetry-sdk>=1.33.0", "opentelemetry-api>=1.33.0", "opentelemetry-instrumentation>=0.54b0" ]
114114
ultravox = [ "pipecat-ai[websockets-base]" ]
115115
webrtc = [ "aiortc>=1.14.0,<2", "opencv-python>=4.11.0.86,<5" ]
116-
websocket = [ "pipecat-ai[websockets-base]", "fastapi>=0.115.6,<0.122.0" ]
116+
websocket = [ "pipecat-ai[websockets-base]", "fastapi>=0.115.6,<0.128.0" ]
117117
websockets-base = [ "websockets>=13.1,<16.0" ]
118118
whisper = [ "faster-whisper~=1.1.1" ]
119119

uv.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)