- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,264 for parameter (0.08 sec)
-
docs/de/docs/tutorial/dependencies/index.md
``` //// Obwohl Sie `Depends` in den Parametern Ihrer Funktion genauso verwenden wie `Body`, `Query`, usw., funktioniert `Depends` etwas anders. Sie übergeben `Depends` nur einen einzigen Parameter. Dieser Parameter muss so etwas wie eine Funktion sein. Sie **rufen diese nicht direkt auf** (fügen Sie am Ende keine Klammern hinzu), sondern übergeben sie einfach als Parameter an `Depends()`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13K bytes - Viewed (0) -
docs/en/docs/tutorial/response-status-code.md
* `@app.get()` * `@app.post()` * `@app.put()` * `@app.delete()` * etc. {* ../../docs_src/response_status_code/tutorial001.py hl[6] *} /// note Notice that `status_code` is a parameter of the "decorator" method (`get`, `post`, etc). Not of your *path operation function*, like all the parameters and body. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 11:13:18 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/de/docs/advanced/response-headers.md
# Response-Header ## Verwenden Sie einen `Response`-Parameter Sie können einen Parameter vom Typ `Response` in Ihrer *Pfadoperation-Funktion* deklarieren (wie Sie es auch für Cookies tun können). Und dann können Sie Header in diesem *vorübergehenden* Response-Objekt festlegen. ```Python hl_lines="1 7-8" {!../../docs_src/response_headers/tutorial002.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt
} ?: return // Expected a value. val replaced = parameters.put(peek, parameterValue) peek = null if (replaced != null) return // Unexpected duplicate parameter. if (!skipCommasAndWhitespace() && !exhausted()) return // Expected ',' or EOF. } result.add(Challenge(schemeName, parameters)) } } /** Returns true if any commas were skipped. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.2K bytes - Viewed (0) -
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.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.5K bytes - Viewed (0) -
compat/maven-compat/src/main/mdo/paramdoc.mdo
<version>1.0.0</version> <name>ExpressionDocumentation</name> <description>The root of a parameter plugin expression document.</description> <fields> <field> <version>1.0.0</version> <name>expressions</name> <description>The list of plugin parameter expressions described by this document.</description> <association>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
docs/de/docs/tutorial/response-status-code.md
/// Dem `status_code`-Parameter wird eine Zahl mit dem HTTP-Statuscode übergeben. /// info Alternativ kann `status_code` auch ein `IntEnum` erhalten, so wie Pythons <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>. /// Das wird: * Diesen Statuscode mit der Response zurücksenden.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:59:43 UTC 2024 - 4.6K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/sub-dependencies.md
{!> ../../docs_src/dependencies/tutorial005.py!} ``` //// Let's focus on the parameters declared: * Even though this function is a dependency ("dependable") itself, it also declares another dependency (it "depends" on something else). * It depends on the `query_extractor`, and assigns the value returned by it to the parameter `q`. * It also declares an optional `last_query` cookie, as a `str`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.5K bytes - Viewed (0) -
docs/en/docs/python-types.md
As an example, let's take this function: {* ../../docs_src/python_types/tutorial009c.py hl[1,4] *} The parameter `name` is defined as `Optional[str]`, but it is **not optional**, you cannot call the function without the parameter: ```Python say_hi() # Oh, no, this throws an error! 😱 ``` The `name` parameter is **still required** (not *optional*) because it doesn't have a default value. Still, `name` accepts `None` as the value:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:47:53 UTC 2024 - 16.7K bytes - Viewed (0) -
docs/en/docs/advanced/response-change-status-code.md
But you still want to be able to filter and convert the data you return with a `response_model`. For those cases, you can use a `Response` parameter. ## Use a `Response` parameter You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies and headers). And then you can set the `status_code` in that *temporal* response object.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.5K bytes - Viewed (0)