Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for swapped (0.3 sec)

  1. tests/benchmarks/test_general_performance.py

    import pytest
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    if "--codspeed" not in sys.argv:
        pytest.skip(
            "Benchmark tests are skipped by default; run with --codspeed.",
            allow_module_level=True,
        )
    
    LARGE_ITEMS: list[dict[str, Any]] = [
        {
            "id": i,
            "name": f"item-{i}",
            "values": list(range(25)),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 20:40:26 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. fastapi/openapi/models.py

    
    class XML(BaseModelWithConfig):
        name: Optional[str] = None
        namespace: Optional[str] = None
        prefix: Optional[str] = None
        attribute: Optional[bool] = None
        wrapped: Optional[bool] = None
    
    
    class ExternalDocumentation(BaseModelWithConfig):
        description: Optional[str] = None
        url: AnyUrl
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. docs/en/docs/release-notes.md

    * ✨ Add support for wrapped functions (e.g. `@functools.wraps()`) used with forward references. PR [#5077](https://github.com/fastapi/fastapi/pull/5077) by [@lucaswiman](https://github.com/lucaswiman).
    * ✨ Handle wrapped dependencies. PR [#9555](https://github.com/fastapi/fastapi/pull/9555) by [@phy1729](https://github.com/phy1729).
    
    ### Fixes
    
    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