Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 151 for decorador (0.05 sec)

  1. docs/pt/docs/features.md

    * **Extensível**:
        * Pydantic permite que tipos de dados personalizados sejam definidos ou você pode estender a validação com métodos em um modelo decorado com seu decorador de validador.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/settings.md

    ```Python
    def get_settings():
        return Settings()
    ```
    
    crearíamos ese objeto para cada request, y estaríamos leyendo el archivo `.env` para cada request. ⚠️
    
    Pero como estamos usando el decorador `@lru_cache` encima, el objeto `Settings` se creará solo una vez, la primera vez que se llame. ✔️
    
    {* ../../docs_src/settings/app03_an_py39/main.py hl[1,11] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/bigger-applications.md

      * Si también declaras dependencias en una *path operation* específica, **también se ejecutarán**.
      * Las dependencias del router se ejecutan primero, luego las [dependencias en el decorador](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, y luego las dependencias de parámetros normales.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/bigger-applications.md

        * Se você também declarar dependências em uma *operação de rota* específica, **elas também serão executadas**.
        * As dependências do roteador são executadas primeiro, depois as [`dependencies` no decorador](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank} e, em seguida, as dependências de parâmetros normais.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    The *path operation decorator* receives an optional argument `dependencies`.
    
    It should be a `list` of `Depends()`:
    
    {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[19] *}
    
    These dependencies will be executed/solved the same way as normal dependencies. But their value (if they return any) won't be passed to your *path operation function*.
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    In diesen Fällen können Sie, anstatt einen Parameter der *Pfadoperation-Funktion* mit `Depends` zu deklarieren, eine `list`e von `dependencies` zum *Pfadoperation-Dekorator* hinzufügen.
    
    ## `dependencies` zum *Pfadoperation-Dekorator* hinzufügen
    
    Der *Pfadoperation-Dekorator* erhält ein optionales Argument `dependencies`.
    
    Es sollte eine `list`e von `Depends()` sein:
    
    {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[19] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. docs/tr/docs/tutorial/first-steps.md

    * `/` yoluna gelen istekler
    
    /// info | `@decorator` Bilgisi
    
    Python'da `@something` sözdizimi "<abbr title="Decorator">dekoratör</abbr>" olarak adlandırılır.
    
    Dekoratörler, dekoratif bir şapka gibi (sanırım terim buradan geliyor) fonksiyonların üzerlerine yerleştirilirler.
    
    Bir "dekoratör" hemen altında bulunan fonksiyonu alır ve o fonksiyon ile bazı işlemler gerçekleştirir.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/dependencies/global-dependencies.md

    # Dependências Globais
    
    Para alguns tipos de aplicação específicos você pode querer adicionar dependências para toda a aplicação.
    
    De forma semelhante a [adicionar dependências (`dependencies`) em *decoradores de operação de rota*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, você pode adicioná-las à aplicação `FastAPI`.
    
    Nesse caso, elas serão aplicadas a todas as *operações de rota* da aplicação:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/first-steps.md

    You put it on top of a function. Like a pretty decorative hat (I guess that's where the term came from).
    
    A "decorator" takes the function below and does something with it.
    
    In our case, this decorator tells **FastAPI** that the function below corresponds to the **path** `/` with an **operation** `get`.
    
    It is the "**path operation decorator**".
    
    ///
    
    You can also use the other operations:
    
    * `@app.post()`
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. docs/id/docs/tutorial/first-steps.md

    Dekorator ditempatkan di atas fungsi. Seperti sebuah topi cantik (Saya pikir istilah ini berasal dari situ).
    
    "dekorator" memanggil dan bekerja dengan fungsi yang ada di bawahnya
    
    Pada kondisi ini, dekorator ini memberi tahu **FastAPI** bahwa fungsi di bawah nya berhubungan dengan **path** `/` dengan **operasi** `get`.
    
    Sehingga disebut **dekorator operasi path**.
    
    ///
    
    Operasi lainnya yang bisa digunakan:
    
    * `@app.post()`
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Dec 12 21:46:36 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top