Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 154 for decorador (0.23 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java

        private final RepositorySystem repoSystem;
        private final List<RepositorySessionDecorator> decorators;
    
        @Inject
        public DefaultProjectDependenciesResolver(
                RepositorySystem repoSystem, List<RepositorySessionDecorator> decorators) {
            this.repoSystem = repoSystem;
            this.decorators = decorators;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/dependencies/global-dependencies.md

    # Dependências Globais { #global-dependencies }
    
    Para alguns tipos de aplicação você pode querer adicionar dependências para toda a aplicação.
    
    De forma semelhante a [adicionar `dependencies` aos *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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  3. 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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/first-steps.md

    /// info | `@decorator` Info
    
    Diese `@something`-Syntax wird in Python „Dekorator“ genannt.
    
    Sie platzieren ihn über einer Funktion. Wie ein hübscher, dekorativer Hut (daher kommt wohl der Begriff).
    
    Ein „Dekorator“ nimmt die darunter stehende Funktion und macht etwas damit.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/path-operation-configuration.md

    # Path Operation Configuration { #path-operation-configuration }
    
    There are several parameters that you can pass to your *path operation decorator* to configure it.
    
    /// warning
    
    Notice that these parameters are passed directly to the *path operation decorator*, not to your *path operation function*.
    
    ///
    
    ## Response Status Code { #response-status-code }
    
    You can define the (HTTP) `status_code` to be used in the response of your *path operation*.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/path-operation-configuration.md

    # Configuración de Path Operation { #path-operation-configuration }
    
    Hay varios parámetros que puedes pasar a tu *path operation decorator* para configurarlo.
    
    /// warning | Advertencia
    
    Ten en cuenta que estos parámetros se pasan directamente al *path operation decorator*, no a tu *path operation function*.
    
    ///
    
    ## Código de Estado del Response { #response-status-code }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # path operationデコレータの依存関係
    
    場合によっては*path operation関数*の中で依存関係の戻り値を本当に必要としないこともあります。
    
    もしくは、依存関係が値を返さない場合もあります。
    
    しかし、それでも実行・解決する必要があります。
    
    このような場合、*path operation関数*のパラメータを`Depends`で宣言する代わりに、*path operation decorator*に`dependencies`の`list`を追加することができます。
    
    ##  *path operationデコレータ*への`dependencies`の追加
    
    *path operationデコレータ*はオプショナルの引数`dependencies`を受け取ります。
    
    それは`Depends()`の`list`であるべきです:
    
    {* ../../docs_src/dependencies/tutorial006.py hl[17] *}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. 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:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. fastapi/routing.py

            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.add_route(
                    path,
                    func,
                    methods=methods,
                    name=name,
                    include_in_schema=include_in_schema,
                )
                return func
    
            return decorator
    
        def add_api_route(
            self,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  10. tests/test_dependency_overrides.py

        response = client.get("/decorator-depends/?q=foo")
        assert response.status_code == 200
        assert response.json() == {"in": "decorator-depends"}
    
    
    def test_decorator_depends_q_foo_skip_100_limit_200():
        response = client.get("/decorator-depends/?q=foo&skip=100&limit=200")
        assert response.status_code == 200
        assert response.json() == {"in": "decorator-depends"}
    
    
    def test_router_depends():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top