- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 2,076 for none (0.03 seconds)
-
fastapi/openapi/docs.py
oauth2_redirect_url: Annotated[ str | None, Doc( """ The OAuth2 redirect URL, it is normally automatically handled by FastAPI. Read more about it in the [FastAPI docs for Custom Docs UI Static Assets](https://fastapi.tiangolo.com/how-to/custom-docs-ui-assets/) """ ), ] = None, init_oauth: Annotated[
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 24 09:28:10 GMT 2026 - 12.1K bytes - Click Count (0) -
docs_src/dataclasses_/tutorial003_py310.py
from dataclasses import field # (1) from fastapi import FastAPI from pydantic.dataclasses import dataclass # (2) @dataclass class Item: name: str description: str | None = None @dataclass class Author: name: str items: list[Item] = field(default_factory=list) # (3) app = FastAPI() @app.post("/authors/{author_id}/items/", response_model=Author) # (4)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 1.3K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/body-multiple-params.md
首先,當然你可以自由混用 `Path`、`Query` 與請求 Body 參數的宣告,**FastAPI** 會知道該怎麼做。 你也可以將 Body 參數宣告為可選,方法是將預設值設為 `None`: {* ../../docs_src/body_multiple_params/tutorial001_an_py310.py hl[18:20] *} /// note | 注意 請注意,在此情況下,從 body 取得的 `item` 是可選的,因為它的預設值是 `None`。 /// ## 多個 Body 參數 { #multiple-body-parameters } 在前一個範例中,路徑操作(path operation)會期望一個包含 `Item` 屬性的 JSON 主體,例如: ```JSON {Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 4.6K bytes - Click Count (0) -
docs_src/app_testing/app_b_an_py310/main.py
"bar": {"id": "bar", "title": "Bar", "description": "The bartenders"}, } app = FastAPI() class Item(BaseModel): id: str title: str description: str | None = None @app.get("/items/{item_id}", response_model=Item) async def read_main(item_id: str, x_token: Annotated[str, Header()]): if x_token != fake_secret_token:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 13:32:24 GMT 2026 - 1.1K bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial005.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/RequestParamTest.java
new RequestParam[] { RequestParam.NONE, RequestParam.NO_TIMEOUT, RequestParam.NO_RETRY, RequestParam.RETAIN_PAYLOAD }, values, "values() order should match declaration order"); } // Happy path: valueOf resolves each constant name; toString equals name; ordinal is stable @ParameterizedTest @ValueSource(strings = { "NONE", "NO_TIMEOUT", "NO_RETRY", "RETAIN_PAYLOAD" })
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
helm/minio/README.md
```bash helm install --set buckets[0].name=bucket1,buckets[0].policy=none,buckets[0].purge=false minio/minio ``` Description of the configuration parameters used above - - `buckets[].name` - name of the bucket to create, must be a string with length > 0 - `buckets[].policy` - can be one of none|download|upload|public - `buckets[].purge` - purge if bucket exists already
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 10.9K bytes - Click Count (0) -
tests/test_jsonable_encoder.py
@property def __dict__(self): raise NotImplementedError() class RoleEnum(Enum): admin = "admin" normal = "normal" class ModelWithConfig(BaseModel): role: RoleEnum | None = None model_config = {"use_enum_values": True} class ModelWithAlias(BaseModel): foo: str = Field(alias="Foo") class ModelWithDefault(BaseModel): foo: str = ... # type: ignoreCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java
* Returns the range of this constraint, or {@code null} if none. * <p> * Note: only one, this method or {@link #getRecommendedVersion()} method must return non-{@code null} value. */ @Nullable VersionRange getVersionRange(); /** * Returns the recommended version of this constraint, or {@code null} if none. * <p>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java
* Gets the installation settings source. * * @return the installation settings source or {@code null} if none */ @Nonnull Optional<Source> getInstallationSettingsSource(); /** * Gets the project settings source. * * @return the project settings source or {@code null} if none */ @Nonnull Optional<Source> getProjectSettingsSource(); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 9.4K bytes - Click Count (0)