Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 1,966 for myitem (0.1 sec)

  1. docs_src/schema_extra_example/tutorial004_an.py

    from typing_extensions import Annotated
    
    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: Sat Jul 01 16:43:29 UTC 2023
    - 965 bytes
    - Viewed (0)
  2. docs_src/body_fields/tutorial001_an_py39.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 582 bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndXResponse.java

            }
            return bufferIndex - start;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            int start = bufferIndex;
    
            if (extendedSecurity) {
                System.arraycopy(buffer, bufferIndex, blob, 0, blob.length);
                bufferIndex += blob.length;
            }
            nativeOs = readString( buffer, bufferIndex );
            bufferIndex += stringWireLength( nativeOs, bufferIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

            int start = dstIndex;
            SMBUtil.writeInt2(24, dst, dstIndex);
            dstIndex += 2;
            dstIndex += 2; // Reserved1
            dstIndex += 4; // Reserved2
    
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_additional_responses/test_tutorial003.py

                            },
                            "200": {
                                "description": "Item requested by ID",
                                "content": {
                                    "application/json": {
                                        "schema": {"$ref": "#/components/schemas/Item"},
                                        "example": {
                                            "id": "bar",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NetShareEnum.java

                descr = DESCR.getBytes( "ASCII" );
            } catch( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            writeInt2( NET_SHARE_ENUM, dst, dstIndex );
            dstIndex += 2;
            System.arraycopy( descr, 0, dst, dstIndex, descr.length );
            dstIndex += descr.length;
            writeInt2( 0x0001, dst, dstIndex );
            dstIndex += 2;
            writeInt2( maxDataCount, dst, dstIndex );
            dstIndex += 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * Test the artifact resolution exception message
     *
     */
    class ArtifactResolutionExceptionTest {
        private static final String LS = System.lineSeparator();
    
        @Test
        void testMissingArtifactMessageFormat() {
            String message = "Missing artifact";
            String indentation = "  ";
            String groupId = "aGroupId";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

                    if (mavenArtifactJar.matcher(filename).matches()) {
                        Process p = Runtime.getRuntime().exec(new String[] {
                            Paths.get(System.getProperty("java.home"), "bin/java").toString(),
                            "-jar",
                            file.toAbsolutePath().toString(),
                            "5.32",
                            "5.27"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

                    this.lastAccess = info.getLastAccessTime();
                    this.attrExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout();
                }
                else if ( info instanceof FileStandardInfo ) {
                    this.size = info.getSize();
                    this.sizeExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout();
                }
                return info;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/error/admin_error.jsp

    <div class="wrapper">
        <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="system"/>
            <jsp:param name="menuType" value="wizard"/>
        </jsp:include>
    
        <div class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 12:21:50 UTC 2020
    - 1.4K bytes
    - Viewed (0)
Back to top