- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for follower (0.24 sec)
-
tests/test_tutorial/test_custom_response/test_tutorial006c.py
from fastapi.testclient import TestClient from docs_src.custom_response.tutorial006c import app client = TestClient(app) def test_redirect_status_code(): response = client.get("/pydantic", follow_redirects=False) assert response.status_code == 302 assert response.headers["location"] == "https://docs.pydantic.dev/" def test_openapi_schema(): response = client.get("/openapi.json")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 899 bytes - Viewed (0) -
fastapi/applications.py
""" ), deprecated( """ "openapi_prefix" has been deprecated in favor of "root_path", which follows more closely the ASGI standard, is simpler, and more automatic. """ ), ] = "", root_path: Annotated[ str, Doc(
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 172.2K bytes - Viewed (0)