- Sort Score
- Num 10 results
- Language All
Results 1161 - 1170 of 1,817 for _parameters (0.08 seconds)
-
docs/uk/docs/advanced/response-change-status-code.md
Водночас ви все одно хочете мати змогу фільтрувати та перетворювати повернені дані за допомогою `response_model`. Для таких випадків ви можете використати параметр `Response`. ## Використовуйте параметр `Response` { #use-a-response-parameter } Ви можете оголосити параметр типу `Response` у своїй функції операції шляху (так само, як для кукі та заголовків). Потім ви можете встановити `status_code` у цьому *тимчасовому* об'єкті відповіді.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 2.6K bytes - Click Count (0) -
docs/pt/docs/tutorial/cookie-param-models.md
# Modelos de Parâmetros de Cookie { #cookie-parameter-models } Se você possui um grupo de **cookies** que estão relacionados, você pode criar um **modelo Pydantic** para declará-los. 🍪 Isso lhe permitiria **reutilizar o modelo** em **diversos lugares** e também declarar validações e metadata para todos os parâmetros de uma vez. 😎 /// note | Nota Isso é suportado desde a versão `0.115.0` do FastAPI. 🤓 /// /// tip | DicaCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:48:53 GMT 2026 - 3.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java
List<WebConfig> configList = crawlingConfigHelper.getAllWebConfigList(true, true, false, null); assertEquals(1, configList.size()); // Test with idList parameter List<String> idList = List.of("W1", "W2"); configList = crawlingConfigHelper.getAllWebConfigList(true, true, true, idList); assertEquals(1, configList.size()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 35.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FlushablesTest.java
.when(mockFlushable) .flush(); } } // Flush the flushable using the Flushables, passing in the swallowException // parameter. expectThrown determines whether we expect an exception to // be thrown by Flushables.flush; private void doFlush(Flushable flushable, boolean swallowException, boolean expectThrown) throws IOException { try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
* of the supertype that suggests that implementations are expected to tolerate null. That said, I * see calls in Google code that pass a null `dir` to a FilenameFilter.... So let's declare the * parameter as non-nullable (since passing null to a FilenameFilter is unsafe in general), but if * someone still manages to pass null, let's continue to have the method work. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.7K bytes - Click Count (1) -
docs/zh/docs/advanced/response-headers.md
# 响应头 { #response-headers } ## 使用 `Response` 参数 { #use-a-response-parameter } 你可以在你的*路径操作函数*中声明一个 `Response` 类型的参数(就像你可以为 cookies 做的那样)。 然后你可以在这个*临时*响应对象中设置头部。 {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *} 然后你可以像平常一样返回任何你需要的对象(例如一个 `dict` 或者一个数据库模型)。 如果你声明了一个 `response_model`,它仍然会被用来过滤和转换你返回的对象。 **FastAPI** 将使用这个*临时*响应来提取头部(也包括 cookies 和状态码),并将它们放入包含你返回的值的最终响应中,该响应由任何 `response_model` 过滤。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 2.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java
assertEquals(ioException, exception1.getCause()); // Test with IllegalArgumentException Exception illegalArgException = new IllegalArgumentException("Invalid SSO parameter"); SsoProcessException exception2 = new SsoProcessException(message, illegalArgException); assertEquals(illegalArgException, exception2.getCause()); // Test with NullPointerException
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 13.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
void testWireFormatMethodsWithDifferentPositions(int position) throws Exception { // Given byte[] buffer = new byte[100]; // Test write parameter words Method writeParams = SmbComNtCancel.class.getDeclaredMethod("writeParameterWordsWireFormat", byte[].class, int.class); writeParams.setAccessible(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java
SampleElements<E> samples(); /** * Creates a new container containing the given elements. TODO: would be nice to figure out how to * use E... or E[] as a parameter type, but this doesn't seem to work because Java creates an * array of the erased type. */ T create(Object... elements); /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.4K bytes - Click Count (0) -
docs/fr/docs/advanced/response-headers.md
# En-têtes de réponse { #response-headers } ## Utiliser un paramètre `Response` { #use-a-response-parameter } Vous pouvez déclarer un paramètre de type `Response` dans votre fonction de chemin d'accès (comme vous pouvez le faire pour les cookies). Vous pouvez ensuite définir des en-têtes dans cet objet de réponse temporaire. {* ../../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 18:37:13 GMT 2026 - 2.6K bytes - Click Count (0)