Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Konstanten (0.19 sec)

  1. docs/de/docs/tutorial/path-operation-configuration.md

    Sie können direkt den `int`-Code übergeben, etwa `404`.
    
    Aber falls Sie sich nicht mehr erinnern, wofür jede Nummer steht, können Sie die Abkürzungs-Konstanten in `status` verwenden:
    
    === "Python 3.10+"
    
        ```Python hl_lines="1  15"
        {!> ../../../docs_src/path_operation_configuration/tutorial001_py310.py!}
        ```
    
    === "Python 3.9+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:07:48 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/path-operation-configuration.md

    Você pode definir o `status_code` (HTTP) para ser usado na resposta da sua *operação de rota*.
    
    Você pode passar diretamente o código `int`, como `404`.
    
    Mas se você não se lembrar o que cada código numérico significa, pode usar as constantes de atalho em `status`:
    
    === "Python 3.8 and above"
    
        ```Python hl_lines="3  17"
        {!> ../../../docs_src/path_operation_configuration/tutorial001.py!}
        ```
    
    === "Python 3.9 and above"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.9K bytes
    - Viewed (0)
Back to top