- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 3,041 for Save (0.02 sec)
-
docs/en/docs/tutorial/debugging.md
``` </div> then the internal variable `__name__` in your file, created automatically by Python, will have as value the string `"__main__"`. So, the section: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` will run. --- This won't happen if you import that module (file). So, if you have another file `importer.py` with: ```Python from myapp import app # Some more code ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
} // re-read valueField, if we get here then we must have observed a TOMBSTONE while trying to // add a waiter. // requireNonNull is safe because valueField is always set before TOMBSTONE. return getDoneValue(requireNonNull(valueField)); } // If we get here then we have remainingNanos < SPIN_THRESHOLD_NANOS and there is no node on the // waiters listRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
docs/de/docs/tutorial/body-multiple-params.md
```JSON { "item": { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2 }, "user": { "username": "dave", "full_name": "Dave Grohl" } } ``` /// note | Hinweis Beachten Sie, dass, obwohl `item` wie zuvor deklariert wurde, es nun unter einem Schlüssel `item` im Body erwartet wird. ///Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 15:10:09 UTC 2025 - 5.5K bytes - Viewed (0) -
docs/en/docs/advanced/additional-responses.md
/// note Notice that you have to return the image using a `FileResponse` directly. /// /// info Unless you specify a different media type explicitly in your `responses` parameter, FastAPI will assume the response has the same media type as the main response class (default `application/json`).
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 8.9K bytes - Viewed (0) -
fastapi/security/http.py
like: ``` Authorization: Bearer deadbeef12346 ``` In this case: * `scheme` will have the value `"Bearer"` * `credentials` will have the value `"deadbeef12346"` """ scheme: Annotated[ str, Doc( """ The HTTP authorization scheme extracted from the header value.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 13.2K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial008.py
assert response.json() == { "detail": [ { "type": "string_too_short", "loc": ["query", "q"], "msg": "String should have at least 3 characters", "input": "fa", "ctx": {"min_length": 3}, } ] } def test_openapi_schema(client: TestClient):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 4.9K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
This will make FastAPI skip the response model generation and that way you can have any return type annotations you need without it affecting your FastAPI application. 🤓 ## Response Model encoding parameters { #response-model-encoding-parameters } Your response model could have default values, like: {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 15.5K bytes - Viewed (0) -
docs_src/path_operation_advanced_configuration/tutorial002_py39.py
async def read_items(): return [{"item_id": "Foo"}] def use_route_names_as_operation_ids(app: FastAPI) -> None: """ Simplify operation IDs so that generated API clients have simpler function names. Should be called only after all routes have been added. """ for route in app.routes: if isinstance(route, APIRoute): route.operation_id = route.name # in this case, 'read_items'
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 572 bytes - Viewed (0) -
fastapi/security/api_key.py
available, instead of erroring out, the dependency result will be `None`. This is useful when you want to have optional authentication. It is also useful when you want to have authentication that can be provided in one of multiple optional ways (for example, in a query parameter or in an HTTP Bearer token). """Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 9.6K bytes - Viewed (1) -
docs/pt/docs/tutorial/body-multiple-params.md
```JSON { "item": { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2 }, "user": { "username": "dave", "full_name": "Dave Grohl" } } ``` /// note | Nota Repare que mesmo que o `item` esteja declarado da mesma maneira que antes, agora é esperado que ele esteja dentro do corpo com uma chave `item`. ///Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 5.4K bytes - Viewed (0)