- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 1,226 for itens (0.04 sec)
-
docs_src/security/tutorial005_an.py
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto") oauth2_scheme = OAuth2PasswordBearer( tokenUrl="token", scopes={"me": "Read information about the current user.", "items": "Read items."}, ) app = FastAPI() def verify_password(plain_password, hashed_password): return pwd_context.verify(plain_password, hashed_password) def get_password_hash(password):
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 5.3K bytes - Viewed (0) -
tests/test_validate_response_recursive/app_pv2.py
name: str RecursiveSubitemInSubmodel.model_rebuild() RecursiveItemViaSubmodel.model_rebuild() @app.get("/items/recursive", response_model=RecursiveItem) def get_recursive(): return {"name": "item", "sub_items": [{"name": "subitem", "sub_items": []}]} @app.get("/items/recursive-submodel", response_model=RecursiveItemViaSubmodel) def get_recursive_submodel(): return { "name": "item",
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 1.2K bytes - Viewed (0) -
src/main/webapp/WEB-INF/orig/view/searchResults.jsp
<c:if test="${facetResponse != null}"> <c:forEach var="fieldData" items="${facetResponse.fieldList}"> <c:if test="${fieldData.name == 'label' && fieldData.valueCountMap.size() > 0}"> <ul class="list-group mb-2"> <li class="list-group-item text-uppercase"><la:message key="labels.facet_label_title" /></li> <c:forEach var="countEntry" items="${fieldData.valueCountMap}"> <c:if
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Jun 09 04:29:42 UTC 2022 - 9K bytes - Viewed (0) -
tests/test_tutorial/test_templates/test_tutorial001.py
from docs_src.templates.tutorial001 import app client = TestClient(app) response = client.get("/items/foo") assert response.status_code == 200, response.text assert ( b'<h1><a href="http://testserver/items/foo">Item ID: foo</a></h1>' in response.content ) response = client.get("/static/styles.css") assert response.status_code == 200, response.text
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Jan 11 22:25:37 UTC 2024 - 910 bytes - Viewed (0) -
docs/zh/docs/index.md
</details> ### 检查 使用浏览器访问 <a href="http://127.0.0.1:8000/items/5?q=somequery" class="external-link" target="_blank">http://127.0.0.1:8000/items/5?q=somequery</a>。 你将会看到如下 JSON 响应: ```JSON {"item_id": 5, "q": "somequery"} ``` 你已经创建了一个具有以下功能的 API: * 通过 _路径_ `/` 和 `/items/{item_id}` 接受 HTTP 请求。 * 以上 _路径_ 都接受 `GET` 操作(也被称为 HTTP _方法_)。 * `/items/{item_id}` _路径_ 有一个 _路径参数_ `item_id` 并且应该为 `int` 类型。
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 18.2K bytes - Viewed (0) -
docs/vi/docs/index.md
### Kiểm tra Mở trình duyệt của bạn tại <a href="http://127.0.0.1:8000/items/5?q=somequery" class="external-link" target="_blank">http://127.0.0.1:8000/items/5?q=somequery</a>. Bạn sẽ thấy một JSON response: ```JSON {"item_id": 5, "q": "somequery"} ``` Bạn đã sẵn sàng để tạo một API như sau: * Nhận HTTP request với _đường dẫn_ `/` và `/items/{item_id}`.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 21.9K bytes - Viewed (0) -
scripts/playwright/separate_openapi_schemas/image02.py
# Update the viewport manually context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_text("GET/items/Read Items").click() page.get_by_role("button", name="Try it out").click() page.get_by_role("button", name="Execute").click() # Manually add the screenshot page.screenshot(
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Sep 13 09:14:46 UTC 2024 - 1K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-params.md
``` O valor do parâmetro que foi passado à `item_id` será passado para a sua função como o argumento `item_id`. Então, se você rodar este exemplo e for até <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, você verá a seguinte resposta: ```JSON {"item_id":"foo"} ``` ## Parâmetros da rota com tipos
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.8K bytes - Viewed (0) -
tests/test_custom_swagger_ui_redirect.py
from fastapi import FastAPI from fastapi.testclient import TestClient swagger_ui_oauth2_redirect_url = "/docs/redirect" app = FastAPI(swagger_ui_oauth2_redirect_url=swagger_ui_oauth2_redirect_url) @app.get("/items/") async def read_items(): return {"id": "foo"} client = TestClient(app) def test_swagger_ui(): response = client.get("/docs") assert response.status_code == 200, response.text
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Wed Apr 08 04:37:38 UTC 2020 - 1.1K bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial006b.py
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 267 bytes - Viewed (0)