Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 392 for panama (0.18 sec)

  1. docs/de/docs/tutorial/path-params-numeric-validations.md

        ```Python hl_lines="1  3"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="1  3"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="3-4"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_an.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:59:29 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/body-multiple-params.md

    === "Python 3.10+"
    
        ```Python hl_lines="17-19"
        {!> ../../../docs_src/body_multiple_params/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="19-21"
        {!> ../../../docs_src/body_multiple_params/tutorial001.py!}
        ```
    
    !!! note "Nota"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/query-params-str-validations.md

    # 查询参数和字符串校验
    
    **FastAPI** 允许你为参数声明额外的信息和校验。
    
    让我们以下面的应用程序为例:
    
    === "Python 3.10+"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params_str_validations/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params_str_validations/tutorial001.py!}
        ```
    
    查询参数 `q` 的类型为 `str`,默认值为 `None`,因此它是可选的。
    
    ## 额外的校验
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  4. tests/test_regex_deprecated_params.py

        return client
    
    
    @needs_py310
    def test_query_params_str_validations_no_query():
        client = get_client()
        response = client.get("/items/")
        assert response.status_code == 200
        assert response.json() == "Hello World"
    
    
    @needs_py310
    def test_query_params_str_validations_q_fixedquery():
        client = get_client()
        response = client.get("/items/", params={"q": "fixedquery"})
        assert response.status_code == 200
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/query-params-str-validations.md

        ```Python hl_lines="10"
        {!> ../../../docs_src/query_params_str_validations/tutorial003_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="10"
        {!> ../../../docs_src/query_params_str_validations/tutorial003_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="11"
        {!> ../../../docs_src/query_params_str_validations/tutorial003_an.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.acceptFrame() // SYN_REPLY
        peer.sendFrame().pushPromise(3, 2, headerEntries("b", "banana"))
        peer.acceptFrame() // RST_STREAM
        peer.play()
    
        // Play it back.
        val connection = connect(peer)
        connection.newStream(headerEntries("b", "banana"), false)
    
        // Verify the peer received what was expected.
        assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_HEADERS)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                        NavigableMap<String, String> map = new SafeTreeMap<>();
                        putEntries(map, entries);
                        map.put("banana", "toast");
                        map.put("eggplant", "spam");
                        return Maps.filterKeys(map, FILTER_KEYS);
                      }
                    })
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/path-params.md

    ```Python hl_lines="16"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    ### ✅ 🩺
    
    ↩️ 💪 💲 *➡ 🔢* 🔢, 🎓 🩺 💪 🎦 👫 🎆:
    
    <img src="/img/tutorial/path-params/image03.png">
    
    ### 👷 ⏮️ 🐍 *🔢*
    
    💲 *➡ 🔢* 🔜 *🔢 👨‍🎓*.
    
    #### 🔬 *🔢 👨‍🎓*
    
    👆 💪 🔬 ⚫️ ⏮️ *🔢 👨‍🎓* 👆 ✍ 🔢 `ModelName`:
    
    ```Python hl_lines="17"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### 🤚 *🔢 💲*
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/query-params.md

    ```Python hl_lines="8  10"
    {!../../../docs_src/query_params/tutorial004.py!}
    ```
    
    ## 필수 쿼리 매개변수
    
    경로가 아닌 매개변수에 대한 기본값을 선언할 때(지금은 쿼리 매개변수만 보았습니다), 해당 매개변수는 필수적(Required)이지 않았습니다.
    
    특정값을 추가하지 않고 선택적으로 만들기 위해선 기본값을 `None`으로 설정하면 됩니다.
    
    그러나 쿼리 매개변수를 필수로 만들려면 단순히 기본값을 선언하지 않으면 됩니다:
    
    ```Python hl_lines="6-7"
    {!../../../docs_src/query_params/tutorial005.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/query-params.md

    ## 可选参数
    
    同理,把默认值设为 `None` 即可声明**可选的**查询参数:
    
    === "Python 3.10+"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params/tutorial002.py!}
        ```
    
    
    本例中,查询参数 `q` 是可选的,默认值为 `None`。
    
    !!! check "检查"
    
        注意,**FastAPI** 可以识别出 `item_id` 是路径参数,`q` 不是路径参数,而是查询参数。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top