Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 1,205 for itens (0.01 sec)

  1. docs_src/body_nested_models/tutorial004_py310.py

    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        image: Image | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed May 11 17:29:02 UTC 2022
    - 455 bytes
    - Viewed (0)
  2. docs_src/pydantic_v1_in_v2/tutorial003_an_py39.py

        description: Union[str, None] = None
        size: float
    
    
    class ItemV2(BaseModelV2):
        name: str
        description: Union[str, None] = None
        size: float
    
    
    app = FastAPI()
    
    
    @app.post("/items/", response_model=ItemV2)
    async def create_item(item: Item):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 445 bytes
    - Viewed (0)
  3. docs_src/query_param_models/tutorial002_an_py39.py

        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 483 bytes
    - Viewed (0)
  4. docs_src/body_multiple_params/tutorial002_py39.py

        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    class User(BaseModel):
        username: str
        full_name: Union[str, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item, user: User):
        results = {"item_id": item_id, "item": item, "user": user}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 490 bytes
    - Viewed (0)
  5. docs_src/extra_data_types/tutorial001_py310.py

    from datetime import datetime, time, timedelta
    from uuid import UUID
    
    from fastapi import Body, FastAPI
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def read_items(
        item_id: UUID,
        start_datetime: datetime = Body(),
        end_datetime: datetime = Body(),
        process_after: timedelta = Body(),
        repeat_at: time | None = Body(default=None),
    ):
        start_process = start_datetime + process_after
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 724 bytes
    - Viewed (0)
  6. docs_src/path_params_numeric_validations/tutorial006_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: str,
        size: Annotated[float, Query(gt=0, lt=10.5)],
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Aug 28 23:39:15 UTC 2024
    - 447 bytes
    - Viewed (0)
  7. docs/en/docs/advanced/path-operation-advanced-configuration.md

    ```JSON hl_lines="22"
    {
        "openapi": "3.1.0",
        "info": {
            "title": "FastAPI",
            "version": "0.1.0"
        },
        "paths": {
            "/items/": {
                "get": {
                    "summary": "Read Items",
                    "operationId": "read_items_items__get",
                    "responses": {
                        "200": {
                            "description": "Successful Response",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/query-param-models.md

    Например, если клиент попытается отправить query-параметр `tool` с значением `plumbus`, в виде:
    
    ```http
    https://example.com/items/?limit=10&tool=plumbus
    ```
    
    То в ответ он получит **ошибку**, сообщающую ему, что query-параметр `tool` не разрешен:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/common/admin/crud/pagination.jsp

    			<c:if test="${!pager.existPrePage}">
    				<li class="page-item disabled"><a
    						class="page-link" href="#"><la:message
    						key="labels.prev_page" /></a></li>
    			</c:if>
    			<c:forEach var="p" varStatus="s"
    				items="${pager.pageNumberList}">
    				<li
    					<c:if test="${p == pager.currentPageNumber}">class="page-item active"</c:if>><la:link
    						styleClass="page-link"
    						href="list/${p}">${p}</la:link></li>
    			</c:forEach>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/orig/view/advance.jsp

    				<div class="container">
    					<la:link styleClass="navbar-brand d-inline-flex" href="/">
    						<img src="${fe:url('/images/logo-head.png')}"
    							alt="<la:message key="labels.header_brand_name" />"
    							class="align-items-center" />
    					</la:link>
    					<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar"
    						aria-expanded="false" aria-label="Toggle navigation">
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jan 18 12:09:07 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top