Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 570 for models (0.08 seconds)

  1. docs_src/events/tutorial003_py39.py

        return x * 42
    
    
    ml_models = {}
    
    
    @asynccontextmanager
    async def lifespan(app: FastAPI):
        # Load the ML model
        ml_models["answer_to_everything"] = fake_answer_to_everything_ml_model
        yield
        # Clean up the ML models and release the resources
        ml_models.clear()
    
    
    app = FastAPI(lifespan=lifespan)
    
    
    @app.get("/predict")
    async def predict(x: float):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 569 bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/site/apt/super-pom.apt.vm

    ~~ under the License.
    
     -----
     Super POM
     -----
     Hervé Boutemy
     -----
     2011-09-12
     -----
    
    Super POM
    
     All models implicitly inherit from a super-POM:
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1K bytes
    - Click Count (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:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  4. 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}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  5. 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 {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface SuperPomProvider {
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainFactory.java

     *
     * <p>This factory is responsible for instantiating concrete toolchain implementations
     * based on toolchain model configurations or default settings.</p>
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface ToolchainFactory {
        /**
         * Creates a toolchain instance from the provided model configuration.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. docs/en/docs/release-notes.md

    * 🌐 Add Korean translation for `docs/ko/docs/tutorial/header-param-models.md`. PR [#13001](https://github.com/fastapi/fastapi/pull/13001) by [@hard-coders](https://github.com/hard-coders).
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:06:15 GMT 2025
    - 586.7K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/schema-extra-example.md

    Here are several ways to do it.
    
    ## Extra JSON Schema data in Pydantic models { #extra-json-schema-data-in-pydantic-models }
    
    You can declare `examples` for a Pydantic model that will be added to the generated JSON Schema.
    
    {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *}
    
    That extra info will be added as-is to the output **JSON Schema** for that model, and it will be used in the API docs.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  9. scripts/playwright/cookie_param_models/image01.py

        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_role("link", name="/items/").click()
        # Manually add the screenshot
        page.screenshot(path="docs/en/docs/img/tutorial/cookie-param-models/image01.png")
    
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
        ["fastapi", "run", "docs_src/cookie_param_models/tutorial001.py"]
    )
    try:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  10. compat/maven-model/pom.xml

          <plugin>
            <groupId>org.codehaus.modello</groupId>
            <artifactId>modello-maven-plugin</artifactId>
            <configuration>
              <basedir>${project.basedir}/../../api/maven-api-model</basedir>
              <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
              <version>4.1.0</version>
              <models>
                <model>src/main/mdo/maven.mdo</model>
              </models>
              <params>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top