mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-03 17:29:01 +00:00
fix: apply pre-commit formatting
This commit is contained in:
parent
ffb5600ec4
commit
ff468d91ce
1 changed files with 4 additions and 10 deletions
|
@ -230,13 +230,7 @@ class TracingMiddleware:
|
||||||
self.app = app
|
self.app = app
|
||||||
self.impls = impls
|
self.impls = impls
|
||||||
# FastAPI built-in paths that should bypass custom routing
|
# FastAPI built-in paths that should bypass custom routing
|
||||||
self.fastapi_paths = (
|
self.fastapi_paths = ("/docs", "/redoc", "/openapi.json", "/favicon.ico", "/static")
|
||||||
"/docs",
|
|
||||||
"/redoc",
|
|
||||||
"/openapi.json",
|
|
||||||
"/favicon.ico",
|
|
||||||
"/static"
|
|
||||||
)
|
|
||||||
|
|
||||||
async def __call__(self, scope, receive, send):
|
async def __call__(self, scope, receive, send):
|
||||||
if scope.get("type") == "lifespan":
|
if scope.get("type") == "lifespan":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue