Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 424 for models (0.04 sec)

  1. tests/test_skip_defaults.py

        a: Optional[str] = "foo"
    
    
    class Model(BaseModel):
        x: Optional[int] = None
        sub: SubModel
    
    
    class ModelSubclass(Model):
        y: int
        z: int = 0
        w: Optional[int] = None
    
    
    class ModelDefaults(BaseModel):
        w: Optional[str] = None
        x: Optional[str] = None
        y: str = "y"
        z: str = "z"
    
    
    @app.get("/", response_model=Model, response_model_exclude_unset=True)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/MethodDoc.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.dsl.docbook.model
    
    import gradlebuild.docs.dsl.source.model.ClassMetaData
    import gradlebuild.docs.dsl.source.model.MethodMetaData
    import org.w3c.dom.Element
    
    class MethodDoc implements DslElementDoc {
        private final String id
        private final MethodMetaData metaData
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  3. docs/fr/docs/alternatives.md

    /// check | "A inspiré **FastAPI** à"
    
    Trouver des moyens d'obtenir de bonnes performances.
    
    Avec Hug (puisque Hug est basé sur Falcon), **FastAPI** a inspiré la déclaration d'un paramètre `response` dans les fonctions.
    
    Bien que dans FastAPI, il est facultatif, et est utilisé principalement pour définir les en-têtes, les cookies, et les codes de statut alternatifs.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. compat/pom.xml

      </parent>
    
      <artifactId>maven-compat-modules</artifactId>
      <packaging>pom</packaging>
    
      <name>Maven Compatibility Modules</name>
    
      <modules>
        <module>maven-plugin-api</module>
        <module>maven-builder-support</module>
        <module>maven-model</module>
        <module>maven-model-builder</module>
        <module>maven-settings</module>
        <module>maven-settings-builder</module>
        <module>maven-artifact</module>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

     */
    package gradlebuild.docs.dsl.docbook;
    
    import gradlebuild.docs.dsl.source.TypeNameResolver;
    import gradlebuild.docs.dsl.source.model.ClassMetaData;
    import gradlebuild.docs.dsl.source.model.MethodMetaData;
    import gradlebuild.docs.dsl.source.model.TypeMetaData;
    import gradlebuild.docs.model.ClassMetaDataRepository;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    
    import java.util.ArrayList;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  6. callbacks/update.go

    	"gorm.io/gorm/utils"
    )
    
    func SetupUpdateReflectValue(db *gorm.DB) {
    	if db.Error == nil && db.Statement.Schema != nil {
    		if !db.Statement.ReflectValue.CanAddr() || db.Statement.Model != db.Statement.Dest {
    			db.Statement.ReflectValue = reflect.ValueOf(db.Statement.Model)
    			for db.Statement.ReflectValue.Kind() == reflect.Ptr {
    				db.Statement.ReflectValue = db.Statement.ReflectValue.Elem()
    			}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy

    import gradlebuild.docs.XmlSpecification
    import gradlebuild.docs.dsl.source.TypeNameResolver
    import gradlebuild.docs.dsl.source.model.ClassMetaData
    import gradlebuild.docs.dsl.source.model.EnumConstantMetaData
    import gradlebuild.docs.dsl.source.model.MethodMetaData
    import gradlebuild.docs.model.ClassMetaDataRepository
    
    class JavadocLinkConverterTest extends XmlSpecification {
        final LinkRenderer linkRenderer = Mock()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.7K bytes
    - Viewed (0)
  8. tensorflow/c/eager/gradient_checker.cc

      int num_dims = TF_NumDims(t);
      for (int i = 0; i < num_dims; i++) {
        out_dims[i] = TF_Dim(t, i);
      }
    }
    
    // Runs model as is if output is a scalar,
    // else sums the output tensor before returning.
    absl::Status RunAndMaybeSum(AbstractContext* ctx, Model forward,
                                absl::Span<AbstractTensorHandle* const> inputs,
                                absl::Span<AbstractTensorHandle*> outputs,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/settings.md

    Importieren Sie `BaseSettings` aus Pydantic und erstellen Sie eine Unterklasse, ganz ähnlich wie bei einem Pydantic-Modell.
    
    Auf die gleiche Weise wie bei Pydantic-Modellen deklarieren Sie Klassenattribute mit Typannotationen und möglicherweise Defaultwerten.
    
    Sie können dieselben Validierungs-Funktionen und -Tools verwenden, die Sie für Pydantic-Modelle verwenden, z. B. verschiedene Datentypen und zusätzliche Validierungen mit `Field()`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  10. architecture/standards/0005-introduce-core-ui-architecture-module.md

    This ADR does not specify the owner of this new architecture module. However, as a separate module, it can be assigned ownership independently of the other core services.
    
    ## Status
    
    ACCEPTED
    
    ## Consequences
    
    - Introduce the module and move the services and their implementations.
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Mar 04 23:19:15 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top