Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 2,760 for gone (0.02 sec)

  1. docs_src/query_params_str_validations/tutorial004_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            Union[str, None], Query(min_length=3, max_length=50, pattern="^fixedquery$")
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 381 bytes
    - Viewed (0)
  2. docs/smb3-features/02-persistent-handles-design.md

    - **MS-SMB2 Section 3.2.1.4**: Durable Open Scavenger Timer
    
    ## 3. Handle Types and Capabilities
    
    ### 3.1 Handle Types
    ```java
    public enum HandleType {
        NONE(0),                    // No durability
        DURABLE_V1(1),              // SMB 2.1 - survives network loss
        DURABLE_V2(2),              // SMB 3.0 - with timeout
        PERSISTENT(3);              // SMB 3.0 - survives server reboot
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

       *
       *  - "Lax": the cookie is omitted when the subject URL is an embedded resource. It is sent for
       *    potentially-destructive navigation. This is the default value.
       *
       *  - "None": the cookie is always sent. The "Secure" attribute must also be set when setting this
       *    value.
       */
      @get:JvmName("sameSite")
      val sameSite: String?,
    ) {
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  4. docs_src/encoder/tutorial001_py310.py

    from fastapi import FastAPI
    from fastapi.encoders import jsonable_encoder
    from pydantic import BaseModel
    
    fake_db = {}
    
    
    class Item(BaseModel):
        title: str
        timestamp: datetime
        description: str | None = None
    
    
    app = FastAPI()
    
    
    @app.put("/items/{id}")
    def update_item(id: str, item: Item):
        json_compatible_item_data = jsonable_encoder(item)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 430 bytes
    - Viewed (0)
  5. docs_src/query_params_str_validations/tutorial011_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[list[str] | None, Query()] = None):
        query_items = {"q": q}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 224 bytes
    - Viewed (0)
  6. docs_src/pydantic_v1_in_v2/tutorial004_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI
    from fastapi.temp_pydantic_v1_params import Body
    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        size: float
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Annotated[Item, Body(embed=True)]) -> Item:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 16:45:54 UTC 2025
    - 373 bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/body-multiple-params.md

    ```Python
    q: Union[str, None] = None
    ```
    
    Ou bien, en Python 3.10 et supérieur :
    
    ```Python
    q: str | None = None
    ```
    
    Par exemple :
    
    {* ../../docs_src/body_multiple_params/tutorial004_an_py310.py hl[27] *}
    
    /// info
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 11:10:17 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. docs_src/path_params_numeric_validations/tutorial001_py39.py

    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: int = Path(title="The ID of the item to get"),
        q: Union[str, None] = Query(default=None, alias="item-query"),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 364 bytes
    - Viewed (0)
  9. tests/test_extra_routes.py

        return {"item_id": item_id, "item": item}
    
    
    @app.head("/items/{item_id}")
    def head_item(item_id: str):
        return JSONResponse(None, headers={"x-fastapi-item-id": item_id})
    
    
    @app.options("/items/{item_id}")
    def options_item(item_id: str):
        return JSONResponse(None, headers={"x-fastapi-item-id": item_id})
    
    
    @app.patch("/items/{item_id}")
    def patch_item(item_id: str, item: Item):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. docs_src/query_params_str_validations/tutorial014_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        hidden_query: Union[str, None] = Query(default=None, include_in_schema=False),
    ):
        if hidden_query:
            return {"hidden_query": hidden_query}
        else:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 330 bytes
    - Viewed (0)
Back to top