Search Options

Results per page
Sort
Preferred Languages
Advance

Results 811 - 820 of 1,205 for itens (0.03 sec)

  1. docs/fr/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial011.py hl[9] *}
    
    Ce qui fait qu'avec une URL comme :
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    vous recevriez les valeurs des multiples paramètres de requête `q` (`foo` et `bar`) dans une `list` Python au sein de votre fonction de **path operation**, dans le paramètre de fonction `q`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/handling-errors.md

    ### A response resultante { #the-resulting-response }
    
    Se o cliente faz uma requisição para `http://example.com/items/foo` (um `item_id` `"foo"`), esse cliente receberá um HTTP status code 200, e uma resposta JSON:
    
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. docs/ru/docs/advanced/generate-clients.md

    Во многих случаях ваше приложение FastAPI будет больше, и вы, вероятно, будете использовать теги, чтобы разделять разные группы *операций пути*.
    
    Например, у вас может быть раздел для **items** и другой раздел для **users**, и они могут быть разделены тегами:
    
    {* ../../docs_src/generate_clients/tutorial002_py39.py hl[21,26,34] *}
    
    ### Генерация TypeScript‑клиента с тегами { #generate-a-typescript-client-with-tags }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/handling-errors.md

    ### El response resultante { #the-resulting-response }
    
    Si el cliente solicita `http://example.com/items/foo` (un `item_id` `"foo"`), ese cliente recibirá un código de estado HTTP de 200, y un response JSON de:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. docs/en/docs/css/custom.css

      color: #fff;
    }
    
    a.announce-link:hover {
      color: var(--md-accent-fg-color);
    }
    
    .announce-wrapper {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      align-items: center;
    }
    
    .announce-wrapper #announce-left div.item {
      display: none;
    }
    
    .announce-wrapper #announce-right {
      display: none;
    }
    
    .announce-wrapper #announce-right div.item {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Nov 28 15:55:15 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. docs_src/dependencies/tutorial008d_py39.py

        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("We don't swallow the internal error here, we raise again 😎")
            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: str = Depends(get_username)):
        if item_id == "portal-gun":
            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
            )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 694 bytes
    - Viewed (0)
  7. docs/de/llm-prompt.md

            “Hello Universe”
            "He said: 'Hello'"
            “my name is ‘Nils’”
            `"__main__"`
            `"items"`
            »»»
    
        Result (German):
    
            «««
            „Hallo Welt“
            „Hallo Universum“
            „Er sagte: ‚Hallo‘“
            „Mein Name ist ‚Nils‘“
            `"__main__"`
            `"items"`
            »»»
    
    
    ### Ellipsis
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 09:39:53 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/query-params-str-validations.md

    当你使用 `Query` 显式地定义查询参数时,你还可以声明它去接收一组值,或换句话来说,接收多个值。
    
    例如,要声明一个可在 URL 中出现多次的查询参数 `q`,你可以这样写:
    
    {* ../../docs_src/query_params_str_validations/tutorial011.py hl[9] *}
    
    然后,输入如下网址:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    你会在*路径操作函数*的*函数参数* `q` 中以一个 Python `list` 的形式接收到*查询参数* `q` 的多个值(`foo` 和 `bar`)。
    
    因此,该 URL 的响应将会是:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. docs_src/dependencies/tutorial008d_an_py39.py

        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("We don't swallow the internal error here, we raise again 😎")
            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 734 bytes
    - Viewed (0)
  10. docs_src/dependencies/tutorial012_an_py39.py

            raise HTTPException(status_code=400, detail="X-Key header invalid")
        return x_key
    
    
    app = FastAPI(dependencies=[Depends(verify_token), Depends(verify_key)])
    
    
    @app.get("/items/")
    async def read_items():
        return [{"item": "Portal Gun"}, {"item": "Plumbus"}]
    
    
    @app.get("/users/")
    async def read_users():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 746 bytes
    - Viewed (0)
Back to top