Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 1,369 for PUT (0.01 sec)

  1. docs_src/body_nested_models/tutorial006_py310.py

    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        images: list[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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 475 bytes
    - Viewed (0)
  2. docs_src/schema_extra_example/tutorial001.py

                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    }
                ]
            }
        }
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 684 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                    list = newArrayList();
                    methodDescListMap.put(methodName, list);
                }
                list.add(new MethodDescImpl(this, method));
            }
            for (int i = 0; i < methodDescListMap.size(); ++i) {
                final List<MethodDesc> methodDescList = methodDescListMap.getAt(i);
                methodDescsCache.put(methodDescListMap.getKeyAt(i), methodDescList.toArray(new MethodDesc[methodDescList.size()]));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. .github/pull_request_template.md

    **Please provide a description of this PR:**
    
    
    
    **To help us figure out who should review this PR, please put an X in all the areas that this PR affects.**
    
    - [ ] Ambient
    - [ ] Configuration Infrastructure
    - [ ] Docs
    - [ ] Dual Stack
    - [ ] Installation
    - [ ] Networking
    - [ ] Performance and Scalability
    - [ ] Extensions and Telemetry
    - [ ] Security
    - [ ] Test and Release
    - [ ] User Experience
    - [ ] Developer Infrastructure
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jun 24 18:27:30 UTC 2024
    - 806 bytes
    - Viewed (0)
  5. docs_src/body_multiple_params/tutorial003_an_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: Annotated[int, Body()]
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 550 bytes
    - Viewed (0)
  6. docs_src/body_nested_models/tutorial004_py39.py

    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
        image: Union[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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 499 bytes
    - Viewed (0)
  7. docs_src/schema_extra_example/tutorial001_pv1.py

                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    }
                ]
            }
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 669 bytes
    - Viewed (0)
  8. docs_src/schema_extra_example/tutorial003_an_py39.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    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,
        item: Annotated[
            Item,
            Body(
                examples=[
                    {
                        "name": "Foo",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 692 bytes
    - Viewed (0)
  9. docs_src/extra_data_types/tutorial001.py

    from datetime import datetime, time, timedelta
    from typing import Union
    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: Union[time, None] = Body(default=None),
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 755 bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

          TesterRequirements requirements = classTesterRequirementsCache.get(testerClass);
          if (requirements == null) {
            requirements = buildTesterRequirements(testerClass);
            classTesterRequirementsCache.put(testerClass, requirements);
          }
          return requirements;
        }
      }
    
      /**
       * Get the full set of requirements for a tester class.
       *
       * @param testerMethod a test method of a tester class
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top