Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 1,171 for item5 (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/query_params_str_validations/tutorial002_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[str | None, Query(max_length=50)] = None):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 309 bytes
    - Click Count (0)
  2. docs/de/docs/advanced/security/oauth2-scopes.md

    Und wenn Sie den Scope `me`, aber nicht den Scope `items` auswählen, können Sie auf `/users/me/` zugreifen, aber nicht auf `/users/me/items/`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 15.7K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/path-params.md

    O valor do parâmetro de path `item_id` será passado para a sua função como o argumento `item_id`.
    
    Então, se você executar este exemplo e acessar [http://127.0.0.1:8000/items/foo](http://127.0.0.1:8000/items/foo), você verá uma resposta:
    
    ```JSON
    {"item_id":"foo"}
    ```
    
    ## Parâmetros de path com tipos { #path-parameters-with-types }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/path-params.md

    运行示例并访问 [http://127.0.0.1:8000/items/3](http://127.0.0.1:8000/items/3),返回的响应如下:
    
    ```JSON
    {"item_id":3}
    ```
    
    /// check | 检查
    
    注意,函数接收并返回的值是 `3`( `int`),不是 `"3"`(`str`)。
    
    **FastAPI** 通过类型声明自动进行请求的<dfn title="将来自 HTTP 请求中的字符串转换为 Python 数据类型">解析</dfn>。
    
    ///
    
    ## 数据校验 { #data-validation }
    
    通过浏览器访问 [http://127.0.0.1:8000/items/foo](http://127.0.0.1:8000/items/foo),接收如下 HTTP 错误信息:
    
    ```JSON
    {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  5. docs/tr/docs/advanced/security/oauth2-scopes.md

    Hiç scope seçmezseniz "authenticated" olursunuz; ancak `/users/me/` veya `/users/me/items/`'e erişmeye çalıştığınızda, yeterli izniniz olmadığını söyleyen bir hata alırsınız. Yine de `/status/`'a erişebilirsiniz.
    
    `me` scope'unu seçip `items` scope'unu seçmezseniz `/users/me/`'a erişebilirsiniz ama `/users/me/items/`'e erişemezsiniz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  6. src/main/resources/fess_message_nl.properties

    constraints.URL.message = {item} is geen geldige URL.
    constraints.Required.message = {item} is vereist.
    constraints.TypeInteger.message = {item} moet een getal zijn.
    constraints.TypeLong.message = {item} moet een getal zijn.
    constraints.TypeFloat.message = {item} moet een getal zijn.
    constraints.TypeDouble.message = {item} moet een getal zijn.
    constraints.TypeAny.message = {item} kan niet worden geconverteerd naar {propertyType}.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  7. src/main/resources/fess_message_ru.properties

    constraints.URL.message = {item} - неверный URL-адрес.
    constraints.Required.message = {item} обязательно.
    constraints.TypeInteger.message = {item} должно быть числом.
    constraints.TypeLong.message = {item} должно быть числом.
    constraints.TypeFloat.message = {item} должно быть числом.
    constraints.TypeDouble.message = {item} должно быть числом.
    constraints.TypeAny.message = {item} не может быть преобразовано в {propertyType}.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  8. docs/ru/docs/tutorial/dependencies/index.md

    Например, у вас есть 4 API-эндпоинта (*операции пути*):
    
    * `/items/public/`
    * `/items/private/`
    * `/users/{user_id}/activate`
    * `/items/pro/`
    
    тогда вы можете добавить разные требования к правам для каждого из них только с помощью зависимостей и подзависимостей:
    
    ```mermaid
    graph TB
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 15.4K bytes
    - Click Count (1)
  9. docs_src/security/tutorial005_py310.py

    password_hash = PasswordHash.recommended()
    
    DUMMY_HASH = password_hash.hash("dummypassword")
    
    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 password_hash.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  10. compat/maven-builder-support/src/site/site.xml

      <edit>${project.scm.url}</edit>
    
      <body>
        <menu name="Overview">
          <item name="Introduction" href="index.html"/>
          <item name="Javadocs" href="apidocs/index.html"/>
          <item name="Source Xref" href="xref/index.html"/>
          <!--item name="FAQ" href="faq.html"/-->
        </menu>
      </body>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top