- Sort Score
- Result 10 results
- Languages All
Results 811 - 820 of 1,077 for asdict (0.04 sec)
-
docs/en/docs/advanced/response-headers.md
And then you can set headers in that *temporal* response object. {* ../../docs_src/response_headers/tutorial002_py39.py hl[1, 7:8] *} And then you can return any object you need, as you normally would (a `dict`, a database model, etc). And if you declared a `response_model`, it will still be used to filter and convert the object you returned.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.3K bytes - Viewed (0) -
docs/ru/docs/advanced/settings.md
/// info | Информация В Pydantic версии 1 конфигурация задавалась во внутреннем классе `Config`, в Pydantic версии 2 — в атрибуте `model_config`. Этот атрибут принимает `dict`, и чтобы получить автозавершение и ошибки «на лету», вы можете импортировать и использовать `SettingsConfigDict` для описания этого `dict`. ///
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 18.3K bytes - Viewed (0) -
docs/fr/docs/features.md
Mais, **tout fonctionne** par défaut. ### Validation * Validation pour la plupart (ou tous?) les **types de données** Python incluant: * objets JSON (`dict`). * listes JSON (`list`) définissant des types d'éléments. * Champs String (`str`), définition de longueur minimum ou maximale. * Nombres (`int`, `float`) avec valeur minimale and maximale, etc.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java
return redirect(getClass()); } //=================================================================================== // Assist Logic // ============ /** * Gets a file authentication entity based on the form and current user info. *
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 13:56:35 UTC 2025 - 18.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java
return redirect(getClass()); } // =================================================================================== // Assist Logic // ============ /** * Creates a RequestHeader entity from form data with user and timestamp information. *
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 13:56:35 UTC 2025 - 17.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
PlexusContainer container, MavenExecutionRequest request, MavenExecutionResult result, MavenProject project) { this(container, request, result, Arrays.asList(new MavenProject[] {project})); } @Deprecated @SuppressWarnings("checkstyle:parameternumber") public MavenSession( PlexusContainer container, Settings settings,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 16.7K bytes - Viewed (0) -
docs/ru/docs/tutorial/security/get-current-user.md
Хотите, чтобы в модели были `id` и `email`, но не было `username`? Пожалуйста. Можно использовать те же инструменты. Хотите просто `str`? Или просто `dict`? Или напрямую экземпляр класса модели базы данных? Всё работает одинаково.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 6.9K bytes - Viewed (0) -
docs/es/docs/advanced/templates.md
``` ### Valores de Contexto de la Plantilla { #template-context-values } En el HTML que contiene: {% raw %} ```jinja Item ID: {{ id }} ``` {% endraw %} ...mostrará el `id` tomado del `dict` de "contexto" que pasaste: ```Python {"id": id} ``` Por ejemplo, con un ID de `42`, esto se renderizaría como: ```html Item ID: 42 ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.7K bytes - Viewed (0) -
docs_src/security/tutorial005_py310.py
user = get_user(fake_db, username) if not user: return False if not verify_password(password, user.hashed_password): return False return user def create_access_token(data: dict, expires_delta: timedelta | None = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 5.2K bytes - Viewed (0) -
docs/zh/docs/advanced/response-cookies.md
# 响应Cookies ## 使用 `Response` 参数 你可以在 *路径函数* 中定义一个类型为 `Response`的参数,这样你就可以在这个临时响应对象中设置cookie了。 {* ../../docs_src/response_cookies/tutorial002.py hl[1,8:9] *} 而且你还可以根据你的需要响应不同的对象,比如常用的 `dict`,数据库model等。 如果你定义了 `response_model`,程序会自动根据`response_model`来过滤和转换你响应的对象。 **FastAPI** 会使用这个 *临时* 响应对象去装在这些cookies信息 (同样还有headers和状态码等信息), 最终会将这些信息和通过`response_model`转化过的数据合并到最终的响应里。 你也可以在depend中定义`Response`参数,并设置cookie和header。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 2.1K bytes - Viewed (0)