Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for 49 (0.25 sec)

  1. docs/ru/docs/tutorial/schema-extra-example.md

    === "Python 3.10+"
    
        ```Python hl_lines="23-49"
        {!> ../../../docs_src/schema_extra_example/tutorial004_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="23-49"
        {!> ../../../docs_src/schema_extra_example/tutorial004_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="24-50"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/schema-extra-example.md

    Sie können es so verwenden:
    
    === "Python 3.10+"
    
        ```Python hl_lines="23-49"
        {!> ../../../docs_src/schema_extra_example/tutorial005_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="23-49"
        {!> ../../../docs_src/schema_extra_example/tutorial005_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="24-50"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:19:53 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/schema-extra-example.md

    You can use it like this:
    
    === "Python 3.10+"
    
        ```Python hl_lines="23-49"
        {!> ../../../docs_src/schema_extra_example/tutorial005_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="23-49"
        {!> ../../../docs_src/schema_extra_example/tutorial005_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="24-50"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/schema-extra-example.md

    이를 다음과 같이 사용할 수 있습니다:
    
    === "Python 3.10+"
    
        ```Python hl_lines="23-49"
        {!> ../../../docs_src/schema_extra_example/tutorial005_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="23-49"
        {!> ../../../docs_src/schema_extra_example/tutorial005_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="24-50"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Feb 09 12:35:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CookieTest.kt

          .isEqualTo(date("2021-06-09T10:18:14.000+0000"))
        assertThat(Date(parse(url, "a=b; Expires=Sun, 06 Nov 1994 08:49:37 GMT")!!.expiresAt))
          .isEqualTo(date("1994-11-06T08:49:37.000+0000"))
      }
    
      @Test fun awkwardDates() {
        assertThat(parse(url, "a=b; Expires=Thu, 01 Jan 70 00:00:00 GMT")!!.expiresAt)
          .isEqualTo(0L)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/handling-errors.md

    Аналогичным образом можно переопределить обработчик `HTTPException`.
    
    Например, для этих ошибок можно вернуть обычный текстовый ответ вместо JSON:
    
    ```Python hl_lines="3-4  9-11  22"
    {!../../../docs_src/handling_errors/tutorial004.py!}
    ```
    
    !!! note "Технические детали"
        Можно также использовать `from starlette.responses import PlainTextResponse`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/handling-errors.md

    Do mesmo modo, você pode sobreescrever o `HTTPException`.
    
    Por exemplo, você pode querer retornar uma *response* em *plain text* ao invés de um JSON para os seguintes erros:
    
    ```Python hl_lines="3-4  9-11  22"
    {!../../../docs_src/handling_errors/tutorial004.py!}
    ```
    
    !!! note "Detalhes Técnicos"
        Você pode usar `from starlette.responses import PlainTextResponse`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/handling-errors.md

    Genauso können Sie den `HTTPException`-Handler überschreiben.
    
    Zum Beispiel könnten Sie eine Klartext-Response statt JSON für diese Fehler zurückgeben wollen:
    
    ```Python hl_lines="3-4  9-11  22"
    {!../../../docs_src/handling_errors/tutorial004.py!}
    ```
    
    !!! note "Technische Details"
        Sie können auch `from starlette.responses import PlainTextResponse` verwenden.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:28:29 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. docs/pt/docs/index.md

    ## Evoluindo o Exemplo
    
    Agora modifique o arquivo `main.py` para receber um corpo para uma requisição `PUT`.
    
    Declare o corpo utilizando tipos padrão Python, graças ao Pydantic.
    
    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  10. docs/tr/docs/index.md

    Şimdi `main.py` dosyasını, `PUT` isteğiyle birlikte bir gövde alacak şekilde değiştirelim.
    
    <abbr title="Gövde: Body">Gövde</abbr>yi Pydantic sayesinde standart python tiplerini kullanarak tanımlayalım.
    
    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21.9K bytes
    - Viewed (0)
Back to top