Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 880 for Item (0.03 sec)

  1. internal/s3select/csv/reader.go

    		if r.err != nil {
    			return nil, r.err
    		}
    		// Move to next block
    		item, ok := <-r.queue
    		if !ok {
    			r.err = io.EOF
    			return nil, r.err
    		}
    		//nolint:staticcheck // SA6002 Using pointer would allocate more since we would have to copy slice header before taking a pointer.
    		r.csvDstPool.Put(r.current)
    		r.current = <-item.dst
    		r.err = item.err
    		r.recordsRead = 0
    	}
    	csvRecord := r.current[r.recordsRead]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_dependencies/test_tutorial008b_an.py

    client = TestClient(app)
    
    
    def test_get_no_item():
        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Item not found"}
    
    
    def test_owner_error():
        response = client.get("/items/plumbus")
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Owner error: Rick"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 26 20:37:34 UTC 2023
    - 700 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

                    try {
                        popularWordsRequestBuilder.execute().getResponse().getItems().stream().forEach(item -> wordList.add(item.getText()));
                    } catch (final SuggesterException e) {
                        logger.warn("Failed to generate popular words.", e);
                    }
    
                    return wordList;
                });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. docs_src/dependencies/tutorial008c_an.py

            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
                status_code=404, detail="Item not found, there's only a plumbus here"
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 710 bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    			item.heal.bitrot = f.scanMode == madmin.HealDeepScan
    
    			sz, err := f.getSize(item)
    			if err != nil && err != errIgnoreFileContrib {
    				wait() // wait to proceed to next entry.
    				if err != errSkipFile && f.dataUsageScannerDebug {
    					console.Debugf(scannerLogPrefix+" getSize \"%v/%v\" returned err: %v\n", bucket, item.objectPath(), err)
    				}
    				return nil
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/body-updates.md

    **FastAPI** 对此没有任何限制,可以**随意**互换使用这两种操作。
    
    但本指南也会分别介绍这两种操作各自的用途。
    
    ///
    
    ### 使用 Pydantic 的 `exclude_unset` 参数
    
    更新部分数据时,可以在 Pydantic 模型的 `.dict()` 中使用 `exclude_unset` 参数。
    
    比如,`item.dict(exclude_unset=True)`。
    
    这段代码生成的 `dict` 只包含创建 `item` 模型时显式设置的数据,而不包括默认值。
    
    然后再用它生成一个只含已设置(在请求中所发送)数据,且省略了默认值的 `dict`:
    
    ```Python hl_lines="34"
    {!../../docs_src/body_updates/tutorial002.py!}
    ```
    
    ### 使用 Pydantic 的 `update` 参数
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/query-params.md

                "type": "value_error.missing"
            }
        ]
    }
    ```
    
    `needy` は必須のパラメータなので、URLにセットする必要があります:
    
    ```
    http://127.0.0.1:8000/items/foo-item?needy=sooooneedy
    ```
    
    ...これはうまくいくでしょう:
    
    ```JSON
    {
        "item_id": "foo-item",
        "needy": "sooooneedy"
    }
    ```
    
    そして当然、あるパラメータを必須に、別のパラメータにデフォルト値を設定し、また別のパラメータをオプショナルにできます:
    
    ```Python hl_lines="10"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/badword/admin_badword_details.jsp

                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item"><la:link href="/admin/badword">
                                    <la:message key="labels.bad_word_link_list"/>
                                </la:link></li>
                                <li class="breadcrumb-item active"><la:message
                                        key="labels.bad_word_link_details"/></li>
                            </ol>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/query-params-str-validations.md

    ```Python hl_lines="13"
    {!../../docs_src/query_params_str_validations/tutorial008.py!}
    ```
    
    ## 别名参数
    
    假设你想要查询参数为 `item-query`。
    
    像下面这样:
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    但是 `item-query` 不是一个有效的 Python 变量名称。
    
    最接近的有效名称是 `item_query`。
    
    但是你仍然要求它在 URL 中必须是 `item-query`...
    
    这时你可以用 `alias` 参数声明一个别名,该别名将用于在 URL 中查找查询参数值:
    
    ```Python hl_lines="9"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/plugins/form-validator/lang/nl.js

    onjuist telefoonnummer ingevoerd",badTime:"U heeft een incorrecte tijd aangegeven",badUrl:"De ingevoerde waarde is geen correcte URL",badreCaptcha:"Bevestig a.u.b. dat u geen robot bent",errorTitle:"Indienen van formulier mislukt!",groupCheckedEnd:" item(s)",groupCheckedRangeStart:"Kies a.u.b. tussen ",groupCheckedTooFewStart:"Kies a.u.b. ten minste ",groupCheckedTooManyStart:"Kies a.u.b. maximaal ",imageRatioNotAccepted:"De afbeeldingsverhouding wordt niet geaccepteerd",imageTooSmall:"de afbeelding...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.4K bytes
    - Viewed (0)
Back to top