Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 1,966 for myitem (0.05 sec)

  1. docs_src/schema_extra_example/tutorial002_py310.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str = Field(examples=["Foo"])
        description: str | None = Field(default=None, examples=["A very nice Item"])
        price: float = Field(examples=[35.4])
        tax: float | None = Field(default=None, examples=[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 Jun 30 18:25:16 UTC 2023
    - 479 bytes
    - Viewed (0)
  2. istioctl/pkg/config/config_test.go

    authority                                default
    cert-dir                                 default
    insecure                                 default
    istioNamespace          istio-system     default
    plaintext                                default
    prefer-experimental                      default
    xds-address                              default
    xds-port                15012            default
    `,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. docs_src/schema_extra_example/tutorial004.py

    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: Item = Body(
            examples=[
                {
                    "name": "Foo",
                    "description": "A very nice Item",
                    "price": 35.4,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jul 01 16:43:29 UTC 2023
    - 824 bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

    /**
     * Shared methods of the repository metadata handling.
     *
     */
    @Deprecated
    public abstract class AbstractRepositoryMetadata implements RepositoryMetadata {
        private static final String LS = System.lineSeparator();
    
        private Metadata metadata;
    
        protected AbstractRepositoryMetadata(Metadata metadata) {
            this.metadata = metadata;
        }
    
        public String getRemoteFilename() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. fess-crawler/src/test/resources/extractor/test.xml

    <address xmlns:hoge="http://www.example.com/hoge">
    	<item sex="male" custid="A12345">
    		<name>鈴木太郎</name>
    		<access kind="email"></access>
    		<access kind="url">http://www.taro.com/</access>
    		<image file="taro.png" />
    	</item>
    	<item sex="male" custid="B23456">
    		<name>佐藤二朗</name>
    		<access kind="email">******@****.***</access>
    		<image file="jiro.png" />
    	</item>
    	<item sex="female" custid="C34567">
    		<name>田中花子</name>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 582 bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

        private int lastLength;
    
        public ConsoleTransferListener() {
            this(null);
        }
    
        public ConsoleTransferListener(PrintStream out) {
            this.out = (out != null) ? out : System.out;
        }
    
        @Override
        public void transferInitiated(TransferEvent event) {
            String message = event.getRequestType() == TransferEvent.RequestType.PUT ? "Uploading" : "Downloading";
    
            println(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/body-multiple-params.md

    Suponha que você tem um único parâmetro de corpo `item`, a partir de um modelo Pydantic `Item`.
    
    Por padrão, o **FastAPI** esperará que seu conteúdo venha no corpo diretamente.
    
    Mas se você quiser que ele espere por um JSON com uma chave `item` e dentro dele os conteúdos do modelo, como ocorre ao declarar vários parâmetros de corpo, você pode usar o parâmetro especial de `Body` chamado `embed`:
    
    ```Python
    item: Item = Body(embed=True)
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        try {
          equalsTester.testEquals();
        } catch (AssertionFailedError e) {
          assertErrorMessage(
              e,
              equalObject1
                  + " [group 1, item 1] must be Object#equals to "
                  + notEqualObject1
                  + " [group 1, item 2]");
          return;
        }
        fail("Should get not equal to equal object error");
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/common/admin/crud/breadcrumb.jsp

    	<c:if test="${crudMode == null}">
    		<li class="breadcrumb-item active"><la:message key="labels.crud_link_list" /></li>
    	</c:if>
    	<c:if test="${crudMode != null}">
    		<li class="breadcrumb-item"><la:link href="../list">
    				<la:message key="labels.crud_link_list" />
    			</la:link></li>
    	</c:if>
    	<c:if test="${crudMode == 1}">
    		<li class="breadcrumb-item active"><la:message key="labels.crud_link_create" /></li>
    	</c:if>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 919 bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                        // shouldn't happen if alloc_hint is correct or greater
                        byte[] tmp = new byte[off + stub_frag_len];
                        System.arraycopy(stub, 0, tmp, 0, off);
                        stub = tmp;
                    }
    
                    System.arraycopy(frag, 24, stub, off, stub_frag_len);
                    off += stub_frag_len;
                }
    
                buf = new NdrBuffer(stub, 0);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
Back to top