- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 1,853 for exemplo (0.24 seconds)
-
docs/en/docs/tutorial/request-files.md
As all these methods are `async` methods, you need to "await" them. For example, inside of an `async` *path operation function* you can get the contents with: ```Python contents = await myfile.read() ``` If you are inside of a normal `def` *path operation function*, you can access the `UploadFile.file` directly, for example: ```Python contents = myfile.file.read() ``` /// note | `async` Technical Details
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7K bytes - Click Count (0) -
docs/fr/docs/how-to/custom-docs-ui-assets.md
Supposons que vous souhaitiez utiliser un autre <abbr title="Content Delivery Network - Réseau de diffusion de contenu">CDN</abbr>, par exemple vous voulez utiliser `https://unpkg.com/`. Cela peut être utile si, par exemple, vous vivez dans un pays qui restreint certaines URL. ### Désactiver les docs automatiques { #disable-the-automatic-docs }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 8.7K bytes - Click Count (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial001_01.py
from docs_src.behind_a_proxy.tutorial001_01_py310 import app client = TestClient( app, base_url="https://example.com", follow_redirects=False, ) def test_redirect() -> None: response = client.get("/items") assert response.status_code == 307 assert response.headers["location"] == "https://example.com/items/" def test_no_redirect() -> None: response = client.get("/items/")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 545 bytes - Click Count (0) -
docs/en/docs/tutorial/body-multiple-params.md
/// note Notice that, in this case, the `item` that would be taken from the body is optional. As it has a `None` default value. /// ## Multiple body parameters { #multiple-body-parameters } In the previous example, the *path operations* would expect a JSON body with the attributes of an `Item`, like: ```JSON { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2 } ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 4.8K bytes - Click Count (0) -
docs/ru/docs/tutorial/cors.md
* `allow_origins` - Список источников, на которые разрешено выполнять кросс-доменные запросы. Например, `['https://example.org', 'https://www.example.org']`. Можно использовать `['*']`, чтобы разрешить любые источники. * `allow_origin_regex` - Регулярное выражение для определения источников, на которые разрешено выполнять кросс-доменные запросы. Например, `'https://.*\.example\.org'`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 8.5K bytes - Click Count (0) -
architecture/README.md
that can send requests to a Gradle daemon. Each daemon runs one request at a time. Generally speaking, the daemons only act in response to a request from a client and do not take any action on their own. There are some background actions that the daemon takes, for example monitoring system memory, watching for file changes or cleaning up caches.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jun 12 09:50:57 GMT 2025 - 3.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestResourcesPlugin.java
* if there are any Rest YAML tests present in source, or copied from {@link CopyRestTestsTask} output. X-pack specs must be explicitly * declared to be copied. * <br> * <i>For example:</i> * <pre> * restResources { * restApi { * includeXpack 'enrich' * } * } * </pre>Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jun 23 09:36:58 GMT 2021 - 6.4K bytes - Click Count (0) -
docs/en/docs/tutorial/testing.md
{* ../../docs_src/app_testing/app_a_py310/test_main.py hl[3] *} ...and have the code for the tests just like before. ## Testing: extended example { #testing-extended-example } Now let's extend this example and add more details to see how to test different parts. ### Extended **FastAPI** app file { #extended-fastapi-app-file } Let's continue with the same file structure as before:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.7K bytes - Click Count (0) -
docs_src/schema_extra_example/tutorial005_py310.py
@app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Item = Body( openapi_examples={ "normal": { "summary": "A normal example", "description": "A **normal** item works correctly.", "value": { "name": "Foo", "description": "A very nice Item", "price": 35.4,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Aug 26 18:03:13 GMT 2023 - 1.3K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
#### Non-calculated values These are inappropriate uses of lazy types: ```groovy class Example { Property<String> getSomeProperty() Example() { getSomeProperty().set("value") getSomeProperty().disallowChanges() } } class Example2 { Provider<String> getSomeProperty() {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 10K bytes - Click Count (0)