Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 594 for bar6 (0.05 sec)

  1. okhttp/src/test/java/okhttp3/WebPlatformUrlTestData.kt

     *
     * Each line of the `urltestdata.txt` file specifies a test. Lines look like this:
     *
     * ```
     * http://example\t.\norg http://example.org/foo/bar s:http h:example.org p:/
     * ```
     */
    class WebPlatformUrlTestData {
      var input: String? = null
      var base: String? = null
      var scheme = ""
      var username = ""
      var password: String? = null
      var host = ""
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/advanced-dependencies.md

    ```
    
    本例中,**FastAPI** 不使用 `__init__`,我们要直接在代码中使用。
    
    ## 创建实例
    
    使用以下代码创建类实例:
    
    ```Python hl_lines="16"
    {!../../docs_src/dependencies/tutorial011.py!}
    ```
    
    这样就可以**参数化**依赖项,它包含 `checker.fixed_content` 的属性 - `"bar"`。
    
    ## 把实例作为依赖项
    
    然后,不要再在 `Depends(checker)` 中使用 `Depends(FixedContentQueryChecker)`, 而是要使用 `checker`,因为依赖项是类实例 - `checker`,不是类。
    
    处理依赖项时,**FastAPI** 以如下方式调用 `checker`:
    
    ```Python
    checker(q="somequery")
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/response-model.md

    ///
    
    #### 기본값이 있는 필드를 갖는 값의 데이터
    
    하지만 모델의 필드가 기본값이 있어도 ID가 `bar`인 항목(items)처럼 데이터가 값을 갖는다면:
    
    ```Python hl_lines="3  5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    응답에 해당 값들이 포함됩니다.
    
    #### 기본값과 동일한 값을 갖는 데이터
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         * <tr>
         * <td>{@literal foo}</td>
         * <td>{@literal foo}</td>
         * </tr>
         * <tr>
         * <td>{@literal foo_bar}</td>
         * <td>{@literal foo.bar}</td>
         * </tr>
         * <tr>
         * <td>{@literal foo_bar_baz}</td>
         * <td>{@literal foo.bar.baz}</td>
         * </tr>
         * </table>
         *
         * @param beanDelimiter
         *            JavaBeansのデリミタ
         * @return このインスタンス自身
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_schema_extra_example/test_tutorial005_an.py

                                            "description": "FastAPI can convert price `strings` to actual `numbers` automatically",
                                            "value": {"name": "Bar", "price": "35.4"},
                                        },
                                        "invalid": {
                                            "summary": "Invalid data is rejected with an error",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_schema_extra_example/test_tutorial005_py310.py

                                            "description": "FastAPI can convert price `strings` to actual `numbers` automatically",
                                            "value": {"name": "Bar", "price": "35.4"},
                                        },
                                        "invalid": {
                                            "summary": "Invalid data is rejected with an error",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        val pushPromise =
          PushPromise(
            "GET",
            "/foo/bar",
            headersOf("foo", "bar"),
            MockResponse(body = "bar"),
          )
        server.enqueue(
          MockResponse.Builder()
            .body("ABCDE")
            .addPush(pushPromise)
            .build(),
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/advanced-dependencies.md

    ## Create an instance
    
    We could create an instance of this class with:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[18] *}
    
    And that way we are able to "parameterize" our dependency, that now has `"bar"` inside of it, as the attribute `checker.fixed_content`.
    
    ## Use the instance as a dependency
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:10:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      public void testControlsArraySize() {
        ImmutableSet.Builder<String> builder = new ImmutableSet.Builder<String>();
        for (int i = 0; i < 10; i++) {
          builder.add("foo");
        }
        builder.add("bar");
        RegularImmutableSet<String> set = (RegularImmutableSet<String>) builder.build();
        assertTrue(set.elements.length <= 2 * set.size());
      }
    
      @GwtIncompatible("internals")
      public void testReusedBuilder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/handling-errors.md

    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Aber wenn der Client `http://example.com/items/bar` anfragt (ein nicht-existierendes `item_id` `"bar"`), erhält er einen HTTP-Statuscode 404 (der „Not Found“-Fehler), und eine JSON-Response wie folgt:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | "Tipp"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top