Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 640 for normale (0.09 seconds)

  1. docs/de/docs/tutorial/server-sent-events.md

    ///
    
    ### Nicht-async-*Pfadoperation-Funktionen* { #non-async-path-operation-functions }
    
    Sie können auch normale `def`-Funktionen (ohne `async`) verwenden und `yield` genauso einsetzen.
    
    FastAPI stellt sicher, dass sie korrekt ausgeführt wird, sodass sie die Event Loop nicht blockiert.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  2. docs/de/docs/advanced/async-tests.md

    ## HTTPX { #httpx }
    
    Auch wenn Ihre **FastAPI**-Anwendung normale `def`-Funktionen anstelle von `async def` verwendet, handelt es sich darunter immer noch um eine `async`-Anwendung.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.3K bytes
    - Click Count (1)
  3. docs/fr/docs/advanced/behind-a-proxy.md

    Gardez à l'esprit que le serveur (Uvicorn) n'utilisera ce `root_path` que pour le transmettre à l'application.
    
    Mais si vous allez avec votre navigateur sur [http://127.0.0.1:8000/app](http://127.0.0.1:8000/app), vous verrez la réponse normale :
    
    ```JSON
    {
        "message": "Hello World",
        "root_path": "/api/v1"
    }
    ```
    
    Donc, il ne s'attendra pas à être accessible à `http://127.0.0.1:8000/api/v1/app`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/background-tasks.md

    Es kann sich um eine `async def`- oder normale `def`-Funktion handeln. **FastAPI** weiß, wie damit zu verfahren ist.
    
    In diesem Fall schreibt die Taskfunktion in eine Datei (den Versand einer E-Mail simulierend).
    
    Und da der Schreibvorgang nicht `async` und `await` verwendet, definieren wir die Funktion mit normalem `def`:
    
    {* ../../docs_src/background_tasks/tutorial001_py310.py hl[6:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/stream-json-lines.md

    ///
    
    ### Nicht-async *Pfadoperation-Funktionen* { #non-async-path-operation-functions }
    
    Sie können auch normale `def`-Funktionen (ohne `async`) verwenden und `yield` auf die gleiche Weise einsetzen.
    
    FastAPI stellt sicher, dass sie korrekt ausgeführt werden, sodass der Event Loop nicht blockiert wird.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/request-files.md

    Par exemple, à l'intérieur d'une *fonction de chemin d'accès* `async`, vous pouvez obtenir le contenu avec :
    
    ```Python
    contents = await myfile.read()
    ```
    
    Si vous êtes dans une *fonction de chemin d'accès* `def` normale, vous pouvez accéder directement à `UploadFile.file`, par exemple :
    
    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | Détails techniques `async`
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  7. docs/de/docs/tutorial/handling-errors.md

    {* ../../docs_src/handling_errors/tutorial001_py310.py hl[1] *}
    
    ### Eine `HTTPException` in Ihrem Code auslösen { #raise-an-httpexception-in-your-code }
    
    `HTTPException` ist eine normale Python-Exception mit zusätzlichen Daten, die für APIs relevant sind.
    
    Weil es eine Python-Exception ist, geben Sie sie nicht zurück (`return`), sondern lösen sie aus (`raise`).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/testing.md

    {* ../../docs_src/app_testing/tutorial001_py310.py hl[2,12,15:18] *}
    
    /// tip | Tipp
    
    Beachten Sie, dass die Testfunktionen normal `def` und nicht `async def` sind.
    
    Und die Anrufe an den Client sind ebenfalls normale Anrufe, die nicht `await` verwenden.
    
    Dadurch können Sie `pytest` ohne Komplikationen direkt nutzen.
    
    ///
    
    /// note | Technische Details
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/handling-errors.md

    {* ../../docs_src/handling_errors/tutorial001_py310.py hl[1] *}
    
    ### Lever une `HTTPException` dans votre code { #raise-an-httpexception-in-your-code }
    
    `HTTPException` est une exception Python normale avec des données supplémentaires pertinentes pour les API.
    
    Comme il s'agit d'une exception Python, vous ne la `return` pas, vous la `raise`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. docs/de/docs/advanced/behind-a-proxy.md

    Beachten Sie, dass der Server (Uvicorn) diesen `root_path` für nichts anderes verwendet als für die Weitergabe an die Anwendung.
    
    Aber wenn Sie mit Ihrem Browser auf [http://127.0.0.1:8000/app](http://127.0.0.1:8000/app) gehen, sehen Sie die normale Response:
    
    ```JSON
    {
        "message": "Hello World",
        "root_path": "/api/v1"
    }
    ```
    
    Es wird also nicht erwartet, dass unter `http://127.0.0.1:8000/api/v1/app` darauf zugegriffen wird.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 18K bytes
    - Click Count (0)
Back to Top