- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 1,210 for dpath (0.06 sec)
-
docs/pt/docs/advanced/behind-a-proxy.md
Para conseguir isso, você pode usar a opção de linha de comando `--root-path` assim: <div class="termy"> ```console $ fastapi run main.py --root-path /api/v1 <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> Se você usar Hypercorn, ele também tem a opção `--root-path`. /// note | "Detalhes Técnicos"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 12.3K bytes - Viewed (0) -
internal/config/identity/openid/provider/keycloak.go
func (k *KeycloakProvider) LookupUser(userid string) (User, error) { req, err := http.NewRequest(http.MethodGet, k.adminURL, nil) if err != nil { return User{}, err } req.URL.Path = path.Join(req.URL.Path, "realms", k.realm, "users", userid) k.Lock() accessToken := k.accessToken k.Unlock() if accessToken.AccessToken == "" { return User{}, ErrAccessTokenExpired }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Sun Jul 14 18:12:07 UTC 2024 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/OsddHelper.java
return null; } final String path = LaServletContextUtil.getServletContext().getRealPath(osddPath); if (path == null) { logger.warn("{} was not found.", path); return null; } final File osddFile = new File(path); if (!osddFile.isFile()) { logger.warn("{} was not a file.", path); return null; } return osddFile;
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.7K bytes - Viewed (0) -
docs/extensions/s3zip/examples/boto3/main.py
event_system = s3.meta.events event_system.register_first('before-sign.s3.*', _add_header) # List zip contents response = s3.list_objects_v2(Bucket="your-bucket", Prefix="path/to/file.zip/") print(response) # Download data.csv stored in the zip file
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Aug 04 21:15:45 UTC 2021 - 771 bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
Notice that here as we are using standard `open()` that doesn't support `async` and `await`, we declare the path operation with normal `def`. /// ### `FileResponse` Asynchronously streams a file as the response. Takes a different set of arguments to instantiate than the other response types: * `path` - The file path to the file to stream. * `headers` - Any custom headers to include, as a dictionary.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 12K bytes - Viewed (0) -
docs/metrics/v3.md
## Metric Categories At a high level, metrics are grouped into categories as described in the following sections. The path in each of the tables is relative to the top-level endpoint. Note that the standard GoCollector metrics are not shown. ### Request metrics Metrics about requests served by the current node. | Path | Description | |-----------------|-----------------------------------------------|
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Aug 02 22:30:11 UTC 2024 - 45.2K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial001_an_py310.py
("/items?q=foo&skip=5&limit=30", 200, {"q": "foo", "skip": 5, "limit": 30}), ("/users", 200, {"q": None, "skip": 0, "limit": 100}), ], ) def test_get(path, expected_status, expected_response, client: TestClient): response = client.get(path) assert response.status_code == expected_status assert response.json() == expected_response @needs_py310 def test_openapi_schema(client: TestClient):
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 7.2K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
ItemsService.createItemItemsPost({name: "Plumbus", price: 5}) ``` ...that's because the client generator uses the OpenAPI internal **operation ID** for each *path operation*. OpenAPI requires that each operation ID is unique across all the *path operations*, so FastAPI uses the **function name**, the **path**, and the **HTTP method/operation** to generate that operation ID, because that way it can make sure that the operation IDs are unique.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.7K bytes - Viewed (0) -
tests/test_tutorial/test_background_tasks/test_tutorial001.py
import os from pathlib import Path from fastapi.testclient import TestClient from docs_src.background_tasks.tutorial001 import app client = TestClient(app) def test(): log = Path("log.txt") if log.is_file(): os.remove(log) # pragma: no cover response = client.post("/send-notification/******@****.***") assert response.status_code == 200, response.text
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Jul 09 18:06:12 UTC 2020 - 578 bytes - Viewed (0) -
docs/en/mkdocs.yml
- virtual-environments.md - Tutorial - User Guide: - tutorial/index.md - tutorial/first-steps.md - tutorial/path-params.md - tutorial/query-params.md - tutorial/body.md - tutorial/query-params-str-validations.md - tutorial/path-params-numeric-validations.md - tutorial/query-param-models.md - tutorial/body-multiple-params.md - tutorial/body-fields.md
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Tue Oct 22 20:28:02 UTC 2024 - 10.4K bytes - Viewed (0)