- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 570 for models (0.13 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/model/PropertiesTest.java
// Create model and set properties Model model = new Model(); Properties props = model.getProperties(); // Create properties and populate from map to maintain order orderedMap.forEach(props::setProperty); // Get the immutable delegate (v4 API model is already immutable) org.apache.maven.api.model.Model immutable = model.getDelegate();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 12 07:26:53 GMT 2025 - 10.5K bytes - Click Count (0) -
fastapi/security/api_key.py
from typing import Annotated, Optional, Union from annotated_doc import Doc from fastapi.openapi.models import APIKey, APIKeyIn from fastapi.security.base import SecurityBase from starlette.exceptions import HTTPException from starlette.requests import Request from starlette.status import HTTP_401_UNAUTHORIZED class APIKeyBase(SecurityBase): def __init__( self, location: APIKeyIn, name: str,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 9.6K bytes - Click Count (1) -
docs/uk/docs/tutorial/handling-errors.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 13.9K bytes - Click Count (0) -
docs/en/docs/tutorial/testing.md
/// info Note that the `TestClient` receives data that can be converted to JSON, not Pydantic models. If you have a Pydantic model in your test and you want to send its data to the application during testing, you can use the `jsonable_encoder` described in [JSON Compatible Encoder](encoder.md){.internal-link target=_blank}. ///
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.1K bytes - Click Count (0) -
docs/pt/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
Não é suportado pelo Pydantic ter um modelo do Pydantic v2 com campos próprios definidos como modelos do Pydantic v1, ou vice-versa. ```mermaid graph TB subgraph "❌ Not Supported" direction TB subgraph V2["Pydantic v2 Model"] V1Field["Pydantic v1 Model"] end subgraph V1["Pydantic v1 Model"] V2Field["Pydantic v2 Model"] end endCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 5.8K bytes - Click Count (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) }) } }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Jul 22 06:21:04 GMT 2025 - 51K bytes - Click Count (0) -
tests/test_tutorial/test_sql_databases/test_tutorial002.py
from sqlmodel.main import default_registry from tests.utils import needs_py310 def clear_sqlmodel(): # Clear the tables in the metadata for the default base model SQLModel.metadata.clear() # Clear the Models associated with the registry, to avoid warnings default_registry.dispose() @pytest.fixture( name="client", params=[ pytest.param("tutorial002_py39"),
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 17.9K bytes - Click Count (0) -
docs/de/docs/tutorial/security/simple-oauth2.md
hashed_password = user_dict["hashed_password"], ) ``` /// info | Info Eine ausführlichere Erklärung von `**user_dict` finden Sie in [der Dokumentation für **Extra Modelle**](../extra-models.md#about-user-in-dict){.internal-link target=_blank}. /// ## Den Token zurückgeben { #return-the-token }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 11.2K bytes - Click Count (0) -
docs/fr/docs/tutorial/first-steps.md
Vous pouvez retourner un dictionnaire (`dict`), une liste (`list`), des valeurs seules comme des chaines de caractères (`str`) et des entiers (`int`), etc. Vous pouvez aussi retourner des models **Pydantic** (qui seront détaillés plus tard). Il y a de nombreux autres objets et modèles qui seront automatiquement convertis en JSON. Essayez d'utiliser vos favoris, il est fort probable qu'ils soient déjà supportés. ## Récapitulatif * Importez `FastAPI`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 10.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
import org.apache.maven.model.Parent; import org.apache.maven.model.Plugin; import org.apache.maven.model.PluginExecution; import org.apache.maven.model.PluginManagement; import org.apache.maven.model.Profile; import org.apache.maven.model.ReportPlugin; import org.apache.maven.model.Reporting; import org.apache.maven.model.Repository; import org.apache.maven.model.Resource; import org.apache.maven.model.building.ModelBuildingRequest;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0)