Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 624 for tutorial014_py39 (0.08 seconds)

  1. docs/en/docs/tutorial/handling-errors.md

    The exception handler will receive a `Request` and the exception.
    
    {* ../../docs_src/handling_errors/tutorial004_py39.py hl[2,14:19] *}
    
    Now, if you go to `/items/foo`, instead of getting the default JSON error with:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/custom-response.md

    {* ../../docs_src/response_directly/tutorial002_py39.py hl[1,18] *}
    
    ### `HTMLResponse` { #htmlresponse }
    
    Takes some text or bytes and returns an HTML response, as you read above.
    
    ### `PlainTextResponse` { #plaintextresponse }
    
    Takes some text or bytes and returns a plain text response.
    
    {* ../../docs_src/custom_response/tutorial005_py39.py hl[2,7,9] *}
    
    ### `JSONResponse` { #jsonresponse }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  3. docs/de/docs/advanced/custom-response.md

    {* ../../docs_src/response_directly/tutorial002_py39.py hl[1,18] *}
    
    ### `HTMLResponse` { #htmlresponse }
    
    Nimmt Text oder Bytes entgegen und gibt eine HTML-Response zurück, wie Sie oben gelesen haben.
    
    ### `PlainTextResponse` { #plaintextresponse }
    
    Nimmt Text oder Bytes entgegen und gibt eine Plain-Text-Response zurück.
    
    {* ../../docs_src/custom_response/tutorial005_py39.py hl[2,7,9] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  4. docs/pt/docs/python-types.md

    Digamos que você tenha uma classe `Person`, com um nome:
    
    {* ../../docs_src/python_types/tutorial010_py39.py hl[1:3] *}
    
    Então você pode declarar que uma variável é do tipo `Person`:
    
    {* ../../docs_src/python_types/tutorial010_py39.py hl[6] *}
    
    E então, novamente, você recebe todo o apoio do editor:
    
    <img src="/img/python-types/image06.png">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  5. docs/es/docs/python-types.md

    También puedes declarar una clase como el tipo de una variable.
    
    Digamos que tienes una clase `Person`, con un nombre:
    
    {* ../../docs_src/python_types/tutorial010_py39.py hl[1:3] *}
    
    Luego puedes declarar una variable para que sea de tipo `Person`:
    
    {* ../../docs_src/python_types/tutorial010_py39.py hl[6] *}
    
    Y luego, nuevamente, obtienes todo el soporte del editor:
    
    <img src="/img/python-types/image06.png">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 16.4K bytes
    - Click Count (1)
  6. docs/pt/docs/tutorial/handling-errors.md

    O manipulador de exceções receberá um `Request` e a exceção.
    
    {* ../../docs_src/handling_errors/tutorial004_py39.py hl[2,14:19] *}
    
    Se você for ao `/items/foo`, em vez de receber o JSON padrão com o erro:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/handling-errors.md

    El manejador de excepciones recibirá un `Request` y la excepción.
    
    {* ../../docs_src/handling_errors/tutorial004_py39.py hl[2,14:19] *}
    
    Ahora, si vas a `/items/foo`, en lugar de obtener el error JSON por defecto con:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial005_py39.py hl[17] *}
    
    #### *Enumerations-Wert* erhalten { #get-the-enumeration-value }
    
    Den tatsächlichen Wert (in diesem Fall ein `str`) erhalten Sie via `model_name.value`, oder generell, `your_enum_member.value`:
    
    {* ../../docs_src/path_params/tutorial005_py39.py hl[20] *}
    
    /// tip | Tipp
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. docs/ru/docs/tutorial/handling-errors.md

    Обработчик исключения получит объект `Request` и исключение.
    
    {* ../../docs_src/handling_errors/tutorial004_py39.py hl[2,14:19] *}
    
    Теперь, если перейти к `/items/foo`, то вместо стандартной JSON-ошибки с:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. docs/en/docs/python-types.md

    You can also declare a class as the type of a variable.
    
    Let's say you have a class `Person`, with a name:
    
    {* ../../docs_src/python_types/tutorial010_py39.py hl[1:3] *}
    
    Then you can declare a variable to be of type `Person`:
    
    {* ../../docs_src/python_types/tutorial010_py39.py hl[6] *}
    
    And then, again, you get all the editor support:
    
    <img src="/img/python-types/image06.png">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 15.6K bytes
    - Click Count (0)
Back to Top