Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 636 for float64 (0.64 sec)

  1. docs/uk/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: Sat Oct 11 17:48:49 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. src/main/webapp/WEB-INF/orig/view/searchResults.jsp

    											${f:h(fe:label(countEntry.key))} 
    											<span class="badge rounded-pill text-bg-secondary float-end">${f:h(countEntry.value)}</span>
    									</la:link></li>
    							</c:if>
    						</c:forEach>
    					</ul>
    				</c:if>
    			</c:forEach>
    			<c:forEach var="facetQueryView" items="${fe:facetQueryViewList()}">
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jan 18 05:32:37 UTC 2025
    - 9.1K bytes
    - Viewed (1)
  3. tests/test_webhooks_security.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    bearer_scheme = HTTPBearer()
    
    
    class Subscription(BaseModel):
        username: str
        monthly_fee: float
        start_date: datetime
    
    
    @app.webhooks.post("new-subscription")
    def new_subscription(
        body: Subscription, token: Annotated[str, Security(bearer_scheme)]
    ):
        """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java

             * Sets the weight for the request data.
             *
             * @param weight the weight to set
             * @return the current RequestDataContext instance
             */
            public RequestDataContext weight(final float weight) {
                data.setWeight(weight);
                return this;
            }
    
            /**
             * Builds and returns the constructed RequestData object.
             *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/dict/stemmeroverride/admin_dict_stemmeroverride_download.jsp

                                <la:message key="labels.dict_stemmeroverride_title"/>
                            </h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item"><la:link href="/admin/dict">
                                    <la:message key="labels.dict_list_link"/>
                                </la:link></li>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/dict/protwords/admin_dict_protwords_upload.jsp

                                <la:message key="labels.dict_protwords_title"/>
                            </h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item"><la:link href="/admin/dict">
                                    <la:message key="labels.dict_list_link"/>
                                </la:link></li>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/dict/synonym/admin_dict_synonym_upload.jsp

                                <la:message key="labels.dict_synonym_title"/>
                            </h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item"><la:link href="/admin/dict">
                                    <la:message key="labels.dict_list_link"/>
                                </la:link></li>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/FileConfigDbm.java

                false, "Boolean", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnBoost = cci("boost", "boost", null, null, Float.class, "boost", null, false, false, false, "Float", 0,
                0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnConfigParameter = cci("configParameter", "configParameter", null, null, String.class,
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 18K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/path-params.md

                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    这是因为路径参数 `item_id` 的值 (`"foo"`)的类型不是 `int`。
    
    值的类型不是 `int ` 而是浮点数(`float`)时也会显示同样的错误,比如: <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>
    
    /// check | 检查
    
    **FastAPI** 使用 Python 类型声明实现了数据校验。
    
    注意,上面的错误清晰地指出了未通过校验的具体原因。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 15 16:43:19 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/path-params.md

          "input": "foo"
        }
      ]
    }
    ```
    
    porque o parâmetro de path `item_id` tinha o valor `"foo"`, que não é um `int`.
    
    O mesmo erro apareceria se você fornecesse um `float` em vez de um `int`, como em: <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>
    
    /// check | Verifique
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top