- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 2,076 for none (0.03 seconds)
-
docs_src/query_params_str_validations/tutorial006c_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 15 16:23:59 GMT 2025 - 261 bytes - Click Count (0) -
docs/zh-hant/docs/python-types.md
``` 這表示 `item` 可以是 `int` 或 `str`。 #### 可能為 `None` { #possibly-none } 你可以宣告某個值可以是某個型別(例如 `str`),但它也可能是 `None`。 //// tab | Python 3.10+ ```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial009_py310.py!} ``` //// 使用 `str | None` 而不是單純的 `str`,可以讓編輯器幫你偵測錯誤,例如你以為某個值一定是 `str`,但它其實也可能是 `None`。 ### 類別作為型別 { #classes-as-types } 你也可以用類別來宣告變數的型別。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 10.7K bytes - Click Count (0) -
docs_src/metadata/tutorial003_py310.py
from fastapi import FastAPI app = FastAPI(docs_url="/documentation", redoc_url=None) @app.get("/items/") async def read_items():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 161 bytes - Click Count (0) -
docs/ko/docs/tutorial/body-updates.md
/// tip | 팁 동일한 기법을 HTTP `PUT` 작업에서도 실제로 사용할 수 있습니다. 하지만 여기의 예시는 이런 사용 사례를 위해 만들어진 `PATCH`를 사용합니다. /// /// note | 참고 입력 모델은 여전히 검증된다는 점에 유의하세요. 따라서 모든 속성을 생략할 수 있는 부분 업데이트를 받으려면, 모든 속성이 optional로 표시된(기본값을 가지거나 `None`을 기본값으로 가지는) 모델이 필요합니다. **업데이트**를 위한 “모든 값이 optional인” 모델과, **생성**을 위한 “필수 값이 있는” 모델을 구분하려면 [추가 모델](extra-models.md)에 설명된 아이디어를 사용할 수 있습니다.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 4.8K bytes - Click Count (0) -
docs/en/docs/tutorial/metadata.md
## Docs URLs { #docs-urls } You can configure the two documentation user interfaces included: * **Swagger UI**: served at `/docs`. * You can set its URL with the parameter `docs_url`. * You can disable it by setting `docs_url=None`. * **ReDoc**: served at `/redoc`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java
* Gets the installation Toolchains source. * * @return the installation Toolchains source or {@code null} if none */ @Nonnull Optional<Source> getInstallationToolchainsSource(); /** * Gets the user Toolchains source. * * @return the user Toolchains source or {@code null} if none */ @Nonnull Optional<Source> getUserToolchainsSource(); @NonnullCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 6.3K bytes - Click Count (0) -
docs_src/custom_response/tutorial009c_py310.py
import orjson from fastapi import FastAPI, Response app = FastAPI() class CustomORJSONResponse(Response): media_type = "application/json" def render(self, content: Any) -> bytes: assert orjson is not None, "orjson must be installed" return orjson.dumps(content, option=orjson.OPT_INDENT_2) @app.get("/", response_class=CustomORJSONResponse) async def main():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 451 bytes - Click Count (0) -
ci/official/utilities/generate_index_html.sh
<li>Current HEAD Piper Changelist, if any: cl/${KOKORO_PIPER_CHANGELIST:-not available}</li> <li>Pull Request Number, if any: ${KOKORO_GITHUB_PULL_REQUEST_NUMBER_tensorflow:- none}</li> <li>Pull Request Link, if any: <a href="$KOKORO_GITHUB_PULL_REQUEST_URL_tensorflow">${KOKORO_GITHUB_PULL_REQUEST_URL_tensorflow:-none}</a></li> <li>Commit: $KOKORO_GIT_COMMIT_tensorflow</li> </ul> <h2>Googlers-Only Links</h2> <ul>
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Sep 29 20:26:13 GMT 2023 - 2.3K bytes - Click Count (0) -
tests/test_regex_deprecated_params.py
def get_client(): app = FastAPI() with pytest.warns(FastAPIDeprecationWarning): @app.get("/items/") async def read_items( q: Annotated[str | None, Query(regex="^fixedquery$")] = None, ): if q: return f"Hello {q}" else: return "Hello World" client = TestClient(app) return client @needs_py310
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 5.1K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial006c_an_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 15 16:23:59 GMT 2025 - 301 bytes - Click Count (0)