Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 951 - 960 of 2,353 for myitem (0.04 seconds)

  1. docs/tr/docs/tutorial/stream-json-lines.md

    sequenceDiagram
        participant App
        participant Client
    
        App->>App: Produce Item 1
        App->>Client: Send Item 1
        App->>App: Produce Item 2
        Client->>Client: Process Item 1
        App->>Client: Send Item 2
        App->>App: Produce Item 3
        Client->>Client: Process Item 2
        App->>Client: Send Item 3
        Client->>Client: Process Item 3
        Note over App: Keeps producing...
        Note over Client: Keeps consuming...
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/body-multiple-params.md

    ///
    
    ## 嵌入單一 Body 參數 { #embed-a-single-body-parameter }
    
    假設你只有一個來自 Pydantic 模型 `Item` 的單一 `item` Body 參數。
    
    預設情況下,**FastAPI** 會直接期望該模型的內容作為請求主體。
    
    但如果你想讓它像宣告多個 Body 參數時那樣,期望一個帶有 `item` 鍵、其內含模型內容的 JSON,你可以使用 `Body` 的特殊參數 `embed`:
    
    ```Python
    item: Item = Body(embed=True)
    ```
    
    如下:
    
    {* ../../docs_src/body_multiple_params/tutorial005_an_py310.py hl[17] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  3. docs_src/body/tutorial003_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 330 bytes
    - Click Count (0)
  4. tests/test_tutorial/test_body_updates/test_tutorial001.py

                                },
                            },
                            "summary": "Read Item",
                            "operationId": "read_item_items__item_id__get",
                            "parameters": [
                                {
                                    "required": True,
                                    "schema": {"title": "Item Id", "type": "string"},
                                    "name": "item_id",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessConfigImpl.java

                }
    
                private String getFromCache(final String propertyKey) {
                    try {
                        return cache.get(propertyKey, () -> {
                            final String value = System.getProperty(Constants.FESS_CONFIG_PREFIX + propertyKey, super.get(propertyKey));
                            if (value == null) {
                                throw new KeyNotFoundException(propertyKey);
                            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 09:31:58 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            System.arraycopy(this.sourceKey, 0, dst, dstIndex, 24);
            dstIndex += 24;
    
            SMBUtil.writeInt4(this.chunks.length, dst, dstIndex);
            dstIndex += 4;
    
            dstIndex += 4; // Reserved
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  7. 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",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/stream-json-lines.md

    sequenceDiagram
        participant App
        participant Client
    
        App->>App: Produce Item 1
        App->>Client: Send Item 1
        App->>App: Produce Item 2
        Client->>Client: Process Item 1
        App->>Client: Send Item 2
        App->>App: Produce Item 3
        Client->>Client: Process Item 2
        App->>Client: Send Item 3
        Client->>Client: Process Item 3
        Note over App: Keeps producing...
        Note over Client: Keeps consuming...
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  9. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/ElasticsearchTestBasePluginFuncTest.groovy

            file("src/test/java/acme/SomeTests.java").text = """
    
            public class SomeTests {
                @org.junit.Test
                public void testSysInput() {
                    org.junit.Assert.assertEquals("bar", System.getProperty("foo"));
                }
            }
    
            """
            buildFile.text = """
                plugins {
                 id 'java'
                 id 'elasticsearch.test-base'
                }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

        }
    
        /**
         * Checks if the item has been updated.
         *
         * @return true if the item has been updated, false otherwise.
         */
        public boolean isUpdated() {
            return newInputs != null && newOutputs != null;
        }
    
        /**
         * Checks if the item has been marked for deletion.
         *
         * @return true if the item is marked for deletion, false otherwise.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top