- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 2,904 for Detail (0.41 sec)
-
docs_src/dependencies/tutorial013_an_py310.py
yield session def get_user(user_id: int, session: Annotated[Session, Depends(get_session)]): user = session.get(User, user_id) if not user: raise HTTPException(status_code=403, detail="Not authorized") def generate_stream(query: str): for ch in query: yield ch time.sleep(0.1) @app.get("/generate", dependencies=[Depends(get_user)]) def generate(query: str):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 03:29:38 UTC 2025 - 937 bytes - Viewed (0) -
tests/test_tutorial/test_additional_responses/test_tutorial003.py
"HTTPValidationError": { "title": "HTTPValidationError", "type": "object", "properties": { "detail": { "title": "Detail", "type": "array", "items": {"$ref": "#/components/schemas/ValidationError"}, } },
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.6K bytes - Viewed (0) -
tests/test_tutorial/test_response_directly/test_tutorial001.py
"HTTPValidationError": { "properties": { "detail": { "items": { "$ref": "#/components/schemas/ValidationError", }, "title": "Detail", "type": "array", }, },
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 5.1K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_tutorial002.py
assert response.json() == snapshot({"detail": "Hero not found"}) # Update a hero that does not exist response = client.patch(f"/heroes/{hero_id}", json={"name": "Dog Pond"}) assert response.status_code == 404, response.text assert response.json() == snapshot({"detail": "Hero not found"}) def test_openapi_schema(client: TestClient):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 17.9K bytes - Viewed (0) -
docs/de/docs/advanced/async-tests.md
## Es ausführen { #run-it } Sie können Ihre Tests wie gewohnt ausführen mit: <div class="termy"> ```console $ pytest ---> 100% ``` </div> ## Im Detail { #in-detail } Der Marker `@pytest.mark.anyio` teilt pytest mit, dass diese Testfunktion asynchron aufgerufen werden soll: {* ../../docs_src/async_tests/app_a_py39/test_main.py hl[7] *} /// tip | TippRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.5K bytes - Viewed (1) -
tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 1.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java
* * @param message the detail message * @param cause the cause of this exception */ public MavenBuilderException(String message, Throwable cause) { super(message, cause); problems = ProblemCollector.empty(); } /** * Constructs a new exception with the specified message and problems. * The message will be enhanced with details from the problems. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 3.2K bytes - Viewed (0) -
tests/test_tutorial/test_query_params/test_tutorial003.py
"HTTPValidationError": { "title": "HTTPValidationError", "type": "object", "properties": { "detail": { "title": "Detail", "type": "array", "items": {"$ref": "#/components/schemas/ValidationError"}, } },
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 4.9K bytes - Viewed (0) -
tests/test_dependency_paramless.py
# correctly when using Security with parameterless dependencies. if "a" not in security_scopes.scopes or "b" not in security_scopes.scopes: raise HTTPException(detail="a or b not in scopes", status_code=401) return {"token": credentials, "scopes": security_scopes.scopes} @app.get("/get-credentials") def get_credentials(Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 2.3K bytes - Viewed (0) -
tests/test_tutorial/test_query_params/test_tutorial004.py
"HTTPValidationError": { "title": "HTTPValidationError", "type": "object", "properties": { "detail": { "title": "Detail", "type": "array", "items": {"$ref": "#/components/schemas/ValidationError"}, } },
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 5.3K bytes - Viewed (0)