Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 794 for py (0.01 sec)

  1. docs/en/docs/tutorial/query-params.md

    # Query Parameters { #query-parameters }
    
    When you declare other function parameters that are not part of the path parameters, they are automatically interpreted as "query" parameters.
    
    {* ../../docs_src/query_params/tutorial001.py hl[9] *}
    
    The query is the set of key-value pairs that go after the `?` in a URL, separated by `&` characters.
    
    For example, in the URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial001_py310.py hl[1] *}
    
    ## Declare metadados
    
    Você pode declarar todos os parâmetros da mesma maneira que na `Query`.
    
    Por exemplo para declarar um valor de metadado `title` para o parâmetro de rota `item_id` você pode digitar:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_py310.py hl[8] *}
    
    /// note | Nota
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial005.py hl[16] *}
    
    ### 문서 확인
    
    *경로 매개변수*에 사용할 수 있는 값은 미리 정의되어 있으므로 대화형 문서에서 잘 표시됩니다:
    
    <img src="/img/tutorial/path-params/image03.png">
    
    ### 파이썬 *열거형*으로 작업하기
    
    *경로 매개변수*의 값은 *열거형 멤버*가 됩니다.
    
    #### *열거형 멤버* 비교
    
    열거형 `ModelName`의 *열거형 멤버*를 비교할 수 있습니다:
    
    {* ../../docs_src/path_params/tutorial005.py hl[17] *}
    
    #### *열거형 값* 가져오기
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    🕴 📟 ⏭ &amp; 🔌 `yield` 📄 🛠️ ⏭ 📨 📨:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[2:4] *}
    
    🌾 💲 ⚫️❔ 💉 🔘 *➡ 🛠️* &amp; 🎏 🔗:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[4] *}
    
    📟 📄 `yield` 📄 🛠️ ⏮️ 📨 ✔️ 🚚:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[5:6] *}
    
    /// tip
    
    👆 💪 ⚙️ `async` ⚖️ 😐 🔢.
    
    **FastAPI** 🔜 ▶️️ 👜 ⏮️ 🔠, 🎏 ⏮️ 😐 🔗.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. docs/en/docs/environment-variables.md

    <div class="termy">
    
    ```console
    // Here we don't set the env var yet
    $ python main.py
    
    // As we didn't set the env var, we get the default value
    
    Hello World from Python
    
    // But if we create an environment variable first
    $ export MY_NAME="Wade Wilson"
    
    // And then call the program again
    $ python main.py
    
    // Now it can read the environment variable
    
    Hello Wade Wilson from Python
    ```
    
    </div>
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. docs/nl/docs/environment-variables.md

    ```console
    // Hier stellen we de omgevingsvariabelen nog niet in
    $ python main.py
    
    // Omdat we de omgevingsvariabelen niet hebben ingesteld, krijgen we de standaardwaarde
    
    Hello World from Python
    
    // Maar als we eerst een omgevingsvariabele aanmaken
    $ export MY_NAME="Wade Wilson"
    
    // en het programma dan opnieuw aanroepen
    $ python main.py
    
    // kan het de omgevingsvariabele nu wel uitlezen
    
    Hello Wade Wilson from Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 20 11:13:32 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/header-params.md

    ## `Header` importieren
    
    Importieren Sie zuerst `Header`:
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *}
    
    ## `Header`-Parameter deklarieren
    
    Dann deklarieren Sie Ihre Header-Parameter, auf die gleiche Weise, wie Sie auch `Path`-, `Query`-, und `Cookie`-Parameter deklarieren.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Dependências podem declarar requisitos de requisições (como cabeçalhos) ou outras subdependências:
    
    {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[8,13] *}
    
    ### Levantando exceções
    
    Essas dependências podem levantar exceções, da mesma forma que dependências comuns:
    
    {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[10,15] *}
    
    ### Valores de retorno
    
    E elas também podem ou não retornar valores, eles não serão utilizados.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/dependencies/classes-as-dependencies.md

    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *}
    
    Presta atención al método `__init__` usado para crear la instance de la clase:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *}
    
    ...tiene los mismos parámetros que nuestros `common_parameters` anteriores:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/handling-errors.md

    ## Usa `HTTPException`
    
    Para devolver responses HTTP con errores al cliente, usa `HTTPException`.
    
    ### Importa `HTTPException`
    
    {* ../../docs_src/handling_errors/tutorial001.py hl[1] *}
    
    ### Lanza un `HTTPException` en tu código
    
    `HTTPException` es una excepción de Python normal con datos adicionales relevantes para APIs.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top