Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for omits (0.02 sec)

  1. tests/test_tutorial/test_path_operation_configurations/test_tutorial003_tutorial004.py

            - **name**: each item must have a name
            - **description**: a long description
            - **price**: required
            - **tax**: if the item doesn't have tax, you can omit this
            - **tags**: a set of unique tag strings for this item
        """).strip(),
    }
    
    
    @pytest.fixture(
        name="mod_name",
        params=[
            pytest.param("tutorial003_py39"),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. docs/zh-hant/llm-prompt.md

    ### `///` admonitions
    
    1) Keep the admonition keyword in English (do not translate `note`, `tip`, etc.).
    2) Many Traditional Chinese docs currently omit titles in `///` blocks; that is OK.
    3) If a generic title is present, prefer these canonical titles:
    
    - `/// note | 注意`
    
    Notes:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:49:46 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. pyproject.toml

    [tool.coverage.run]
    parallel = true
    data_file = "coverage/.coverage"
    source = [
        "docs_src",
        "tests",
        "fastapi"
    ]
    relative_files = true
    context = '${CONTEXT}'
    dynamic_context = "test_function"
    omit = [
        "docs_src/response_model/tutorial003_04_py39.py",
        "docs_src/response_model/tutorial003_04_py310.py",
        "docs_src/dependencies/tutorial008_an_py39.py",  # difficult to mock
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    ):
        return {"message": "Hello World"}
    ```
    
    ...all these parameters are required because the default value is `...` (Ellipsis).
    
    But now it's possible and supported to just omit the default value, as would be done with Pydantic fields, and the parameters would still be required.
    
    ✨ For example, this is now supported:
    
    ```Python
    from fastapi import Cookie, FastAPI, Header, Path, Query
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top