- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,994 for modes (0.03 sec)
-
docs/en/docs/tutorial/body-multiple-params.md
/// ## Embed a single body parameter { #embed-a-single-body-parameter } Let's say you only have a single `item` body parameter from a Pydantic model `Item`. By default, **FastAPI** will then expect its body directly. But if you want it to expect a JSON with a key `item` and inside of it the model contents, as it does when you declare extra body parameters, you can use the special `Body` parameter `embed`: ```PythonRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 12:58:04 UTC 2025 - 4.9K bytes - Viewed (0) -
docs/ru/docs/tutorial/sql-databases.md
---> 100% ``` </div> ## Создание приложения с единственной моделью { #create-the-app-with-a-single-model } Сначала мы создадим самую простую первую версию приложения с одной моделью **SQLModel**. Позже мы улучшим его, повысив безопасность и универсальность, добавив **несколько моделей**. 🤓 ### Создание моделей { #create-models } Импортируйте `SQLModel` и создайте модель базы данных:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Dec 11 21:25:03 UTC 2025 - 23.6K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifeCyclePluginAnalyzerStub.java
import java.util.Collections; import java.util.LinkedHashSet; import java.util.Set; import org.apache.maven.lifecycle.LifeCyclePluginAnalyzer; import org.apache.maven.model.Plugin; import org.apache.maven.model.PluginExecution; /** */ public class LifeCyclePluginAnalyzerStub implements LifeCyclePluginAnalyzer { @Override public Set<Plugin> getPluginsBoundByDefaultToAllLifecycles(String packaging) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.5K bytes - Viewed (0) -
docs/pt/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
direction TB subgraph V2["Pydantic v2 Model"] V1Field["Pydantic v1 Model"] end subgraph V1["Pydantic v1 Model"] V2Field["Pydantic v2 Model"] end end style V2 fill:#f9fff3 style V1 fill:#fff6f0 style V1Field fill:#fff6f0 style V2Field fill:#f9fff3 ``` ...but, you can have separated models using Pydantic v1 and v2 in the same app.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 5.8K bytes - Viewed (0) -
tests/associations_test.go
var emptyUser User var err error // belongs to err = DB.Model(&emptyUser).Association("Company").Delete(&user1.Company) AssertEqual(t, err, gorm.ErrPrimaryKeyRequired) // has many err = DB.Model(&emptyUser).Association("Pets").Delete(&user1.Pets) AssertEqual(t, err, gorm.ErrPrimaryKeyRequired) // has one err = DB.Model(&emptyUser).Association("Account").Delete(&user1.Account)
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 12 04:33:27 UTC 2025 - 13.3K bytes - Viewed (0) -
tests/query_test.go
}) } } }) var models []User if err := DB.Where("name in (?)", []string{"find"}).Find(&models).Error; err != nil || len(models) != 3 { t.Errorf("errors happened when query find with in clause: %v, length: %v", err, len(models)) } else { for idx, user := range users { t.Run("FindWithInClause#"+strconv.Itoa(idx+1), func(t *testing.T) { CheckUser(t, models[idx], user) }) } }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Tue Jul 22 06:21:04 UTC 2025 - 51K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
* @throws NullPointerException if name is null */ @Nullable String attribute(@Nonnull String name); /** * Returns an immutable list of all child nodes. * * @return list of child nodes, never {@code null} */ @Nonnull List<XmlNode> children(); /** * Returns the first child node with the specified name. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Dec 17 15:20:44 UTC 2025 - 18.3K bytes - Viewed (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
disabled = user_dict["disabled"], hashed_password = user_dict["hashed_password"], ) ``` /// info For a more complete explanation of `**user_dict` check back in [the documentation for **Extra Models**](../extra-models.md#about-user-in-dict){.internal-link target=_blank}. /// ## Return the token { #return-the-token } The response of the `token` endpoint must be a JSON object.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
fastapi/security/open_id_connect_url.py
from typing import Annotated, Optional from annotated_doc import Doc from fastapi.openapi.models import OpenIdConnect as OpenIdConnectModel from fastapi.security.base import SecurityBase from starlette.exceptions import HTTPException from starlette.requests import Request from starlette.status import HTTP_401_UNAUTHORIZED class OpenIdConnect(SecurityBase): """ OpenID Connect authentication class. An instance of it would be used as a
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 3.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt
* * `com.twitter.hpack.HpackUtil` * * [twitter_hpack]: https://github.com/twitter/hpack */ object Huffman { // Appendix C: Huffman Codes // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#appendix-B private val CODES = intArrayOf( 0x1ff8, 0x7fffd8, 0xfffffe2, 0xfffffe3, 0xfffffe4, 0xfffffe5, 0xfffffe6, 0xfffffe7,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11K bytes - Viewed (0)