Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 623 for dich (0.03 sec)

  1. 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)
  2. 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)
  3. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

        return suite;
      }
    
      Set<String> friends;
      Set<String> enemies;
    
      @Override
      public void setUp() {
        friends = newHashSet("Tom", "Joe", "Dave");
        enemies = newHashSet("Dick", "Harry", "Tom");
      }
    
      public void testUnion() {
        Set<String> all = Sets.union(friends, enemies);
        assertEquals(5, all.size());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. fastapi/security/oauth2.py

        [FastAPI docs for Security](https://fastapi.tiangolo.com/tutorial/security/).
        """
    
        def __init__(
            self,
            *,
            flows: Annotated[
                Union[OAuthFlowsModel, Dict[str, Dict[str, Any]]],
                Doc(
                    """
                    The dictionary of OAuth2 flows.
                    """
                ),
            ] = OAuthFlowsModel(),
            scheme_name: Annotated[
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K 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/fr/docs/advanced/additional-responses.md

    Vous pouvez ajouter à votre décorateur de *paramètre de chemin* un paramètre `responses`.
    
    Il prend comme valeur un `dict` dont les clés sont des codes HTTP pour chaque réponse, comme `200`, et la valeur de ces clés sont d'autres `dict` avec des informations pour chacun d'eux.
    
    Chacun de ces `dict` de réponse peut avoir une clé `model`, contenant un modèle Pydantic, tout comme `response_model`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. docs/zh/docs/python-types.md

    * 变量 `items_s` 是一个 `set`,其中的每个元素都是 `bytes` 类型。
    
    #### 字典
    
    定义 `dict` 时,需要传入两个子类型,用逗号进行分隔。
    
    第一个子类型声明 `dict` 的所有键。
    
    第二个子类型声明 `dict` 的所有值:
    
    ```Python hl_lines="1  4"
    {!../../docs_src/python_types/tutorial008.py!}
    ```
    
    这表示:
    
    * 变量 `prices` 是一个 `dict`:
        * 这个 `dict` 的所有键为 `str` 类型(可以看作是字典内每个元素的名称)。
        * 这个 `dict` 的所有值为 `float` 类型(可以看作是字典内每个元素的价格)。
    
    ### 类作为类型
    
    你也可以将类声明为变量的类型。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top