Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1241 - 1250 of 1,316 for model (0.04 seconds)

  1. docs/es/docs/advanced/generate-clients.md

    <img src="/img/tutorial/generate-clients/image03.png">
    
    /// tip | Consejo
    
    Nota el autocompletado para `name` y `price`, que fue definido en la aplicación de FastAPI, en el modelo `Item`.
    
    ///
    
    Tendrás errores en línea para los datos que envíes:
    
    <img src="/img/tutorial/generate-clients/image04.png">
    
    El objeto de response también tendrá autocompletado:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  2. docs/tr/docs/tutorial/stream-json-lines.md

    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[24] *}
    
    Göndermek istediğiniz her JSON öğesi `Item` tipindeyse (bir Pydantic modeli) ve fonksiyon async ise, dönüş tipini `AsyncIterable[Item]` olarak belirtebilirsiniz:
    
    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[9:11,22] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/response-status-code.md

    # Code d'état de la réponse { #response-status-code }
    
    De la même manière que vous pouvez spécifier un modèle de réponse, vous pouvez également déclarer le code d'état HTTP utilisé pour la réponse avec le paramètre `status_code` dans n'importe lequel des chemins d'accès :
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * etc.
    
    {* ../../docs_src/response_status_code/tutorial001_py310.py hl[6] *}
    
    /// note | Remarque
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  4. docs/en/docs/python-types.md

    <img src="/img/python-types/image06.png">
    
    Notice that this means "`one_person` is an **instance** of the class `Person`".
    
    It doesn't mean "`one_person` is the **class** called `Person`".
    
    ## Pydantic models { #pydantic-models }
    
    [Pydantic](https://docs.pydantic.dev/) is a Python library to perform data validation.
    
    You declare the "shape" of the data as classes with attributes.
    
    And each attribute has a type.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/response-status-code.md

    # Código de Estado del Response { #response-status-code }
    
    De la misma manera que puedes especificar un modelo de response, también puedes declarar el código de estado HTTP usado para el response con el parámetro `status_code` en cualquiera de las *path operations*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * etc.
    
    {* ../../docs_src/response_status_code/tutorial001_py310.py hl[6] *}
    
    /// note | Nota
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/stream-json-lines.md

    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[24] *}
    
    Si cada ítem JSON que quieres enviar de vuelta es de tipo `Item` (un modelo de Pydantic) y es una función async, puedes declarar el tipo de retorno como `AsyncIterable[Item]`:
    
    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[9:11,22] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/server-sent-events.md

    Import `ServerSentEvent` from `fastapi.sse`:
    
    {* ../../docs_src/server_sent_events/tutorial002_py310.py hl[4,26] *}
    
    The `data` field is always encoded as JSON. You can pass any value that can be serialized as JSON, including Pydantic models.
    
    ## Raw Data { #raw-data }
    
    If you need to send data **without** JSON encoding, use `raw_data` instead of `data`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  8. docs/tr/docs/advanced/stream-data.md

    /// info | Bilgi
    
    FastAPI 0.134.0 ile eklendi.
    
    ///
    
    ## Kullanım Senaryoları { #use-cases }
    
    Doğrudan bir AI LLM (Büyük Dil Modeli) servisinin çıktısından saf string'leri akıtmak istediğinizde kullanabilirsiniz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/body-updates.md

    /// note | 참고
    
    입력 모델은 여전히 검증된다는 점에 유의하세요.
    
    따라서 모든 속성을 생략할 수 있는 부분 업데이트를 받으려면, 모든 속성이 optional로 표시된(기본값을 가지거나 `None`을 기본값으로 가지는) 모델이 필요합니다.
    
    **업데이트**를 위한 “모든 값이 optional인” 모델과, **생성**을 위한 “필수 값이 있는” 모델을 구분하려면 [추가 모델](extra-models.md)에 설명된 아이디어를 사용할 수 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/stream-json-lines.md

    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[24] *}
    
    Se cada item JSON que você quer enviar de volta for do tipo `Item` (um modelo Pydantic) e a função for assíncrona, você pode declarar o tipo de retorno como `AsyncIterable[Item]`:
    
    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[9:11,22] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 4.6K bytes
    - Click Count (0)
Back to Top