- Sort Score
- Result 10 results
- Languages All
Results 721 - 730 of 1,401 for operations (0.13 sec)
-
docs/en/docs/advanced/dataclasses.md
8. Notice that this *path operation function* uses regular `def` instead of `async def`. As always, in FastAPI you can combine `def` and `async def` as needed. If you need a refresher about when to use which, check out the section _"In a hurry?"_ in the docs about [`async` and `await`](../async.md#in-a-hurry){.internal-link target=_blank}.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:35:06 UTC 2024 - 4K bytes - Viewed (0) -
cni/pkg/iptables/iptables_linux.go
func ReadSysctl(key string) (string, error) { data, err := os.ReadFile(key) if err != nil { return "", err } return strings.TrimSpace(string(data)), nil } func forEachLoopbackRoute(cfg *Config, operation string, f func(*netlink.Route) error) error { loopbackLink, err := netlink.LinkByName("lo") if err != nil { return fmt.Errorf("failed to find 'lo' link: %v", err) } // Set up netlink routes for localhost
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Sep 06 09:44:28 UTC 2024 - 4K bytes - Viewed (0) -
tests/test_response_class_no_mediatype.py
}, }, "200": {"description": "Successful Response"}, }, "summary": "A", "operationId": "a_a_get", } }, "/b": { "get": { "responses": { "500": { "description": "Error",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.3K bytes - Viewed (0) -
docs_src/bigger_applications/app_an/routers/items.py
return {"name": fake_items_db[item_id]["name"], "item_id": item_id} @router.put( "/{item_id}", tags=["custom"], responses={403: {"description": "Operation forbidden"}}, ) async def update_item(item_id: str): if item_id != "plumbus": raise HTTPException( status_code=403, detail="You can only update the item: plumbus" )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 1011 bytes - Viewed (0) -
tests/test_additional_responses_response_class.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.5K bytes - Viewed (0) -
tests/test_response_code_no_body.py
}, }, "204": {"description": "Successful Response"}, }, "summary": "A", "operationId": "a_a_get", } }, "/b": { "get": { "responses": { "204": {"description": "No Content"},
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.2K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005_an_py39.py
} }, }, }, "summary": "Login For Access Token", "operationId": "login_for_access_token_token_post", "requestBody": { "content": { "application/x-www-form-urlencoded": { "schema": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 16.3K bytes - Viewed (0) -
docs/de/docs/tutorial/body-updates.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0) -
tests/test_tuples.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 11.8K bytes - Viewed (0) -
docs/en/docs/reference/parameters.md
# Request Parameters Here's the reference information for the request parameters. These are the special functions that you can put in *path operation function* parameters or dependency functions with `Annotated` to get data from the request. It includes: * `Query()` * `Path()` * `Body()` * `Cookie()` * `Header()` * `Form()` * `File()` You can import them all directly from `fastapi`: ```python
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 603 bytes - Viewed (0)