Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 424 for models (0.04 sec)

  1. docs_src/sql_databases_peewee/sql_app/main.py

    import time
    from typing import List
    
    from fastapi import Depends, FastAPI, HTTPException
    
    from . import crud, database, models, schemas
    from .database import db_state_default
    
    database.db.connect()
    database.db.create_tables([models.User, models.Item])
    database.db.close()
    
    app = FastAPI()
    
    sleep_time = 10
    
    
    async def reset_db_state():
        database.db._state._state.set(db_state_default.copy())
        database.db._state.reset()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  2. api/maven-api-cli/pom.xml

      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.modello</groupId>
            <artifactId>modello-maven-plugin</artifactId>
            <configuration>
              <version>1.2.0</version>
              <models>
                <model>src/main/mdo/core-extensions.mdo</model>
              </models>
              <templates>
                <template>model.vm</template>
              </templates>
              <params>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Oct 19 18:11:20 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. scripts/playwright/query_param_models/image01.py

        page.get_by_role("button", name="Try it out").click()
        page.get_by_role("heading", name="Servers").click()
        # Manually add the screenshot
        page.screenshot(path="docs/en/docs/img/tutorial/query-param-models/image01.png")
    
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
        ["fastapi", "run", "docs_src/query_param_models/tutorial001.py"]
    )
    try:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. docs/en/data/external_links.yml

    https://twitter.com/_nicoax link: https://blog.codecentric.de/2019/08/inbetriebnahme-eines-scikit-learn-modells-mit-onnx-und-fastapi/ title: Inbetriebnahme eines scikit-learn-Modells mit ONNX und FastAPI - author: Felix Schürmeyer author_link: https://hellocoding.de/autor/felix-schuermeyer/ link: https://hellocoding.de/blog/coding-language/python/fastapi title: REST-API Programmieren mittels Python und dem FastAPI Modul Japanese: - author: '@bee2' author_link: https://qiita.com/bee2 link: https://qiita.com/be...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 24 18:39:34 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/SuperPomProvider.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.Model;
    
    /**
     * Provides the super POM that all models implicitly inherit from.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface SuperPomProvider extends Service {
    
        /**
         * Gets the super POM for the specified model version.
         *
         * @param version The model version to retrieve the super POM for (e.g. "4.0.0"), must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/resources/xml/pom.xml

                </goals>
                <configuration>
                  <version>4.0.0</version>
                  <models>
                    <model>target/mdo/maven.mdo</model>
                  </models>
                  <templates>
                    <template>src/main/mdo/model-v3.vm</template>
                    <template>src/main/mdo/merger.vm</template>
                    <template>src/main/mdo/transformer.vm</template>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/SuperPomProvider.java

     */
    package org.apache.maven.model.superpom;
    
    import org.apache.maven.model.Model;
    
    /**
     * Provides the super POM that all models implicitly inherit from.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface SuperPomProvider {
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. 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_indict){.internal-link target=_blank}.
    
    ///
    
    ## Return the token
    
    The response of the `token` endpoint must be a JSON object.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. docs_src/path_params/tutorial005.py

    from enum import Enum
    
    from fastapi import FastAPI
    
    
    class ModelName(str, Enum):
        alexnet = "alexnet"
        resnet = "resnet"
        lenet = "lenet"
    
    
    app = FastAPI()
    
    
    @app.get("/models/{model_name}")
    async def get_model(model_name: ModelName):
        if model_name is ModelName.alexnet:
            return {"model_name": model_name, "message": "Deep Learning FTW!"}
    
        if model_name.value == "lenet":
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 26 13:26:03 UTC 2022
    - 546 bytes
    - Viewed (0)
  10. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java

         * @return the transformed model, or the input model if no transformation is needed
         * @throws ModelTransformerException
         */
        @Nonnull
        default Model transformFileModel(@Nonnull Model model) throws ModelTransformerException {
            return model;
        }
    
        /**
         * Apply a transformation on the raw models.
         *
         * This method will be called on each raw model being loaded,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top