Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,860 for None (0.06 sec)

  1. licenses/github.com/xeipuuv/gojsonreference/NONE

    John Howard <******@****.***> 1587615255 -0700
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Apr 23 04:14:15 UTC 2020
    - 17 bytes
    - Viewed (0)
  2. licenses/github.com/go-errors/errors/NONE

    John Howard <******@****.***> 1619132365 -0700
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Apr 22 22:59:25 UTC 2021
    - 17 bytes
    - Viewed (0)
  3. licenses/github.com/xeipuuv/gojsonpointer/NONE

    John Howard <******@****.***> 1587615255 -0700
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Apr 23 04:14:15 UTC 2020
    - 17 bytes
    - Viewed (0)
  4. licenses/github.com/xeipuuv/gojsonschema/NONE

    John Howard <******@****.***> 1587615255 -0700
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Apr 23 04:14:15 UTC 2020
    - 17 bytes
    - Viewed (0)
  5. tests/test_router_events.py

                "overridden": "app",
            }
    
    
    def test_merged_no_return_lifespans_return_none() -> None:
        @asynccontextmanager
        async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]:
            yield
    
        @asynccontextmanager
        async def router_lifespan(app: FastAPI) -> AsyncGenerator[None, None]:
            yield
    
        router = APIRouter(lifespan=router_lifespan)
        app = FastAPI(lifespan=lifespan)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 24 19:09:52 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. docs_src/body_multiple_params/tutorial004_py310.py

    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item,
        user: User,
        importance: int = Body(gt=0),
        q: str | None = None,
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 10 18:49:18 UTC 2023
    - 603 bytes
    - Viewed (0)
  7. docs_src/body_nested_models/tutorial007.py

        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: Set[str] = set()
        images: Union[List[Image], None] = None
    
    
    class Offer(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        items: List[Item]
    
    
    @app.post("/offers/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 581 bytes
    - Viewed (0)
  8. docs_src/body_multiple_params/tutorial001.py

    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: Union[str, None] = None,
        item: Union[Item, None] = None,
    ):
        results = {"item_id": item_id}
        if q:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 596 bytes
    - Viewed (0)
  9. docs_src/sql_databases/tutorial002_py310.py

        name: str = Field(index=True)
        age: int | None = Field(default=None, index=True)
    
    
    class Hero(HeroBase, table=True):
        id: int | None = Field(default=None, primary_key=True)
        secret_name: str
    
    
    class HeroPublic(HeroBase):
        id: int
    
    
    class HeroCreate(HeroBase):
        secret_name: str
    
    
    class HeroUpdate(HeroBase):
        name: str | None = None
        age: int | None = None
        secret_name: str | None = None
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. tests/test_skip_defaults.py

    class SubModel(BaseModel):
        a: Optional[str] = "foo"
    
    
    class Model(BaseModel):
        x: Optional[int] = None
        sub: SubModel
    
    
    class ModelSubclass(Model):
        y: int
        z: int = 0
        w: Optional[int] = None
    
    
    class ModelDefaults(BaseModel):
        w: Optional[str] = None
        x: Optional[str] = None
        y: str = "y"
        z: str = "z"
    
    
    @app.get("/", response_model=Model, response_model_exclude_unset=True)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top