Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 793 for py$ (0.01 sec)

  1. docs/en/docs/tutorial/security/first-steps.md

    ## How it looks { #how-it-looks }
    
    Let's first just use the code and see how it works, and then we'll come back to understand what's happening.
    
    ## Create `main.py` { #create-main-py }
    
    Copy the example in a file `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py39.py *}
    
    ## Run it { #run-it }
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial005.py hl[17] *}
    
    #### Récupérer la *valeur de l'énumération*
    
    Vous pouvez obtenir la valeur réel d'un membre (une chaîne de caractères ici), avec `model_name.value`, ou en général, `votre_membre_d'enum.value` :
    
    {* ../../docs_src/path_params/tutorial005.py hl[20] *}
    
    /// tip | Astuce
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/body-multiple-params.md

    E você também pode declarar parâmetros de corpo como opcionais, definindo o valor padrão com `None`:
    
    {* ../../docs_src/body_multiple_params/tutorial001_py310.py hl[17:19] *}
    
    /// note | Nota
    
    Repare que, neste caso, o `item` que seria capturado a partir do corpo é opcional. Visto que ele possui `None` como valor padrão.
    
    ///
    
    ## Múltiplos parâmetros de corpo
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/body.md

    Primero, necesitas importar `BaseModel` de `pydantic`:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[2] *}
    
    ## Crea tu modelo de datos
    
    Luego, declaras tu modelo de datos como una clase que hereda de `BaseModel`.
    
    Usa tipos estándar de Python para todos los atributos:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/middleware.md

    {* ../../docs_src/advanced_middleware/tutorial001.py hl[2,6] *}
    
    ## `TrustedHostMiddleware`
    
    Erzwingt, dass alle eingehenden Requests einen korrekt gesetzten `Host`-Header haben, um sich vor HTTP-Host-Header-Angriffen zu schützen.
    
    {* ../../docs_src/advanced_middleware/tutorial002.py hl[2,6:8] *}
    
    Die folgenden Argumente werden unterstützt:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. docs/ko/docs/how-to/configure-swagger-ui.md

    {* ../../docs_src/configure_swagger_ui/tutorial001.py hl[3] *}
    
    ...그럼 Swagger UI에서 더 이상 구문 강조 기능이 표시되지 않습니다:
    
    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## 테마 변경
    
    동일한 방식으로 `"syntaxHighlight.theme"` 키를 사용하여 구문 강조 테마를 설정할 수 있습니다 (중간에 점이 포함된 것을 참고하십시오).
    
    {* ../../docs_src/configure_swagger_ui/tutorial002.py hl[3] *}
    
    이 설정은 구문 강조 색상 테마를 변경합니다:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 12:25:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. docs/uk/docs/tutorial/testing.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    У файлі `main.py` знаходиться Ваш застосунок **FastAPI** :
    
    {* ../../docs_src/app_testing/main.py *}
    
    ### Файл тестування
    
    Ви можете створити файл `test_main.py` з Вашими тестами. Він може знаходитися в тому ж пакеті Python (у тій самій директорії з файлом `__init__.py`):
    
    
    ``` hl_lines="5"
    .
    ├── app
    │   ├── __init__.py
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 28 14:12:19 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. docs/pt/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial002.py hl[13,15] *}
    
    Se uma exceção ocorrer, a instância `Request` ainda estará em escopo, então podemos ler e fazer uso do corpo da requisição ao lidar com o erro:
    
    {* ../../docs_src/custom_request_and_route/tutorial002.py hl[16:18] *}
    
    ## Classe `APIRoute` personalizada em um router
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/testing.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    In the file `main.py` you have your **FastAPI** app:
    
    
    {* ../../docs_src/app_testing/main.py *}
    
    ### Testing file { #testing-file }
    
    Then you could have a file `test_main.py` with your tests. It could live on the same Python package (the same directory with a `__init__.py` file):
    
    ``` hl_lines="5"
    .
    ├── app
    │   ├── __init__.py
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/request-files.md

    {* ../../docs_src/request_files/tutorial001_02.py hl[9,17] *}
    
    ## `UploadFile` ⏮️ 🌖 🗃
    
    👆 💪 ⚙️ `File()` ⏮️ `UploadFile`, 🖼, ⚒ 🌖 🗃:
    
    {* ../../docs_src/request_files/tutorial001_03.py hl[13] *}
    
    ## 💗 📁 📂
    
    ⚫️ 💪 📂 📚 📁 🎏 🕰.
    
    👫 🔜 👨‍💼 🎏 "📨 🏑" 📨 ⚙️ "📨 💽".
    
    ⚙️ 👈, 📣 📇 `bytes` ⚖️ `UploadFile`:
    
    {* ../../docs_src/request_files/tutorial002.py hl[10,15] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top