Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 794 for py (0.02 sec)

  1. docs/ko/docs/advanced/websockets.md

    ///
    
    ## 메시지를 대기하고 전송하기
    
    WebSocket 경로에서 메시지를 대기(`await`)하고 전송할 수 있습니다.
    
    {* ../../docs_src/websockets/tutorial001.py hl[48:52] *}
    
    여러분은 이진 데이터, 텍스트, JSON 데이터를 받을 수 있고 전송할 수 있습니다.
    
    ## 시도해보기
    
    파일 이름이 `main.py`라고 가정하고 응용 프로그램을 실행합니다:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Nov 27 20:03:29 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/first-steps.md

    # Primeiros Passos
    
    O arquivo FastAPI mais simples pode se parecer com:
    
    {* ../../docs_src/first_steps/tutorial001.py *}
    
    Copie o conteúdo para um arquivo `main.py`.
    
    Execute o servidor:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:solid">main.py</u>
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jan 09 20:41:07 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. docs/pt/docs/how-to/custom-docs-ui-assets.md

    Vamos supor que a estrutura de arquivos do seu projeto se pareça com isso:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    ```
    
    Agora crie um diretório para armazenar esses arquivos estáticos.
    
    Sua nova estrutura de arquivos poderia se parecer com isso:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    └── static/
    ```
    
    ### Baixe os arquivos
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Apr 28 18:31:44 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/custom-response.md

    {* ../../docs_src/response_directly/tutorial002.py hl[1,18] *}
    
    ### `HTMLResponse`
    
    Nimmt Text oder Bytes entgegen und gibt eine HTML-Response zurück, wie Sie oben gelesen haben.
    
    ### `PlainTextResponse`
    
    Nimmt Text oder Bytes entgegen und gibt eine Plain-Text-Response zurück.
    
    {* ../../docs_src/custom_response/tutorial005.py hl[2,7,9] *}
    
    ### `JSONResponse`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/custom-response.md

    {* ../../docs_src/response_directly/tutorial002.py hl[1,18] *}
    
    ### `HTMLResponse`
    
    Usa algum texto ou sequência de bytes e retorna uma resposta HTML. Como você leu acima.
    
    ### `PlainTextResponse`
    
    Usa algum texto ou sequência de bytes para retornar uma resposta de texto não formatado.
    
    {* ../../docs_src/custom_response/tutorial005.py hl[2,7,9] *}
    
    ### `JSONResponse`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/path-params-numeric-validations.md

    ///
    
    {* ../../docs_src/path_params_numeric_validations/tutorial002.py hl[7] *}
    
    ////
    
    Pero ten en cuenta que si usas `Annotated`, no tendrás este problema, no importará ya que no estás usando los valores por defecto de los parámetros de la función para `Query()` o `Path()`.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial002_an_py39.py *}
    
    ## Ordena los parámetros como necesites, trucos
    
    /// tip | Consejo
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. docs/vi/docs/python-types.md

    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial009_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ alternative
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009b.py!}
    ```
    
    ////
    
    #### Sử dụng `Union` hay `Optional`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/query-params.md

    # Query-Parameter
    
    Wenn Sie in ihrer Funktion Parameter deklarieren, die nicht Teil der Pfad-Parameter sind, dann werden diese automatisch als „Query“-Parameter interpretiert.
    
    {* ../../docs_src/query_params/tutorial001.py hl[9] *}
    
    Query-Parameter (Deutsch: Abfrage-Parameter) sind die Schlüssel-Wert-Paare, die nach dem `?` in einer URL aufgelistet sind, getrennt durch `&`-Zeichen.
    
    Zum Beispiel sind in der URL:
    
    ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/path-operation-advanced-configuration.md

    👆 🔜 ✔️ ⚒ 💭 👈 ⚫️ 😍 🔠 🛠️.
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial001.py hl[6] *}
    
    ### ⚙️ *➡ 🛠️ 🔢* 📛 {
    
    🚥 👆 💚 ⚙️ 👆 🔗' 🔢 📛 `operationId`Ⓜ, 👆 💪 🔁 🤭 🌐 👫 &amp; 🔐 🔠 *➡ 🛠️* `operation_id` ⚙️ 👫 `APIRoute.name`.
    
    👆 🔜 ⚫️ ⏮️ ❎ 🌐 👆 *➡ 🛠️*.
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial002.py hl[2,12:21,24] *}
    
    /// tip
    
    🚥 👆 ❎ 🤙 `app.openapi()`, 👆 🔜 ℹ `operationId`Ⓜ ⏭ 👈.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. docs/uk/docs/tutorial/first-steps.md

    Найпростіший файл FastAPI може виглядати так:
    
    {* ../../docs_src/first_steps/tutorial001.py *}
    
    Скопіюйте це до файлу `main.py`.
    
    Запустіть сервер:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u>
    <font color="#3465A4">INFO    </font> Using path <font color="#3465A4">main.py</font>
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top