- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 741 for model2 (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
scripts/playwright/header_param_models/image01.py
page.get_by_role("button", name="GET /items/ Read Items").click() page.get_by_role("button", name="Try it out").click() # Manually add the screenshot page.screenshot(path="docs/en/docs/img/tutorial/header-param-models/image01.png") # --------------------- context.close() browser.close() process = subprocess.Popen( ["fastapi", "run", "docs_src/header_param_models/tutorial001.py"] ) try:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Sep 17 18:54:10 GMT 2024 - 1.1K bytes - Click Count (0) -
scripts/playwright/request_form_models/image01.py
page.get_by_role("button", name="POST /login/ Login").click() page.get_by_role("button", name="Try it out").click() # Manually add the screenshot page.screenshot(path="docs/en/docs/img/tutorial/request-form-models/image01.png") # --------------------- context.close() browser.close() process = subprocess.Popen( ["fastapi", "run", "docs_src/request_form_models/tutorial001.py"] ) try:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Sep 13 09:14:46 GMT 2024 - 1.1K bytes - Click Count (0) -
docs/tr/docs/advanced/path-operation-advanced-configuration.md
Ardından request’i doğrudan kullanıp body’yi `bytes` olarak çıkarıyoruz. Bu da FastAPI’nin request payload’ını JSON olarak parse etmeye çalışmayacağı anlamına gelir. Sonrasında kodumuzda bu YAML içeriğini doğrudan parse ediyor, ardından YAML içeriğini doğrulamak için yine aynı Pydantic modeli kullanıyoruz:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 7.5K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts
import gradlebuild.identity.extension.GradleModuleExtension import java.util.jar.Attributes plugins { id("gradlebuild.module-identity") } val gradleModule = the<GradleModuleExtension>() configureJarTasks() fun configureJarTasks() { tasks.withType<Jar>().configureEach { archiveBaseName = gradleModule.identity.baseName archiveVersion = gradleModule.identity.version.map { it.baseVersion.version }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 06 16:39:05 GMT 2026 - 713 bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/security/get-current-user.md
你可能記得,請求體也會用 Pydantic 模型宣告。 這裡因為你使用了 `Depends`,**FastAPI** 不會混淆。 /// /// check | 檢查 這個依賴系統的設計讓我們可以有不同的依賴(不同的 "dependables"),都回傳 `User` 模型。 我們不受限於只能有一個能回傳該類型資料的依賴。 /// ## 其他模型 { #other-models } 現在你可以在*路徑操作函式*中直接取得目前使用者,並在**依賴注入**層處理安全機制,使用 `Depends`。 而且你可以為安全需求使用任意模型或資料(本例中是 Pydantic 模型 `User`)。 但你不受限於某個特定的資料模型、類別或型別。 想在模型中只有 `id` 與 `email` 而沒有任何 `username`?當然可以。你可以用同樣的工具達成。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 3.7K bytes - Click Count (0) -
compat/maven-compat/pom.xml
</plugin> <plugin> <groupId>org.codehaus.modello</groupId> <artifactId>modello-maven-plugin</artifactId> <configuration> <version>1.0.0</version> <models> <model>src/main/mdo/profiles.mdo</model> <model>src/main/mdo/paramdoc.mdo</model> </models> </configuration> <executions> <execution>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 8.1K bytes - Click Count (0) -
docs/tr/docs/advanced/response-change-status-code.md
{* ../../docs_src/response_change_status_code/tutorial001_py310.py hl[1,9,12] *} Sonrasında, normalde yaptığınız gibi ihtiyacınız olan herhangi bir nesneyi döndürebilirsiniz (`dict`, bir veritabanı modeli, vb.). Ve eğer bir `response_model` tanımladıysanız, döndürdüğünüz nesneyi filtrelemek ve dönüştürmek için yine kullanılacaktır.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 1.8K bytes - Click Count (0) -
fastapi/.agents/skills/fastapi/SKILL.md
``` **Important**: Return types or response models are what filter data ensuring no sensitive information is exposed. And they are used to serialize data with Pydantic (in Rust), this is the main idea that can increase response performance. The return type doesn't have to be a Pydantic model, it could be a different type, like a list of integers, or a dict, etc.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 10:05:57 GMT 2026 - 10.1K bytes - Click Count (0) -
fastapi/.agents/skills/fastapi/references/other-tools.md
return {"message": result} ``` ## SQLModel for SQL databases When working with SQL databases, prefer using SQLModel as it is integrated with Pydantic and will allow declaring data validation with the same models. Prefer it over SQLAlchemy. ## HTTPX Use HTTPX for handling HTTP communication (e.g. with other APIs). It support sync and async usage.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 10:05:57 GMT 2026 - 1.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java
*/ package org.apache.maven.model.composition; import javax.inject.Named; import javax.inject.Singleton; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.apache.maven.model.Dependency; import org.apache.maven.model.DependencyManagement; import org.apache.maven.model.Model; import org.apache.maven.model.building.ModelBuildingRequest;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.8K bytes - Click Count (0)