We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1442c54 commit a2d9921Copy full SHA for a2d9921
guardrails_api/app.py
@@ -20,6 +20,7 @@
20
21
from starlette.middleware.base import BaseHTTPMiddleware
22
23
+
24
class RequestInfoMiddleware(BaseHTTPMiddleware):
25
async def dispatch(self, request: Request, call_next):
26
tracer = trace.get_tracer(__name__)
tests/cli/test_start.py
@@ -10,6 +10,8 @@ def test_start(mocker):
10
"guardrails_api.cli.start.create_app", return_value=mock_app
11
)
12
13
+ mocker.patch("uvicorn.run")
14
15
from guardrails_api.cli.start import start
16
17
# pg enabled
0 commit comments