- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 1,275 for noneOf (0.07 sec)
-
tests/test_extra_routes.py
return {"item_id": item_id, "item": item} @app.head("/items/{item_id}") def head_item(item_id: str): return JSONResponse(None, headers={"x-fastapi-item-id": item_id}) @app.options("/items/{item_id}") def options_item(item_id: str): return JSONResponse(None, headers={"x-fastapi-item-id": item_id}) @app.patch("/items/{item_id}") def patch_item(item_id: str, item: Item):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 13.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/ne.css
width: 300px; height: 50px; padding: 2px; font-family: Verdana, sans-serif; font-size: 10pt; color: #000000; text-decoration: none; } a.plain { display: inline; float: none; width: auto; height: auto; } a.sort { display: block; float: left; width: 100px; height: 15px;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.5K 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) -
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) -
istioctl/pkg/tag/tag_test.go
if tc.error == "" && err != nil { t.Fatalf("expected no error, got %v", err) } if tc.error != "" { if err == nil { t.Fatalf("expected error to include \"%s\" but got none", tc.error) } if !strings.Contains(err.Error(), tc.error) { t.Fatalf("expected \"%s\" in error, got %v", tc.error, err) } } commandOutput := out.String()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 8.5K 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/en/docs/how-to/separate-openapi-schemas.md
</div> This means that it will **always have a value**, it's just that sometimes the value could be `None` (or `null` in JSON). That means that, clients using your API don't have to check if the value exists or not, they can **assume the field will always be there**, but just that in some cases it will have the default value of `None`. The way to describe this in OpenAPI, is to mark that field as **required**, because it will always be there.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 16:43:54 UTC 2024 - 4.2K bytes - Viewed (0) -
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) -
src/cmd/asm/internal/asm/expr_test.go
t.Errorf("#%d: %q: expected error %q; got none", i, test.input, test.error) } continue } if !strings.Contains(err.Error(), test.error) { t.Errorf("#%d: expected error %q; got %q", i, test.error, err) continue } } } func runBadTest(i int, test badExprTest, t *testing.T) (err error) { p := NewParser(nil, nil, nil) // Expression evaluation uses none of these fields of the parser.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 3.2K bytes - Viewed (0) -
tests/test_openapi_examples.py
"value": "item_2", }, }, ), ): return item_id @app.get("/query_examples/") def query_examples( data: Union[str, None] = Query( default=None, examples=[ "json_schema_query1", "json_schema_query2", ], openapi_examples={ "Query One": { "summary": "Query One Summary",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 15:57:43 UTC 2024 - 17.7K bytes - Viewed (0)