Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 513 for dictId (0.06 sec)

  1. fastapi/applications.py

                    ```
                    """
                ),
            ] = None,
            servers: Annotated[
                Optional[List[Dict[str, Union[str, Any]]]],
                Doc(
                    """
                    A `list` of `dict`s with connectivity information to a target server.
    
                    You would use it, for example, if your application is served from
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/dependencies/classes-as-dependencies.md

    ⏭ 🤿 ⏬ 🔘 **🔗 💉** ⚙️, ➡️ ♻ ⏮️ 🖼.
    
    ##  `dict` ⚪️➡️ ⏮️ 🖼
    
    ⏮️ 🖼, 👥 🛬 `dict` ⚪️➡️ 👆 🔗 ("☑"):
    
    //// tab | 🐍 3️⃣.6️⃣ & 🔛
    
    ```Python hl_lines="9"
    {!> ../../docs_src/dependencies/tutorial001.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛
    
    ```Python hl_lines="7"
    {!> ../../docs_src/dependencies/tutorial001_py310.py!}
    ```
    
    ////
    
    ✋️ ⤴️ 👥 🤚 `dict` 🔢 `commons` *➡ 🛠️ 🔢*.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. docs_src/dependency_testing/tutorial001.py

    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. docs_src/dependency_testing/tutorial001_an_py310.py

        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/testing.md

    接着只需在测试中同样操作。
    
    示例:
    
    * 传一个*路径* 或*查询* 参数,添加到URL上。
    * 传一个JSON体,传一个Python对象(例如一个`dict`)到参数 `json`。
    * 如果你需要发送 *Form Data* 而不是 JSON,使用 `data` 参数。
    * 要发送 *headers*,传 `dict` 给 `headers` 参数。
    * 对于 *cookies*,传 `dict` 给 `cookies` 参数。
    
    关于如何传数据给后端的更多信息 (使用`httpx` 或 `TestClient`),请查阅 <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX 文档</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsItem.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.dict.protwords;
    
    import org.apache.commons.lang3.StringUtils;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.dict.DictionaryItem;
    
    public class ProtwordsItem extends DictionaryItem {
        private final String input;
    
        private String newInput;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.dict.synonym;
    
    import java.util.Arrays;
    import java.util.Objects;
    
    import org.apache.commons.lang3.StringUtils;
    import org.codelibs.core.collection.ArrayUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.dict.DictionaryItem;
    
    public class SynonymItem extends DictionaryItem {
        private final String[] inputs;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. scripts/docs.py

        subprocess.run(
            args, env={**os.environ, "LINENUMS": "true"}, cwd=lang_path, check=True
        )
    
    
    def get_updated_config_content() -> Dict[str, Any]:
        config = get_en_config()
        languages = [{"en": "/"}]
        new_alternate: List[Dict[str, str]] = []
        # Language names sourced from https://quickref.me/iso-639-1
        # Contributors may wish to update or change these, e.g. to fix capitalization.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 08 11:01:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/templates.md

    ```Python hl_lines="4  11  15-18"
    {!../../docs_src/templates/tutorial001.py!}
    ```
    
    /// note
    
    Antes do FastAPI 0.108.0, Starlette 0.29.0, `name` era o primeiro parâmetro.
    
    Além disso, em versões anteriores, o objeto `request` era passado como parte dos pares chave-valor no "context" dict para o Jinja2.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md

    ## 来自前一个例子的`dict`
    
    在前面的例子中, 我们从依赖项 ("可依赖对象") 中返回了一个 `dict`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="7"
    {!> ../../docs_src/dependencies/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/dependencies/tutorial001.py!}
    ```
    
    ////
    
    但是后面我们在路径操作函数的参数 `commons` 中得到了一个 `dict`。
    
    我们知道编辑器不能为 `dict` 提供很多支持(比如补全),因为编辑器不知道 `dict` 的键和值类型。
    
    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