- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 452 for tabs (0.01 seconds)
-
docs_src/query_param_models/tutorial002_py39.py
class FilterParams(BaseModel): model_config = {"extra": "forbid"} limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/") async def read_items(filter_query: FilterParams = Query()):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 462 bytes - Click Count (0) -
.github/workflows/publish.yml
name: publish on: push: tags: - '**' env: GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false" jobs: publish: runs-on: macos-15 steps: - uses: actions/checkout@v6 - uses: actions/setup-java@v5 with: distribution: 'zulu' java-version-file: .github/workflows/.java-version - run: ./gradlew publishCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Nov 21 15:26:25 GMT 2025 - 784 bytes - Click Count (0) -
docs_src/body_nested_models/tutorial006_py310.py
app = FastAPI() class Image(BaseModel): url: HttpUrl name: str class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() images: list[Image] | None = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item): results = {"item_id": item_id, "item": item}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 475 bytes - Click Count (0) -
docs/ja/docs/environment-variables.md
環境変数は**シェル(ターミナル)**内で**作成**して使用でき、それらにPythonは不要です。 //// tab | Linux, macOS, Windows Bash <div class="termy"> ```console // You could create an env var MY_NAME with $ export MY_NAME="Wade Wilson" // Then you could use it with other programs, like $ echo "Hello $MY_NAME" Hello Wade Wilson ``` </div> //// //// tab | Windows PowerShell <div class="termy"> ```console
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Jan 27 15:39:04 GMT 2025 - 9.4K bytes - Click Count (0) -
docs_src/body_nested_models/tutorial004_py39.py
class Image(BaseModel): url: str name: str class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: set[str] = set() image: Union[Image, None] = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item): results = {"item_id": item_id, "item": item}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 499 bytes - Click Count (0) -
docs/ko/docs/tutorial/testing.md
여러 다른 오류를 반환할 수 있는 `POST` 작업이 있습니다. 두 *경로 작업* 모두 `X-Token` 헤더를 요구합니다. //// tab | Python 3.10+ ```Python {!> ../../docs_src/app_testing/app_b_an_py310/main.py!} ``` //// //// tab | Python 3.9+ ```Python {!> ../../docs_src/app_testing/app_b_an_py39/main.py!} ``` //// //// tab | Python 3.8+ ```Python {!> ../../docs_src/app_testing/app_b_an/main.py!} ```Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 7.6K bytes - Click Count (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial005.py
} }, "summary": "Read Items", "operationId": "read_items_items__get", "x-aperture-labs-portal": "blue", } } },Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1K bytes - Click Count (0) -
docs_src/response_model/tutorial001_py39.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: list[str] = [] @app.post("/items/", response_model=Item) async def create_item(item: Item) -> Any: return item @app.get("/items/", response_model=list[Item]) async def read_items() -> Any:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Jan 07 13:45:48 GMT 2023 - 556 bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
override fun <T> tag(type: Class<out T>): T? = tag(type.kotlin) override fun <T : Any> tag( type: KClass<T>, computeIfAbsent: () -> T, ): T = tags.computeIfAbsent(type, computeIfAbsent) override fun <T : Any> tag( type: Class<T>, computeIfAbsent: () -> T, ): T = tags.computeIfAbsent(type.kotlin, computeIfAbsent)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 19.7K bytes - Click Count (0) -
src/cmd/api/main_test.go
pkgTags = map[string][]string{} // map import dir to list of relevant tags ) // tagKey returns the tag-based key to use in the pkgCache. // It is a comma-separated string; the first part is dir, the rest tags. // The satisfied tags are derived from context but only those that // matter (the ones listed in the tags argument plus GOOS and GOARCH) are used. // The tags list, which came from go/build's Package.AllTags, // is known to be sorted.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Feb 20 03:25:33 GMT 2025 - 31.4K bytes - Click Count (0)