Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 498 for FLOAT (0.02 sec)

  1. docs/uk/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *}
    
    * `description: Union[str, None] = None` (або `str | None = None` у Python 3.10) має значення за замовчуванням `None`.
    * `tax: float = 10.5` має значення за замовчуванням `10.5`.
    * `tags: List[str] = []` має значення за замовчуванням порожній список: `[]`.
    
    Але Ви можете захотіти не включати їх у результат, якщо вони фактично не були збережені.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Jun 24 19:14:01 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/path-params.md

            }
        ]
    }
    ```
    
    これは、パスパラメータ `item_id` が `int` ではない値 `"foo"` だからです。
    
    <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a> で見られるように、intのかわりに `float` が与えられた場合にも同様なエラーが表示されます。
    
    /// check | 確認
    
    したがって、Pythonの型宣言を使用することで、**FastAPI**はデータのバリデーションを行います。
    
    表示されたエラーには問題のある箇所が明確に指摘されていることに注意してください。
    
    これは、APIに関連するコードの開発およびデバッグに非常に役立ちます。
    
    ///
    
    ## ドキュメント
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

                            elevateWord.setReading(reading);
                            elevateWord.setPermissions(permissions);
                            elevateWord.setBoost(StringUtil.isBlank(boost) ? 1.0f : Float.parseFloat(boost));
                            elevateWord.setCreatedBy(Constants.SYSTEM_USER);
                            elevateWord.setCreatedTime(now);
                            elevateWordBhv.insert(elevateWord);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/admin/crawlinginfo/admin_crawlinginfo_details.jsp

                                <la:message key="labels.crawling_info_title_confirm"/>
                            </h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item"><la:link href="/admin/crawlinginfo">
                                    <la:message key="labels.crawling_info_link_top"/>
                                </la:link></li>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/webconfig/CreateForm.java

        @ValidateTypeFailure
        public Integer intervalTime;
    
        /**
         * The boost value for documents from this web configuration.
         */
        @Required
        @ValidateTypeFailure
        public Float boost;
    
        /**
         * Whether this web configuration is available for crawling.
         */
        @Required
        @Size(max = 5)
        public String available;
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *}
    
    * `description: Union[str, None] = None` (or `str | None = None` in Python 3.10) has a default of `None`.
    * `tax: float = 10.5` has a default of `10.5`.
    * `tags: List[str] = []` has a default of an empty list: `[]`.
    
    but you might want to omit them from the result if they were not actually stored.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *}
    
    * `description: Union[str, None] = None` (ou `str | None = None` no Python 3.10) tem um padrão de `None`.
    * `tax: float = 10.5` tem um padrão de `10.5`.
    * `tags: List[str] = []` tem um padrão de uma lista vazia: `[]`.
    
    mas você pode querer omiti-los do resultado se eles não foram realmente armazenados.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  8. docs/de/docs/index.md

    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 09:39:53 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/path-params-numeric-validations.md

    ## Number validations: floats, greater than and less than { #number-validations-floats-greater-than-and-less-than }
    
    Number validations also work for `float` values.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

                return boost.toString();
            }
            return null;
        }
    
        public void setBoostValue(final String value) {
            if (value != null) {
                try {
                    boost = Float.parseFloat(value);
                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Invalid boost value, keeping current: value={}, error={}", value, e.getMessage());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top