Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 1,832 for _parameters (0.06 seconds)

  1. docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    In this example above, the input model is a Pydantic v1 model, and the output model (defined in `response_model=ItemV2`) is a Pydantic v2 model.
    
    ### Pydantic v1 parameters { #pydantic-v1-parameters }
    
    If you need to use some of the FastAPI-specific tools for parameters like `Body`, `Query`, `Form`, etc. with Pydantic v1 models, you can import them from `fastapi.temp_pydantic_v1_params` while you finish the migration to Pydantic v2:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  2. docs/tr/docs/tutorial/path-params-numeric-validations.md

    # Path Parametreleri ve Sayısal Doğrulamalar { #path-parameters-and-numeric-validations }
    
    `Query` ile query parametreleri için daha fazla doğrulama ve metadata tanımlayabildiğiniz gibi, `Path` ile de path parametreleri için aynı tür doğrulama ve metadata tanımlayabilirsiniz.
    
    ## `Path`'i İçe Aktarın { #import-path }
    
    Önce `fastapi` içinden `Path`'i ve `Annotated`'ı içe aktarın:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  3. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

        } ?: throw IllegalArgumentException("No such suite: $javaName")
    }
    
    suspend fun fetchIanaSuites(okHttpClient: OkHttpClient): IanaSuites {
      val url = "https://www.iana.org/assignments/tls-parameters/tls-parameters-4.csv"
    
      val call = okHttpClient.newCall(Request(url.toHttpUrl()))
    
      val suites =
        call.executeAsync().use {
          if (!it.isSuccessful) {
            throw IOException("Failed ${it.code} ${it.message}")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/cookie-params.md

    # Cookie 参数 { #cookie-parameters }
    
    定义 `Cookie` 参数与定义 `Query` 和 `Path` 参数一样。
    
    ## 导入 `Cookie` { #import-cookie }
    
    首先,导入 `Cookie`:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3] *}
    
    ## 声明 `Cookie` 参数 { #declare-cookie-parameters }
    
    声明 `Cookie` 参数的方式与声明 `Query` 和 `Path` 参数相同。
    
    第一个值是默认值,还可以传递所有验证参数或注释参数:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[9] *}
    
    /// note | 技术细节
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:39:41 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  5. docs/de/docs/advanced/using-request-directly.md

    /// tip | Tipp
    
    Beachten Sie, dass wir in diesem Fall einen Pfad-Parameter zusätzlich zum Request-Parameter deklarieren.
    
    Der Pfad-Parameter wird also extrahiert, validiert, in den spezifizierten Typ konvertiert und mit OpenAPI annotiert.
    
    Auf die gleiche Weise können Sie wie gewohnt jeden anderen Parameter deklarieren und zusätzlich auch den `Request` erhalten.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

     */
    public class WitnessRegisterMessage extends WitnessRpcMessage {
    
        // Input parameters for WitnessRegister
        private WitnessVersion version;
        private String netName;
        private String shareName;
        private String ipAddress;
        private String clientComputerName;
        private int flags;
        private int timeout;
    
        // Output parameters for WitnessRegister
        private byte[] contextHandle;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. tests/test_request_params/test_header/test_optional_list.py

    
    @pytest.mark.parametrize(
        "path",
        ["/optional-list-str", "/model-optional-list-str"],
    )
    def test_optional_list_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == snapshot(
            [
                {
                    "required": False,
                    "schema": {
                        "anyOf": [
                            {"items": {"type": "string"}, "type": "array"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/dependencies/sub-dependencies.md

    Betrachten wir die deklarierten Parameter:
    
    * Obwohl diese Funktion selbst eine Abhängigkeit ist („Dependable“, etwas hängt von ihr ab), deklariert sie auch eine andere Abhängigkeit („Dependant“, sie hängt von etwas anderem ab).
        * Sie hängt von `query_extractor` ab und weist den von diesem zurückgegebenen Wert dem Parameter `q` zu.
    * Sie deklariert außerdem ein optionales `last_query`-Cookie, ein `str`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            // Test that the subcommand is properly set
            assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, response.getSubCommand());
        }
    
        @Test
        void testReadParametersWireFormat() {
            // Test reading parameters from a properly formatted buffer
            byte[] buffer = new byte[20];
    
            // Set up the buffer with test data
            // sid (2 bytes)
            buffer[0] = 0x01;
            buffer[1] = 0x00;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ComparisonChain.java

     * .compare(a.foo, b.bar)}. {@code ComparisonChain} also has a potential performance problem that
     * {@code Comparator} doesn't: it evaluates all the parameters of all the {@code .compare} calls,
     * even when the result of the comparison is already known from previous {@code .compare} calls.
     * That can be expensive.
     *
     * @author Mark Davis
     * @author Kevin Bourrillion
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 11.1K bytes
    - Click Count (0)
Back to Top