Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for REPLACED (0.58 sec)

  1. fastapi/applications.py

                description: str | None = None
    
            app = FastAPI()
    
            @app.put("/items/{item_id}")
            def replace_item(item_id: str, item: Item):
                return {"message": "Item replaced", "id": item_id}
            ```
            """
            return self.router.put(
                path,
                response_model=response_model,
                status_code=status_code,
                tags=tags,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  2. fastapi/routing.py

            app = FastAPI()
            router = APIRouter()
    
            @router.put("/items/{item_id}")
            def replace_item(item_id: str, item: Item):
                return {"message": "Item replaced", "id": item_id}
    
            app.include_router(router)
            ```
            """
            return self.api_route(
                path=path,
                response_model=response_model,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  3. docs/en/docs/release-notes.md

        * `allow_inf_nan`
        * `max_digits`
        * `decimal_places`
        * `json_schema_extra`
    
    ...you can read about them in the Pydantic docs.
    
    * The parameter `regex` has been deprecated and replaced by `pattern`.
        * You can read more about it in the docs for [Query Parameters and String Validations: Add regular expressions](https://fastapi.tiangolo.com/tutorial/query-params-str-validations/#add-regular-expressions).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
Back to top