- Sort Score
- Num 10 results
- Language All
Results 1481 - 1490 of 1,913 for parameters (0.05 seconds)
-
docs/pt/docs/tutorial/body-updates.md
Mas este guia mostra, mais ou menos, como eles são destinados a serem usados. /// ### Usando o parâmetro `exclude_unset` do Pydantic { #using-pydantics-exclude-unset-parameter } Se você quiser receber atualizações parciais, é muito útil usar o parâmetro `exclude_unset` no `.model_dump()` do modelo do Pydantic. Como `item.model_dump(exclude_unset=True)`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 4.3K bytes - Click Count (0) -
fastapi/datastructures.py
from starlette.datastructures import UploadFile as StarletteUploadFile class UploadFile(StarletteUploadFile): """ A file uploaded in a request. Define it as a *path operation function* (or dependency) parameter. If you are using a regular `def` function, you can use the `upload_file.file` attribute to access the raw standard Python file (blocking, not async), useful and needed for non-async code.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 5.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerPrivate.java
* * @param type the type, must not be {@code null} * @param context the Maven session, must not be {@code null} * @since 3.0 (addition of the <code>MavenSession</code> parameter) */ ToolchainPrivate[] getToolchainsForType(String type, MavenSession context) throws MisconfiguredToolchainException; /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Feb 12 13:13:28 GMT 2025 - 2.2K bytes - Click Count (0) -
docs/ru/docs/advanced/response-headers.md
# HTTP-заголовки ответа { #response-headers } ## Использовать параметр `Response` { #use-a-response-parameter } Вы можете объявить параметр типа `Response` в вашей функции-обработчике пути (как можно сделать и для cookie). А затем вы можете устанавливать HTTP-заголовки в этом *временном* объекте ответа. {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 3.5K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/response-change-status-code.md
例如,假設你預設想回傳 HTTP 狀態碼 "OK" `200`。 但如果資料不存在,你想要建立它,並回傳 HTTP 狀態碼 "CREATED" `201`。 同時你仍希望能用 `response_model` 過濾並轉換所回傳的資料。 在這些情況下,你可以使用 `Response` 參數。 ## 使用 `Response` 參數 { #use-a-response-parameter } 你可以在你的路徑操作函式(path operation function)中宣告一個 `Response` 型別的參數(就像你可以對 Cookies 和標頭那樣)。 接著你可以在那個「*暫時的*」回應物件上設定 `status_code`。 {* ../../docs_src/response_change_status_code/tutorial001_py310.py hl[1,9,12] *}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 1.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
fail("setObject should handle parameter validation gracefully: " + e.getMessage()); } // getObject should handle various inputs try { WebApiUtil.getObject("validKey"); WebApiUtil.getObject(""); WebApiUtil.getObject(null); } catch (Exception e) { fail("getObject should handle parameter validation gracefully: " + e.getMessage()); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.4K bytes - Click Count (0) -
docs/ru/docs/advanced/response-change-status-code.md
Для таких случаев вы можете использовать параметр `Response`. ## Использование параметра `Response` { #use-a-response-parameter } Вы можете объявить параметр типа `Response` в вашей *функции обработки пути* (как и для cookies и HTTP-заголовков). И затем вы можете установить `status_code` в этом *временном* объекте ответа.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractGraph.java
/** * This class provides a skeletal implementation of {@link Graph}. It is recommended to extend this * class rather than implement {@link Graph} directly. * * @author James Sexton * @param <N> Node parameter type * @since 20.0 */ public abstract class AbstractGraph<N> extends AbstractBaseGraph<N> implements Graph<N> { /** Constructor for use by subclasses. */ public AbstractGraph() {} @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 1.8K bytes - Click Count (0) -
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Nonnull.java
* * @see Nullable * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.CLASS) @Target({ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD})Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 10 21:43:27 GMT 2024 - 1.4K bytes - Click Count (0) -
tensorflow/c/eager/gradient_checker.h
#include "tensorflow/c/eager/unified_api_testutil.h" namespace tensorflow { namespace gradients { /* Returns numerical grad inside `dtheta_approx` given `forward` model and * parameter specified by `input_index`. * * I.e. if y = <output of the forward model> and w = inputs[input_index], * this will calculate dy/dw numerically. *Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 1.8K bytes - Click Count (0)