- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 231 for parameters (0.18 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
docs/en/docs/advanced/advanced-dependencies.md
``` In this case, this `__call__` is what **FastAPI** will use to check for additional parameters and sub-dependencies, and this is what will be called to pass a value to the parameter in your *path operation function* later. ## Parameterize the instance And now, we can use `__init__` to declare the parameters of the instance that we can use to "parameterize" the dependency: === "Python 3.9+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 3.9K bytes - Viewed (0) -
docs/de/docs/how-to/configure-swagger-ui.md
Um diese zu konfigurieren, übergeben Sie das Argument `swagger_ui_parameters` beim Erstellen des `FastAPI()`-App-Objekts oder an die Funktion `get_swagger_ui_html()`. `swagger_ui_parameters` empfängt ein Dict mit den Konfigurationen, die direkt an die Swagger-Oberfläche übergeben werden.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:17:49 GMT 2024 - 3.3K bytes - Viewed (0)