Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 984 for Model1 (0.07 seconds)

  1. docs/ja/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    ```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
        end
    
        style V2 fill:#f9fff3
        style V1 fill:#fff6f0
        style V1Field fill:#fff6f0
        style V2Field fill:#f9fff3
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/common/BuildScanUtils.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package common
    
    import model.Stage
    import model.StageName
    import model.TestCoverage
    
    fun buildScanTagParam(tag: String) = """-Dscan.tag.$tag"""
    
    fun buildScanCustomValueParam(
        key: String,
        value: String,
    ) = """-Dscan.value.$key=$value"""
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jun 10 05:45:46 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

        private String javaHome;
    
        public static final String KEY_JAVAHOME = "jdkHome"; // NOI18N
    
        JavaToolchainImpl(ToolchainModel model, Logger logger) {
            super(model, "jdk", logger);
        }
    
        public String getJavaHome() {
            return javaHome;
        }
    
        public void setJavaHome(String javaHome) {
            this.javaHome = javaHome;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12/ProjectInheritanceTest.java

        // ----------------------------------------------------------------------
        //
        // p1 inherits from p0
        // p0 inherits from super model
        //
        // or we can show it graphically as:
        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testFalsePluginExecutionInheritValue() throws Exception {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue May 27 13:59:13 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/testing.md

    /// info | Información
    
    Ten en cuenta que el `TestClient` recibe datos que pueden ser convertidos a JSON, no modelos de Pydantic.
    
    Si tienes un modelo de Pydantic en tu prueba y quieres enviar sus datos a la aplicación durante las pruebas, puedes usar el `jsonable_encoder` descrito en [Codificador Compatible con JSON](encoder.md).
    
    ///
    
    ## Ejecútalo { #run-it }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  6. docs/tr/docs/advanced/additional-responses.md

    Bu response `dict`'lerinin her birinde, `response_model`'e benzer şekilde bir Pydantic model içeren `model` anahtarı olabilir.
    
    **FastAPI** bu modeli alır, JSON Schema'sını üretir ve OpenAPI'de doğru yere ekler.
    
    Örneğin, `404` status code'u ve `Message` Pydantic model'i ile başka bir response tanımlamak için şunu yazabilirsiniz:
    
    {* ../../docs_src/additional_responses/tutorial001_py310.py hl[18,22] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  7. docs/es/docs/advanced/security/oauth2-scopes.md

    Verificamos que obtenemos un `username`, y extraemos los scopes.
    
    Y luego validamos esos datos con el modelo de Pydantic (capturando la excepción `ValidationError`), y si obtenemos un error leyendo el token JWT o validando los datos con Pydantic, lanzamos la `HTTPException` que creamos antes.
    
    Para eso, actualizamos el modelo de Pydantic `TokenData` con una nueva propiedad `scopes`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolver.java

         *      org.apache.maven.artifact.resolver.ResolutionNode)
         */
    
        @Override
        public ResolutionNode resolveConflict(ResolutionNode node1, ResolutionNode node2) {
            return node1.getDepth() >= node2.getDepth() ? node1 : node2;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  9. tests/main_test.go

    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	if DB.Model(&User{}).Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Find(&User{}).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	var count1, count2 int64
    	DB.Model(&User{}).Count(&count1)
    	if count1 <= 0 {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.File;
    import java.net.URI;
    import java.nio.file.Files;
    import java.nio.file.Path;
    
    import org.apache.maven.building.FileSource;
    
    /**
     * Wraps an ordinary {@link File} as a model source.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top