- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 1,305 for somex (0.02 seconds)
-
docs/en/docs/tutorial/response-status-code.md
/// It will: * Return that status code in the response. * Document it as such in the OpenAPI schema (and so, in the user interfaces): <img src="/img/tutorial/response-status-code/image01.png"> /// note Some response codes (see the next section) indicate that the response does not have a body. FastAPI knows this, and will produce OpenAPI docs that state there is no response body. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.9K bytes - Click Count (0) -
docs/en/docs/advanced/events.md
Let's start with an example **use case** and then see how to solve it with this. Let's imagine that you have some **machine learning models** that you want to use to handle requests. 🤖 The same models are shared among requests, so, it's not one model per request, or one per user or something similar. Let's imagine that loading the model can **take quite some time**, because it has to read a lot of **data from disk**. So you don't want to do it for every request.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.8K bytes - Click Count (0) -
docs_src/custom_response/tutorial003_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 394 bytes - Click Count (0) -
docs_src/custom_response/tutorial004_py310.py
from fastapi import FastAPI from fastapi.responses import HTMLResponse app = FastAPI() def generate_html_response(): html_content = """ <html> <head> <title>Some HTML in here</title> </head> <body> <h1>Look ma! HTML!</h1> </body> </html> """ return HTMLResponse(content=html_content, status_code=200)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 491 bytes - Click Count (0) -
tensorflow/c/c_api_experimental_test.cc
/*expected_shape*/ make_shape({kUnknownDim, kUnknownDim})); TFE_DeleteOp(matmul_op); // TODO(bgogul): Add some death tests where status is not OK. } TEST_F(ShapeInferenceTest, InfersShapesFromInputTensors) { // Prepare some tensors for shape. TF_Tensor* tensor_1X6 = Int32Tensor({1, 6}); CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 13.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Comparators.java
return optional.orElse(null); } /** * Returns the minimum of the two values. If the values compare as 0, the first is returned. * * <p>The recommended solution for finding the {@code minimum} of some values depends on the type * of your data and the number of elements you have. Read more in the Guava User Guide article on * <a href="https://github.com/google/guava/wiki/CollectionUtilitiesExplained#comparators">{@code
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 11.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java
* is given by {@link #getSource()}. * * @return the one-based index of the line containing the problem or a non-positive value if unknown */ int getLineNumber(); /** * Gets the one-based index of the column containing the problem. The column number should refer to some text file * that is given by {@link #getSource()}. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 3.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java
* <syntax>project.distributionManagementArtifactRepository</syntax> * <origin><![CDATA[ * <distributionManagement> * <repository> * <id>some-repo</id> * <url>scp://host/path</url> * </repository> * <snapshotRepository> * <id>some-snap-repo</id> * <url>scp://host/snapshot-path</url> * </snapshotRepository> * </distributionManagement> * ]]></origin> * <usage><![CDATA[
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.2K bytes - Click Count (0) -
tests/test_starlette_exception.py
@app.get("/items/{item_id}") async def read_item(item_id: str): if item_id not in items: raise HTTPException( status_code=404, detail="Item not found", headers={"X-Error": "Some custom header"}, ) return {"item": items[item_id]} @app.get("/http-no-body-statuscode-exception") async def no_body_status_code_exception(): raise HTTPException(status_code=204)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 8.1K bytes - Click Count (0) -
build-logic-commons/publishing/build.gradle.kts
plugins { `kotlin-dsl` } group = "gradlebuild" description = "Provides a plugin for publishing some of Gradle's subprojects to Artifactory or the Plugin Portal" dependencies { implementation(projects.basics) implementation(projects.moduleIdentity) implementation(buildLibs.publishPlugin)Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 09:06:26 GMT 2026 - 310 bytes - Click Count (0)