Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1431 - 1440 of 1,966 for myitem (0.17 sec)

  1. docs_src/path_params_numeric_validations/tutorial003_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, Path
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: Annotated[int, Path(title="The ID of the item to get")], q: str
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 311 bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/query-params-str-validations.md

    Imaginez que vous vouliez que votre paramètre se nomme `item-query`.
    
    Comme dans la requête :
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    Mais `item-query` n'est pas un nom de variable valide en Python.
    
    Le nom le plus proche serait `item_query`.
    
    Mais vous avez vraiment envie que ce soit exactement `item-query`...
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:14:38 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. docs_src/dependencies/tutorial008d_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
    - 744 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            if (StringUtil.isNotBlank(fessConfig.getIndexDictionaryPrefix())) {
                String dictionaryPath = System.getProperty("fess.dictionary.path", StringUtil.EMPTY);
                if (StringUtil.isBlank(dictionaryPath)) {
                    System.setProperty("fess.dictionary.path", fessConfig.getIndexDictionaryPrefix() + "/");
                } else {
                    if (!dictionaryPath.endsWith("/")) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  5. src/main/resources/fess.xml

    		<postConstruct name="addDesignJspFileName">
    			<arg>"errorNotFound"</arg>
    			<arg>"error/notFound.jsp"</arg>
    		</postConstruct>
    		<postConstruct name="addDesignJspFileName">
    			<arg>"errorSystem"</arg>
    			<arg>"error/system.jsp"</arg>
    		</postConstruct>
    		<postConstruct name="addDesignJspFileName">
    			<arg>"errorBadRequest"</arg>
    			<arg>"error/badRequest.jsp"</arg>
    		</postConstruct>
    		<postConstruct name="addDesignJspFileName">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jul 28 09:03:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/plugin/admin_plugin.jsp

    <div class="wrapper">
        <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="system"/>
            <jsp:param name="menuType" value="plugin"/>
        </jsp:include>
        <div class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 10.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.Lists.charactersOf;
    import static java.lang.System.arraycopy;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.testing.TestCharacterListGenerator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

    import java.util.Date;
    
    /**
     * Describes a set of policies for a repository to use under certain conditions.
     *
     * @deprecated Avoid use of this type, if you need access to local repository use repository system session instead.
     */
    @Deprecated
    public class ArtifactRepositoryPolicy {
        public static final String UPDATE_POLICY_NEVER = "never";
    
        public static final String UPDATE_POLICY_ALWAYS = "always";
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/body.md

    * Ihnen die erhaltenen Daten im Parameter `item` übergeben.
        * Da Sie diesen in der Funktion als vom Typ `Item` deklariert haben, erhalten Sie die ganze Editor-Unterstützung (Autovervollständigung, usw.) für alle Attribute und deren Typen.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/body.md

    ```Python hl_lines="18"
    {!> ../../docs_src/body/tutorial001.py!}
    ```
    
    ////
    
    ……此处,请求体参数的类型为 `Item` 模型。
    
    ## 结论
    
    仅使用 Python 类型声明,**FastAPI** 就可以:
    
    * 以 JSON 形式读取请求体
    * (在必要时)把请求体转换为对应的类型
    * 校验数据:
        * 数据无效时返回错误信息,并指出错误数据的确切位置和内容
    * 把接收的数据赋值给参数 `item`
        * 把函数中请求体参数的类型声明为 `Item`,还能获得代码补全等编辑器支持
    * 为模型生成 <a href="https://json-schema.org" class="external-link" target="_blank">JSON Schema</a>,在项目中所需的位置使用
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top