Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for dekoratora (0.11 sec)

  1. docs/tr/docs/tutorial/first-steps.md

    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.
    
    Bizim durumumuzda, kullandığımız dekoratör, **FastAPI**'a altındaki fonksiyonun `/` yoluna gelen `get` metodlu isteklerden sorumlu olduğunu söyler.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/first-steps.md

    /// info | "`@decorator` Information"
    
    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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/security/oauth2-scopes.md

    ## `Security` in Dekorator-`dependencies`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/custom-response.md

    Um eine Response mit HTML direkt von **FastAPI** zurückzugeben, verwenden Sie `HTMLResponse`.
    
    * Importieren Sie `HTMLResponse`.
    * Übergeben Sie `HTMLResponse` als den Parameter `response_class` Ihres *Pfadoperation-Dekorators*.
    
    ```Python hl_lines="2  7"
    {!../../docs_src/custom_response/tutorial002.py!}
    ```
    
    /// info
    
    Der Parameter `response_class` wird auch verwendet, um den „Medientyp“ der Response zu definieren.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. 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()`
    * `@app.put()`
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:48:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/bigger-applications.md

        * Zuerst werden die Router-Abhängigkeiten ausgeführt, dann die [`dependencies` im Dekorator](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank} und dann die normalen Parameterabhängigkeiten.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/bigger-applications.md

    /// tip
    
    Note that, much like [dependencies in *path operation decorators*](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, no value will be passed to your *path operation function*.
    
    ///
    
    The end result is that the item paths are now:
    
    * `/items/`
    * `/items/{item_id}`
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/security/oauth2-scopes.md

    **FastAPI** includes utilities for all these OAuth2 authentication flows in `fastapi.security.oauth2`.
    
    ## `Security` in decorator `dependencies`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/testdata/describe/http_config.json

                              "config": "/apis/networking.istio.io/v1alpha3/namespaces/default/virtual-service/bookinfo"
                            }
                          }
                        },
                        "decorator": {
                          "operation": "productpage.default.svc.cluster.local:9080/productpage"
                        }
                      },
                      {
                        "match": {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 13.7K bytes
    - Viewed (0)
Back to top