Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 1,966 for myitem (0.07 sec)

  1. docs_src/additional_responses/tutorial004.py

    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        id: str
        value: str
    
    
    responses = {
        404: {"description": "Item not found"},
        302: {"description": "The item was moved"},
        403: {"description": "Not enough privileges"},
    }
    
    
    app = FastAPI()
    
    
    @app.get(
        "/items/{item_id}",
        response_model=Item,
        responses={**responses, 200: {"content": {"image/png": {}}}},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 701 bytes
    - Viewed (0)
  2. docs_src/additional_responses/tutorial001.py

    from fastapi import FastAPI
    from fastapi.responses import JSONResponse
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        id: str
        value: str
    
    
    class Message(BaseModel):
        message: str
    
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}", response_model=Item, responses={404: {"model": Message}})
    async def read_item(item_id: str):
        if item_id == "foo":
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 26 13:32:30 UTC 2022
    - 506 bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                else {
                    System.arraycopy(this.password, 0, dst, dstIndex, this.passwordLength);
                    dstIndex += this.passwordLength;
                }
            }
            else {
                // no password in tree connect
                dst[ dstIndex++ ] = (byte) 0x00;
            }
            dstIndex += writeString(this.path, dst, dstIndex);
            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                System.arraycopy( password, 0, dst, dstIndex, passwordLength );
                dstIndex += passwordLength;
            } else {
                // no password in tree connect
                dst[dstIndex++] = (byte)0x00;
            }
            dstIndex += writeString( path, dst, dstIndex );
            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  5. docs_src/dependencies/tutorial008b_an_py39.py

    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id not in data:
            raise HTTPException(status_code=404, detail="Item not found")
        item = data[item_id]
        if item["owner"] != username:
            raise OwnerError(username)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 26 20:37:34 UTC 2023
    - 775 bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java

            int start = bufferIndex;
    
            this.capabilities = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            System.arraycopy(buffer, bufferIndex, this.serverGuid, 0, 16);
            bufferIndex += 16;
    
            this.securityMode = SMBUtil.readInt2(buffer, bufferIndex);
            this.dialect = SMBUtil.readInt2(buffer, bufferIndex + 2);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/JavaToolchain.java

     * under the License.
     */
    package org.apache.maven.api;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Represents a Java toolchain in the Maven build system.
     *
     * <p>A Java toolchain is a specific type of toolchain that provides access
     * to Java development tools, such as the Java compiler and Java runtime
     * environment. This interface allows users to define and configure
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. docs/uk/docs/index.md

        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    Сервер повинен автоматично перезавантажуватися (тому що Ви додали `--reload` до `uvicorn` команди вище).
    
    ### Оновлення інтерактивної API документації
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

                        for (FileItem item : multiparts) {
                            if (!item.isFormField()) {
                                // item is not form field.
                            } else {
                                String name = item.getFieldName();
                                String value = item.getString();
                                response.getWriter().write(name + "," + value);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. dbflute_fess/dfprop/lastafluteMap.dfprop

        ; domainPackage = org.codelibs.fess
    
        # keywords for environment properties, same as directory name
        ; environmentList = list:{}
    
        # environment dispatch by lasta.env of system property?
        ; isUseLastaEnv = false
    
        # settings for web applications
        ; appMap = map:{
            ; fess = map:{
                ; path = ..
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun May 20 08:20:11 UTC 2018
    - 2.2K bytes
    - Viewed (0)
Back to top