Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 8971 - 8980 of 9,300 for Use (0.02 seconds)

  1. docs/pt/docs/advanced/advanced-python-types.md

    ```
    
    O `typing` também tem um atalho para declarar que algo pode ser `None`, com `Optional`.
    
    Aqui vai uma dica do meu ponto de vista bem subjetivo:
    
    * 🚨 Evite usar `Optional[SomeType]`
    * Em vez disso ✨ use **`Union[SomeType, None]`** ✨.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/advanced/using-request-directly.md

    同時也代表,如果你直接從 `Request` 物件取得資料(例如讀取 body),FastAPI 不會替它做驗證、轉換或文件化(透過 OpenAPI 為自動化的 API 介面產生文件)。
    
    不過,其他以一般方式宣告的參數(例如以 Pydantic 模型宣告的 body)仍然會被驗證、轉換、加上標註等。
    
    但在某些特定情境下,直接取得 `Request` 物件會很實用。
    
    ## 直接使用 `Request` 物件 { #use-the-request-object-directly }
    
    假設你想在你的 路徑操作函式(path operation function) 中取得用戶端的 IP 位址/主機。
    
    為此,你需要直接存取請求。
    
    {* ../../docs_src/using_request_directly/tutorial001_py310.py hl[1,7:8] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/handling-errors.md

    Les codes d'état dans la plage des 400 signifient qu'il y a eu une erreur côté client.
    
    Vous souvenez-vous de toutes ces erreurs **« 404 Not Found »** (et des blagues) ?
    
    ## Utiliser `HTTPException` { #use-httpexception }
    
    Pour renvoyer au client des réponses HTTP avec des erreurs, vous utilisez `HTTPException`.
    
    ### Importer `HTTPException` { #import-httpexception }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10K bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/security/simple-oauth2.md

    Но так как это распространённый вариант использования, он предоставлен **FastAPI** напрямую, чтобы упростить задачу.
    ///
    
    ### Использование данных формы { #use-the-form-data }
    
    /// tip | Подсказка
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsPathMappingCA.java

    /*
     * Copyright 2012-2025 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 59.9K bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/dependencies/sub-dependencies.md

        - Si l'utilisateur n'a fourni aucune requête `q`, nous utilisons la dernière requête utilisée, que nous avons enregistrée auparavant dans un cookie.
    
    ## Utiliser la dépendance { #use-the-dependency }
    
    Nous pouvons ensuite utiliser la dépendance avec :
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[23] *}
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  7. docs/pt/docs/advanced/middleware.md

    * `allowed_hosts` - Uma lista de nomes de domínio que são permitidos como nomes de host. Domínios com curingas, como `*.example.com`, são suportados para corresponder a subdomínios. Para permitir qualquer nome de host, use `allowed_hosts=["*"]` ou omita o middleware.
    * `www_redirect` - Se definido como True, as requisições para versões sem www dos hosts permitidos serão redirecionadas para suas versões com www. O padrão é `True`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/dependencies/sub-dependencies.md

    * Ela também declara um cookie opcional `last_query`, do tipo `str`.
        * Se o usuário não passou nenhuma consulta `q`, a última consulta é utilizada, que foi salva em um cookie anteriormente.
    
    ## Utilizando a dependência { #use-the-dependency }
    
    Então podemos utilizar a dependência com:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[23] *}
    
    /// info | Informação
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/stream-json-lines.md

    Genelde bununla sizin uğraşmanız gerekmez, otomatik olarak halledilir, okumaya devam edin. 🤓
    
    ///
    
    ## Kullanım Senaryoları { #use-cases }
    
    Bunu bir **AI LLM** servisinden, **loglar**dan veya **telemetri**den ya da **JSON** öğeleri halinde yapılandırılabilen başka tür verilerden akış yapmak için kullanabilirsiniz.
    
    /// tip | İpucu
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  10. docs/de/docs/advanced/response-headers.md

    # Response-Header { #response-headers }
    
    ## Einen `Response`-Parameter verwenden { #use-a-response-parameter }
    
    Sie können einen Parameter vom Typ `Response` in Ihrer *Pfadoperation-Funktion* deklarieren (wie Sie es auch für Cookies tun können).
    
    Und dann können Sie Header in diesem *vorübergehenden* <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr>-Objekt festlegen.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 2.6K bytes
    - Click Count (2)
Back to Top