- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 4,225 for None (0.9 sec)
-
docs_src/custom_docs_ui/tutorial001.py
from fastapi import FastAPI from fastapi.openapi.docs import ( get_redoc_html, get_swagger_ui_html, get_swagger_ui_oauth2_redirect_html, ) app = FastAPI(docs_url=None, redoc_url=None) @app.get("/docs", include_in_schema=False) async def custom_swagger_ui_html(): return get_swagger_ui_html( openapi_url=app.openapi_url, title=app.title + " - Swagger UI",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 1.1K bytes - Viewed (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:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 15 22:31:16 UTC 2024 - 1.1K bytes - Viewed (0) -
internal/handlers/proxy_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 22 00:56:55 UTC 2023 - 3.2K bytes - Viewed (0) -
common/scripts/tracing.sh
"ci.pipeline.run.id=${PROW_JOB_ID},"\ "ci.pipeline.run.repo=${REPO_OWNER:-unknown}/${REPO_NAME:-unknown},"\ "ci.pipeline.run.base=${PULL_BASE_REF:-none},"\ "ci.pipeline.run.pull_number=${PULL_NUMBER:-none},"\ "ci.pipeline.run.pull_sha=${PULL_PULL_SHA:-${PULL_BASE_SHA:-none}}" } # Usage: tracing::run <span name> [command ...] function tracing::run() {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jul 28 15:25:47 UTC 2023 - 4.1K bytes - Viewed (0) -
docs/nl/docs/python-types.md
`Optional[EenType]` is eigenlijk een snelkoppeling voor `Union[EenType, None]`, ze zijn equivalent. Dit betekent ook dat je in Python 3.10 `EenType | None` kunt gebruiken: //// tab | Python 3.10+ ```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial009_py310.py!}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.3K bytes - Viewed (0) -
docs/ko/docs/tutorial/response-model.md
## 응답 모델 인코딩 매개변수 응답 모델은 아래와 같이 기본값을 가질 수 있습니다: ```Python hl_lines="11 13-14" {!../../docs_src/response_model/tutorial004.py!} ``` * `description: Optional[str] = None`은 기본값으로 `None`을 갖습니다. * `tax: float = 10.5`는 기본값으로 `10.5`를 갖습니다. * `tags: List[str] = []` 빈 리스트의 기본값으로: `[]`. 그러나 실제로 저장되지 않았을 경우 결과에서 값을 생략하고 싶을 수 있습니다.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CharMatcherTest.java
assertSame(CharMatcher.any(), CharMatcher.none().negate()); assertSame(CharMatcher.none(), CharMatcher.any().negate()); assertSame(WHATEVER, CharMatcher.any().and(WHATEVER)); assertSame(CharMatcher.any(), CharMatcher.any().or(WHATEVER)); assertSame(CharMatcher.none(), CharMatcher.none().and(WHATEVER)); assertSame(WHATEVER, CharMatcher.none().or(WHATEVER)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 18:32:41 UTC 2024 - 30.1K bytes - Viewed (0) -
tests/test_tutorial/test_cookie_param_models/test_tutorial001.py
c.cookies.set("session_id", "123") response = c.get("/items/") assert response.status_code == 200 assert response.json() == { "session_id": "123", "fatebook_tracker": None, "googall_tracker": None, } def test_cookie_param_model_invalid(client: TestClient): response = client.get("/items/") assert response.status_code == 422 assert response.json() == snapshot(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 7.4K bytes - Viewed (0) -
src/main/webapp/css/admin/adminlte.min.css.map
(prefers-reduced-motion: reduce) {\n .btn {\n transition: none;\n }\n}\n\n.btn:hover {\n color: #212529;\n text-decoration: none;\n}\n\n.btn:focus, .btn.focus {\n outline: 0;\n box-shadow: none;\n}\n\n.btn.disabled, .btn:disabled {\n opacity: 0.65;\n box-shadow: none;\n}\n\n.btn:not(:disabled):not(.disabled) {\n cursor: pointer;\n}\n\n.btn:not(:disabled):not(.disabled):active, .btn:not(:disabled):not(.disabled).active {\n box-shadow: none;\n}\n\na.btn.disabled,\nfieldset:disabled a.btn {\n pointer-events:...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 3.7M bytes - Viewed (1) -
docs_src/app_testing/app_b_an/main.py
"bar": {"id": "bar", "title": "Bar", "description": "The bartenders"}, } app = FastAPI() class Item(BaseModel): id: str title: str description: Union[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:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 15 22:31:16 UTC 2024 - 1.2K bytes - Viewed (0)