Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 889 for Model (0.04 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.internal.impl.model.DefaultInterpolator;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

    `hashed_password`. To fix this, the declared `response_model` is cloned, if it is a Pydantic model class (or contains Pydantic model classes in it, e.g. in a `List[Item]`), the Pydantic model class(es) will be a different one (the "cloned" one). So, an object that is a subclass won't simply pass the validation and returned as-is, because it is no longer a sub-class of the cloned `response_model`. Instead, a new Pydantic model object will be created with the contents of the returned object. So, it will be a...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.interpolation.reflection;
    
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.util.Hashtable;
    import java.util.Map;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. docs/pl/docs/features.md

    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Zadeklaruj parametr jako str
    # i uzyskaj wsparcie edytora wewnątrz funkcji
    def main(user_id: str):
        return user_id
    
    
    # Model Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    A one będą mogły zostać później użyte w następujący sposób:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/handling-errors.md

    `RequestValidationError` is a sub-class of Pydantic's <a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>.
    
    **FastAPI** uses it so that, if you use a Pydantic model in `response_model`, and your data has an error, you will see the error in your log.
    
    But the client/user will not see it. Instead, the client will receive an "Internal Server Error" with an HTTP status code `500`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * require a (different in each case) function that translates storedPermits to throttling time.
       *
       * This role is played by storedPermitsToWaitTime(double storedPermits, double permitsToTake). The
       * underlying model is a continuous function mapping storedPermits (from 0.0 to maxStoredPermits)
       * onto the 1/rate (i.e. intervals) that is effective at the given storedPermits. "storedPermits"
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

      <mime-type type="model/vnd.flatland.3dml"/>
      <mime-type type="model/vnd.gdl">
        <glob pattern="*.gdl"/>
      </mime-type>
      <mime-type type="model/vnd.gs-gdl"/>
      <mime-type type="model/vnd.gs.gdl"/>
      <mime-type type="model/vnd.gtw">
        <glob pattern="*.gtw"/>
      </mime-type>
      <mime-type type="model/vnd.moml+xml"/>
      <mime-type type="model/vnd.mts">
        <glob pattern="*.mts"/>
      </mime-type>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Sep 21 06:46:43 UTC 2023
    - 298.5K bytes
    - Viewed (1)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.RepositoryCache;
    import org.apache.maven.internal.impl.SettingsUtilsV4;
    import org.apache.maven.model.Profile;
    import org.apache.maven.monitor.event.EventDispatcher;
    import org.apache.maven.plugin.descriptor.PluginDescriptor;
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.ProjectBuildingRequest;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.interpolation.reflection;
    
    /*
     * Copyright The Codehaus Foundation.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. schema/schema.go

    			case "func(*gorm.DB) error": // TODO hack
    				reflect.Indirect(reflect.ValueOf(schema)).FieldByName(string(cbName)).SetBool(true)
    			default:
    				logger.Default.Warn(context.Background(), "Model %v don't match %vInterface, should be `%v(*gorm.DB) error`. Please see https://gorm.io/docs/hooks.html", schema, cbName, cbName)
    			}
    		}
    	}
    
    	// Cache the schema
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top