Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 239 for Parameters (0.58 sec)

  1. docs/en/docs/reference/parameters.md

    # Request Parameters
    
    Here's the reference information for the request parameters.
    
    These are the special functions that you can put in *path operation function* parameters or dependency functions with `Annotated` to get data from the request.
    
    It includes:
    
    * `Query()`
    * `Path()`
    * `Body()`
    * `Cookie()`
    * `Header()`
    * `Form()`
    * `File()`
    
    You can import them all directly from `fastapi`:
    
    ```python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 603 bytes
    - Viewed (0)
  2. docs/de/docs/reference/parameters.md

    # Request-Parameter
    
    Hier die Referenzinformationen für die Request-Parameter.
    
    Dies sind die Sonderfunktionen, die Sie mittels `Annotated` in *Pfadoperation-Funktion*-Parameter oder Abhängigkeitsfunktionen einfügen können, um Daten aus dem Request abzurufen.
    
    Dies beinhaltet:
    
    * `Query()`
    * `Path()`
    * `Body()`
    * `Cookie()`
    * `Header()`
    * `Form()`
    * `File()`
    
    Sie können diese alle direkt von `fastapi` importieren:
    
    ```python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:17:26 GMT 2024
    - 635 bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params.md

        {!> ../../../docs_src/query_params/tutorial002.py!}
        ```
    
    In this case, the function parameter `q` will be optional, and will be `None` by default.
    
    !!! check
        Also notice that **FastAPI** is smart enough to notice that the path parameter `item_id` is a path parameter and `q` is not, so, it's a query parameter.
    
    ## Query parameter type conversion
    
    You can also declare `bool` types, and they will be converted:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Oct 20 09:08:42 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  4. android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt

          if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
            val parameters = sslSocket.sslParameters
            Log.d("CustomSSLSocketFactory", "old applicationProtocols: $parameters.applicationProtocols")
            parameters.applicationProtocols = arrayOf("x-amzn-http-ca")
            sslSocket.sslParameters = parameters
          }
    
          return sslSocket
        }
      }
    
      var client = OkHttpClient()
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body.md

        {!> ../../../docs_src/body/tutorial004.py!}
        ```
    
    The function parameters will be recognized as follows:
    
    * If the parameter is also declared in the **path**, it will be used as a path parameter.
    * If the parameter is of a **singular type** (like `int`, `float`, `str`, `bool`, etc) it will be interpreted as a **query** parameter.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-multiple-params.md

    # Body - Multiple Parameters
    
    Now that we have seen how to use `Path` and `Query`, let's see more advanced uses of request body declarations.
    
    ## Mix `Path`, `Query` and body parameters
    
    First, of course, you can mix `Path`, `Query` and request body parameter declarations freely and **FastAPI** will know what to do.
    
    And you can also declare body parameters as optional, by setting the default to `None`:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt

        }
    
        private fun writeGenericArguments(
            sw: JvmSignatureWriter,
            arguments: List<TypeProjection>,
            parameters: List<TypeParameterDescriptor>,
            mode: TypeMappingMode
        ) {
            with(KotlinTypeMapper) {
                typeContext.writeGenericArguments(sw, arguments, parameters, mode) { type, sw, mode ->
                    mapType(type as KotlinType, mode, sw)
                }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Mar 10 11:03:45 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

      /** True if the agreed upon extension parameters includes "client_no_context_takeover". */
      @JvmField val clientNoContextTakeover: Boolean = false,
      /** Should be a value in [8..15]. Any value in that range is acceptable by OkHttp. */
      @JvmField val serverMaxWindowBits: Int? = null,
      /** True if the agreed upon extension parameters includes "server_no_context_takeover". */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    
    private
    fun JApiMethod.isEnumImplicitMethodValueOf(): Boolean {
        return name == "valueOf" && parameters.size == 1 && parameters.first().type == "java.lang.String"
    }
    
    
    private
    fun JApiMethod.isEnumImplicitMethodValues(): Boolean {
        return name == "values" && parameters.size == 0
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-compiler-configuration.kt

            apiVersion = KotlinVersion.KOTLIN_1_8
            languageVersion = KotlinVersion.KOTLIN_1_8
            jvmTarget = JvmTarget.JVM_1_8
            freeCompilerArgs.addAll(
                "-Xjsr305=strict",
                "-java-parameters",
                "-Xsam-conversions=class",
            )
        }
    }
    
    
    fun CompilerConfiguration.configureKotlinCompilerForGradleBuild() {
    
        put(
            CommonConfigurationKeys.LANGUAGE_VERSION_SETTINGS,
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Oct 26 19:59:57 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top