- Sort Score
- Result 10 results
- Languages All
Results 941 - 950 of 1,077 for asdict (0.03 sec)
-
docs/ja/docs/tutorial/security/get-current-user.md
そして、セキュリティ要件のためにどんなモデルやデータでも利用することができます。(この場合は、 Pydanticモデルの `User`) しかし、特定のデータモデルやクラス、型に制限されることはありません。 モデルを、 `id` と `email` は持つが、 `username` は全く持たないようにしたいですか? わかりました。同じ手段でこうしたこともできます。 ある `str` だけを持ちたい? あるいはある `dict` だけですか? それとも、データベースクラスのモデルインスタンスを直接持ちたいですか? すべて同じやり方で機能します。 実際には、あなたのアプリケーションにはログインするようなユーザーはおらず、単にアクセストークンを持つロボットやボット、別のシステムがありますか?ここでも、全く同じようにすべて機能します。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/handling-errors.md
"detail": "Item not found" } ``` /// tip | Dica Quando você lançar um `HTTPException`, você pode passar qualquer valor convertível em JSON como parâmetro de `detail`, e não apenas `str`. Você pode passar um `dict` ou um `list`, etc. Esses tipos de dados são manipulados automaticamente pelo **FastAPI** e convertidos em JSON. /// ## Adicione headers customizados { #add-custom-headers }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 10.2K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params.md
/// #### Return *enumeration members* { #return-enumeration-members } You can return *enum members* from your *path operation*, even nested in a JSON body (e.g. a `dict`). They will be converted to their corresponding values (strings in this case) before returning them to the client: {* ../../docs_src/path_params/tutorial005_py39.py hl[18,21,23] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 9.2K bytes - Viewed (0) -
docs/es/docs/tutorial/handling-errors.md
{ "detail": "Item not found" } ``` /// tip | Consejo Cuando lanzas un `HTTPException`, puedes pasar cualquier valor que pueda convertirse a JSON como el parámetro `detail`, no solo `str`. Podrías pasar un `dict`, un `list`, etc. Son manejados automáticamente por **FastAPI** y convertidos a JSON. /// ## Agrega headers personalizados { #add-custom-headers }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 9.7K bytes - Viewed (0) -
docs/es/docs/tutorial/path-params.md
/// #### Devolver *miembros* de enumeración { #return-enumeration-members } Puedes devolver *miembros de enum* desde tu *path operation*, incluso anidados en un cuerpo JSON (por ejemplo, un `dict`). Serán convertidos a sus valores correspondientes (cadenas en este caso) antes de devolverlos al cliente: {* ../../docs_src/path_params/tutorial005_py39.py hl[18,21,23] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0) -
docs/tr/docs/tutorial/path-params.md
/// tip | İpucu `"lenet"` değerine `ModelName.lenet.value` tanımı ile de ulaşabilirsiniz. /// #### *Enumeration Üyelerini* Döndürelim JSON gövdesine (örneğin bir `dict`) gömülü olsalar bile *yol operasyonundaki* *enum üyelerini* döndürebilirsiniz. Bu üyeler istemciye iletilmeden önce kendilerine karşılık gelen değerlerine (bu durumda string) dönüştürüleceklerdir:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 10.5K bytes - Viewed (0) -
docs/uk/docs/tutorial/path-params.md
/// #### Повернення *елементів перелічування* Ви можете повертати *елементи перелічування* з вашої *операції шляху*, навіть вкладені у JSON-тіло (наприклад, `dict`). Вони будуть перетворені на відповідні значення (у цьому випадку рядки) перед поверненням клієнту: {* ../../docs_src/path_params/tutorial005.py hl[18,21,23] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
assertNotNull(stringList); assertEquals(1, stringList.size()); assertEquals("test", stringList.get(0)); // Test with List List<String> originalList = Arrays.asList("one", "two", "three"); List<String> resultList = SuggestUtil.getAsList(originalList); assertNotNull(resultList); assertEquals(3, resultList.size()); assertEquals(originalList, resultList);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
return method.getReturnType() == boolean.class; } /** Determines whether the given method can throw InterruptedException. */ private static boolean isInterruptible(Method method) { return Arrays.asList(method.getExceptionTypes()).contains(InterruptedException.class); } /** Sorts the given methods primarily by name and secondarily by number of parameters. */ private static void sortMethods(Method[] methods) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 27.1K bytes - Viewed (0)