Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,605 for notes (1.02 sec)

  1. docs/en/docs/tutorial/static-files.md

    ## Use `StaticFiles` { #use-staticfiles }
    
    * Import `StaticFiles`.
    * "Mount" a `StaticFiles()` instance in a specific path.
    
    {* ../../docs_src/static_files/tutorial001_py39.py hl[2,6] *}
    
    /// note | Technical Details
    
    You could also use `from starlette.staticfiles import StaticFiles`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/static-files.md

    ## Usa `StaticFiles` { #use-staticfiles }
    
    * Importa `StaticFiles`.
    * "Monta" una instance de `StaticFiles()` en un path específico.
    
    {* ../../docs_src/static_files/tutorial001_py39.py hl[2,6] *}
    
    /// note | Detalles Técnicos
    
    También podrías usar `from starlette.staticfiles import StaticFiles`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/cookie-params.md

    Перше значення це значення за замовчуванням, ви можете також передати всі додаткові параметри валідації чи анотації:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[9] *}
    
    /// note | Технічні Деталі
    
    `Cookie` це "сестра" класів `Path` і `Query`. Вони наслідуються від одного батьківського класу `Param`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/response-headers.md

    {* ../../docs_src/response_headers/tutorial001_py39.py hl[10:12] *}
    
    /// note | Detalles Técnicos
    
    También podrías usar `from starlette.responses import Response` o `from starlette.responses import JSONResponse`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/header-param-models.md

    # 헤더 매개변수 모델
    
    관련 있는 **헤더 매개변수** 그룹이 있는 경우, **Pydantic 모델**을 생성하여 선언할 수 있습니다.
    
    이를 통해 **여러 위치**에서 **모델을 재사용** 할 수 있고 모든 매개변수에 대한 유효성 검사 및 메타데이터를 한 번에 선언할 수도 있습니다. 😎
    
    /// note | 참고
    
    이 기능은 FastAPI 버전 `0.115.0` 이후부터 지원됩니다. 🤓
    
    ///
    
    ## Pydantic 모델을 사용한 헤더 매개변수
    
    **Pydantic 모델**에 필요한 **헤더 매개변수**를 선언한 다음, 해당 매개변수를 `Header`로 선언합니다:
    
    {* ../../docs_src/header_param_models/tutorial001_an_py310.py hl[9:14,18] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Dec 09 12:45:39 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/additional-status-codes.md

    Ele não será serializado com um modelo, etc.
    
    Garanta que ele tenha toda informação que você deseja, e que os valores sejam um JSON válido (caso você esteja usando `JSONResponse`).
    
    ///
    
    /// note | Detalhes Técnicos
    
    Você também pode utilizar `from starlette.responses import JSONResponse`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/query-param-models.md

    Isso permitiria que você **reutilizasse o modelo** em **diversos lugares**, e também declarasse validações e metadados de todos os parâmetros de uma única vez. 😎
    
    /// note | Nota
    
    Isso é suportado desde o FastAPI versão `0.115.0`. 🤓
    
    ///
    
    ## Parâmetros de Consulta com um Modelo Pydantic { #query-parameters-with-a-pydantic-model }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. tests/test_request_body_parameters_media_type.py

    from fastapi import Body, FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    media_type = "application/vnd.api+json"
    
    
    # NOTE: These are not valid JSON:API resources
    # but they are fine for testing requestBody with custom media_type
    class Product(BaseModel):
        name: str
        price: float
    
    
    class Shop(BaseModel):
        name: str
    
    
    @app.post("/products")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  9. tests/test_get_model_definitions_formfeed_escape.py

        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "components": {
                    "schemas": {
                        "Address": {
                            # NOTE: the description of this model shows only the public-facing text, before the `\f` in docstring
                            "description": "This is a public description of an Address\n",
                            "properties": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. docs/en/docs/_llm-test.md

    //// tab | Test
    
    /// info
    Some text
    ///
    
    /// note
    Some text
    ///
    
    /// note | Technical details
    Some text
    ///
    
    /// check
    Some text
    ///
    
    /// tip
    Some text
    ///
    
    /// warning
    Some text
    ///
    
    /// danger
    Some text
    ///
    
    ////
    
    //// tab | Info
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 14:48:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top