Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 170 for decorador (1.48 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 14.9K bytes
    - Click Count (0)
  2. 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:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/security/oauth2-scopes.md

    ## `Security` in decorator `dependencies` { #security-in-decorator-dependencies }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  4. 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,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  5. 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():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  6. fastapi/applications.py

            ```
            """
    
            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.add_api_websocket_route(
                    path,
                    func,
                    name=name,
                    dependencies=dependencies,
                )
                return func
    
            return decorator
    
        def include_router(
            self,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  7. docs/tr/docs/advanced/security/oauth2-scopes.md

    ## Decorator `dependencies` içinde `Security` { #security-in-decorator-dependencies }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/vibe.md

    Do you just want to **vibe**? 🎶
    
    **FastAPI** now supports a new `@app.vibe()` decorator that embraces **modern AI coding best practices**. 🤖
    
    ## How It Works { #how-it-works }
    
    The `@app.vibe()` decorator is intended to receive **any HTTP method** (`GET`, `POST`, `PUT`, `DELETE`, `PATCH`, etc.) and **any payload**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 2K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/first-steps.md

    /// info | `@decorator` Bilgisi
    
    Python'daki `@something` söz dizimi "decorator" olarak adlandırılır.
    
    Onu bir fonksiyonun üstüne koyarsınız. Güzel, dekoratif bir şapka gibi (sanırım terim de buradan geliyor).
    
    Bir "decorator", altındaki fonksiyonu alır ve onunla bir şey yapar.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/bigger-applications.md

        * If you also declare dependencies in a specific *path operation*, **they will be executed too**.
        * The router dependencies are executed first, then the [`dependencies` in the decorator](dependencies/dependencies-in-path-operation-decorators.md), and then the normal parameter dependencies.
        * You can also add [`Security` dependencies with `scopes`](../advanced/security/oauth2-scopes.md).
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 19.2K bytes
    - Click Count (0)
Back to Top