Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2481 - 2490 of 3,853 for qint (0.02 sec)

  1. docs_src/schema_extra_example/tutorial001_py310_pv1.py

                        "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
    - 631 bytes
    - Viewed (0)
  2. docs_src/path_params_numeric_validations/tutorial001_an.py

    from typing import Union
    
    from fastapi import FastAPI, Path, Query
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: Annotated[int, Path(title="The ID of the item to get")],
        q: Annotated[Union[str, None], Query(alias="item-query")] = None,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 417 bytes
    - Viewed (0)
  3. docs_src/body_multiple_params/tutorial005_an.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, item: Annotated[Item, Body(embed=True)]):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 457 bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/StorageTests.java

        }
    
        @Override
        protected String getItemEndpointSuffix() {
            return ITEM_ENDPOINT_SUFFIX;
        }
    
        @Override
        protected Map<String, Object> createTestParam(int id) {
            final Map<String, Object> requestBody = new HashMap<>();
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListLastIndexOfTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListLastIndexOfTester<E> extends AbstractListIndexOfTester<E> {
      @Override
      protected int find(Object o) {
        return getList().lastIndexOf(o);
      }
    
      @Override
      protected String getMethodName() {
        return "lastIndexOf";
      }
    
      @CollectionFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Boolean) {
                return (Boolean) o;
            } else if (o instanceof Number) {
                final int num = ((Number) o).intValue();
                return num != 0;
            } else if (o instanceof String) {
                final String s = (String) o;
                if ("true".equalsIgnoreCase(s)) {
                    return Boolean.TRUE;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/LsaPolicyHandle.java

    public class LsaPolicyHandle extends rpc.policy_handle implements AutoCloseable {
    
        private final DcerpcHandle handle;
        private boolean opened;
    
    
        public LsaPolicyHandle ( DcerpcHandle handle, String server, int access ) throws IOException {
            this.handle = handle;
            if ( server == null ) {
                server = "\\\\";
            }
            MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  8. fastapi/routing.py

            status_code: Optional[int] = None,
            tags: Optional[List[Union[str, Enum]]] = None,
            dependencies: Optional[Sequence[params.Depends]] = None,
            summary: Optional[str] = None,
            description: Optional[str] = None,
            response_description: str = "Successful Response",
            responses: Optional[Dict[Union[int, str], Dict[str, Any]]] = None,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  9. docs_src/body_nested_models/tutorial005_py310.py

        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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 468 bytes
    - Viewed (0)
  10. docs_src/schema_extra_example/tutorial003_py310.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: int,
        item: Item = Body(
            examples=[
                {
                    "name": "Foo",
                    "description": "A very nice Item",
                    "price": 35.4,
                    "tax": 3.2,
                }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 574 bytes
    - Viewed (0)
Back to top