- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 1,574 for example (0.04 sec)
-
docs/distributed/README.md
For example, an 16-server distributed setup with 200 drives per node would continue serving files, up to 4 servers can be offline in default configuration i.e around 800 drives down MinIO would continue to read and write objects.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 8.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
} /** * Returns a string with containing this URL with its username, password, query, and fragment * stripped, and its path replaced with `/...`. For example, redacting * `http://username:password@example.com/path` returns `http://example.com/...`. */ fun redact(): String = newBuilder("/...")!! .username("") .password("") .build() .toString() /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0) -
misc/ios/README
set to the clang wrapper that invokes clang for iOS. For example, this command runs all.bash on the iOS emulator: GOOS=ios GOARCH=amd64 CGO_ENABLED=1 CC_FOR_TARGET=$(pwd)/../misc/ios/clangwrap.sh ./all.bash If CC_FOR_TARGET is not set when the toolchain is built (make.bash or all.bash), CC can be set on the command line. For example, GOOS=ios GOARCH=amd64 CGO_ENABLED=1 CC=$(go env GOROOT)/misc/ios/clangwrap.sh go build
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Dec 29 21:49:26 UTC 2020 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Range.java
* Returns the maximal range {@linkplain #encloses enclosed} by both this range and {@code * connectedRange}, if such a range exists. * * <p>For example, the intersection of {@code [1..5]} and {@code (3..7)} is {@code (3..5]}. The * resulting range may be empty; for example, {@code [1..5)} intersected with {@code [5..7)} * yields the empty range {@code [5..5)}. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 28K bytes - Viewed (0) -
tests/test_tutorial/test_settings/test_tutorial001.py
monkeypatch.setenv("ADMIN_EMAIL", "admin@example.com") mod = importlib.import_module(f"docs_src.settings.{request.param}") return mod.app def test_settings(app): client = TestClient(app) response = client.get("/info") assert response.status_code == 200, response.text assert response.json() == { "app_name": "Awesome API", "admin_email": "admin@example.com", "items_per_user": 50,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 690 bytes - Viewed (0) -
docs/en/docs/how-to/configure-swagger-ui.md
FastAPI converts the configurations to **JSON** to make them compatible with JavaScript, as that's what Swagger UI needs. ## Disable Syntax Highlighting { #disable-syntax-highlighting } For example, you could disable syntax highlighting in Swagger UI. Without changing the settings, syntax highlighting is enabled by default: <img src="/img/tutorial/extending-openapi/image02.png">
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.9K bytes - Viewed (0) -
docs/en/docs/advanced/middleware.md
But FastAPI (actually Starlette) provides a simpler way to do it that makes sure that the internal middlewares handle server errors and custom exception handlers work properly. For that, you use `app.add_middleware()` (as in the example for CORS). ```Python from fastapi import FastAPI from unicorn import UnicornMiddleware app = FastAPI() app.add_middleware(UnicornMiddleware, some_config="rainbow") ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.4K bytes - Viewed (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py
"info": {"title": "FastAPI", "version": "0.1.0"}, "servers": [ { "url": "https://stag.example.com", "description": "Staging environment", }, { "url": "https://prod.example.com", "description": "Production environment", }, ], "paths": {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 1.4K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
**FastAPI** provides a convenience tool to structure your application while keeping all the flexibility. /// info If you come from Flask, this would be the equivalent of Flask's Blueprints. /// ## An example file structure { #an-example-file-structure } Let's say you have a file structure like this: ``` . ├── app │ ├── __init__.py │ ├── main.py │ ├── dependencies.py │ └── routers │ │ ├── __init__.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 18.6K bytes - Viewed (0) -
docs/en/docs/advanced/openapi-webhooks.md
You also define in some way at which **moments** your app will send those requests or events. And **your users** define in some way (for example in a web dashboard somewhere) the **URL** where your app should send those requests.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.9K bytes - Viewed (0)