Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 980 for tutorial005_py310 (0.23 seconds)

  1. docs/tr/docs/tutorial/body-nested-models.md

    Örneğin bir `Image` modeli tanımlayabiliriz:
    
    {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[7:9] *}
    
    ### Alt modeli tip olarak kullanın { #use-the-submodel-as-a-type }
    
    Ardından bunu bir attribute’un tipi olarak kullanabiliriz:
    
    {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[18] *}
    
    Bu da **FastAPI**’nin aşağıdakine benzer bir body bekleyeceği anlamına gelir:
    
    ```JSON
    {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  2. docs/de/docs/tutorial/query-params.md

    Aber wenn Sie wollen, dass ein Query-Parameter erforderlich ist, vergeben Sie einfach keinen Defaultwert:
    
    {* ../../docs_src/query_params/tutorial005_py310.py hl[6:7] *}
    
    Hier ist `needy` ein erforderlicher Query-Parameter vom Typ `str`.
    
    Wenn Sie in Ihrem Browser eine URL wie:
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial005_py310.py hl[2,8] *}
    
    Рядок буде перевірено як дійсну URL-адресу і задокументовано в JSON Schema / OpenAPI як URL.
    
    ## Атрибути зі списками підмоделей { #attributes-with-lists-of-submodels }
    
    У Pydantic ви можете використовувати моделі як підтипи для `list`, `set` тощо:
    
    {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/query-params.md

    而且声明查询参数的顺序并不重要。
    
    FastAPI 通过参数名进行检测:
    
    {* ../../docs_src/query_params/tutorial004_py310.py hl[6,8] *}
    
    ## 必选查询参数 { #required-query-parameters }
    
    为不是路径参数的参数声明默认值(至此,仅有查询参数),该参数就不是必选的了。
    
    如果只想把参数设为可选,但又不想指定参数的值,则要把默认值设为 `None`。
    
    如果要把查询参数设置为必选,就不要声明默认值:
    
    {* ../../docs_src/query_params/tutorial005_py310.py hl[6:7] *}
    
    这里的查询参数 `needy` 是类型为 `str` 的必选查询参数。
    
    在浏览器中打开如下 URL:
    
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial004_py310.py hl[25,27,31] *}
    
    ## SSE mit POST { #sse-with-post }
    
    SSE funktioniert mit **jedem HTTP-Method**, nicht nur mit `GET`.
    
    Das ist nützlich für Protokolle wie [MCP](https://modelcontextprotocol.io), die SSE über `POST` streamen:
    
    {* ../../docs_src/server_sent_events/tutorial005_py310.py hl[14] *}
    
    ## Technische Details { #technical-details }
    
    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)
  6. docs/pt/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial004_py310.py hl[25,27,31] *}
    
    ## SSE com POST { #sse-with-post }
    
    SSE funciona com qualquer método HTTP, não apenas `GET`.
    
    Isso é útil para protocolos como o [MCP](https://modelcontextprotocol.io) que fazem stream de SSE via `POST`:
    
    {* ../../docs_src/server_sent_events/tutorial005_py310.py hl[14] *}
    
    ## Detalhes Técnicos { #technical-details }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  7. docs/tr/docs/tutorial/query-params.md

    Ancak bir query parametresini zorunlu yapmak istediğinizde, herhangi bir varsayılan değer tanımlamamanız yeterlidir:
    
    {* ../../docs_src/query_params/tutorial005_py310.py hl[6:7] *}
    
    Burada query parametresi `needy`, `str` tipinde zorunlu bir query parametresidir.
    
    Tarayıcınızda şöyle bir URL açarsanız:
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  8. docs/ko/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *}
    
    이는 대화형 문서에서 사용됩니다:
    
    <img src="/img/tutorial/path-operation-configuration/image02.png">
    
    ## 응답 설명 { #response-description }
    
    `response_description` 매개변수로 응답에 관한 설명을 명시할 수 있습니다:
    
    {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[18] *}
    
    /// info | 정보
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial005_py310.py hl[2,8] *}
    
    A string será verificada para se tornar uma URL válida e documentada no JSON Schema / OpenAPI como tal.
    
    ## Atributos como listas de submodelos { #attributes-with-lists-of-submodels }
    
    Você também pode usar modelos Pydantic como subtipos de `list`, `set`, etc:
    
    {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial005_py310.py hl[2,8] *}
    
    El string será verificado para ser una URL válida, y documentado en JSON Schema / OpenAPI como tal.
    
    ## Atributos con listas de submodelos { #attributes-with-lists-of-submodels }
    
    También puedes usar modelos Pydantic como subtipos de `list`, `set`, etc.:
    
    {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 7.2K bytes
    - Click Count (0)
Back to Top