- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 68 for Model (0.18 sec)
-
docs/en/docs/alternatives.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/sql-databases.md
这样,而不是仅仅试图从`dict`上 `id` 中获取值,如下所示: ```Python id = data["id"] ``` 尝试从属性中获取它,如: ```Python id = data.id ``` 有了这个,Pydantic*模型*与 ORM 兼容,您只需在*路径操作*`response_model`的参数中声明它即可。 您将能够返回一个数据库模型,它将从中读取数据。 #### ORM 模式的技术细节 SQLAlchemy 和许多其他默认情况下是“延迟加载”。 这意味着,例如,除非您尝试访问包含该数据的属性,否则它们不会从数据库中获取关系数据。 例如,访问属性`items`: ```Python current_user.items
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 27K bytes - Viewed (0) -
docs/em/docs/tutorial/sql-databases.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 25.2K bytes - Viewed (1) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test import org.junit.jupiter.api.Timeout import org.junit.jupiter.api.extension.RegisterExtension import org.junit.runner.Description import org.junit.runners.model.Statement @Suppress("deprecation") @Timeout(30) @Tag("Slow") class MockWebServerTest { @RegisterExtension var platform = PlatformRule() private val server = MockWebServer() @BeforeEach
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 21.9K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt
import org.jetbrains.kotlin.psi import org.jetbrains.kotlin.psi.KtFile import org.jetbrains.kotlin.psi.psiUtil.parents import org.jetbrains.kotlin.psi.psiUtil.parentsWithSelf import org.jetbrains.kotlin.types.model.SimpleTypeMarker import org.jetbrains.kotlin.types.updateArgumentModeFromAnnotations import org.jetbrains.kotlin.utils.addToStdlib.firstIsInstanceOrNull import java.text.StringCharacterIterator
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 12 13:29:57 GMT 2024 - 18.6K bytes - Viewed (0) -
docs/tr/docs/alternatives.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 28.8K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
<img src="/img/tutorial/generate-clients/image03.png"> !!! tip Notice the autocompletion for `name` and `price`, that was defined in the FastAPI application, in the `Item` model. You will have inline errors for the data that you send: <img src="/img/tutorial/generate-clients/image04.png"> The response object will also have autocompletion:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.5K bytes - Viewed (0) -
docs/de/docs/tutorial/schema-extra-example.md
Diese zusätzlichen Informationen werden unverändert zum für dieses Modell ausgegebenen **JSON-Schema** hinzugefügt und in der API-Dokumentation verwendet. === "Pydantic v2" In Pydantic Version 2 würden Sie das Attribut `model_config` verwenden, das ein `dict` akzeptiert, wie beschrieben in <a href="https://docs.pydantic.dev/latest/api/config/" class="external-link" target="_blank">Pydantic-Dokumentation: Configuration</a>.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:19:53 GMT 2024 - 13.3K bytes - Viewed (0) -
README.md
Just standard **Python**. For example, for an `int`: ```Python item_id: int ``` or for a more complex `Item` model: ```Python item: Item ``` ...and with that single declaration you get: * Editor support, including: * Completion. * Type checks. * Validation of data:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 22.6K bytes - Viewed (0) -
doc/godebug.md
Go 1.21 made it an error for html/template actions to appear inside of an ECMAScript 6 template literal, controlled by the [`jstmpllitinterp` setting](/pkg/html/template#hdr-Security_Model). This behavior was backported to Go 1.19.8+ and Go 1.20.3+. Go 1.21 introduced a limit on the maximum number of MIME headers and multipart forms, controlled by the
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Tue Apr 16 17:29:58 GMT 2024 - 13.5K bytes - Viewed (0)