Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 301 for Models (0.2 sec)

  1. fastapi/security/open_id_connect_url.py

    from typing import Annotated, Optional
    
    from annotated_doc import Doc
    from fastapi.openapi.models import OpenIdConnect as OpenIdConnectModel
    from fastapi.security.base import SecurityBase
    from starlette.exceptions import HTTPException
    from starlette.requests import Request
    from starlette.status import HTTP_401_UNAUTHORIZED
    
    
    class OpenIdConnect(SecurityBase):
        """
        OpenID Connect authentication class. An instance of it would be used as a
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 3.1K bytes
    - Viewed (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:
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

    /**
     * Strategy for applying Maven inference optimizations.
     * For 4.0.0 models: applies limited inference (parent-related only).
     * For 4.1.0+ models: applies full inference optimizations.
     * Removes redundant information that can be inferred by Maven during model building.
     */
    @Named
    @Singleton
    @Priority(30)
    public class InferenceStrategy extends AbstractUpgradeStrategy {
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/ModelNormalizer.java

     * under the License.
     */
    package org.apache.maven.model.normalization;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Handles normalization of a model. In this context, normalization is the process of producing a canonical
     * representation for models that physically look different but are semantically equivalent.
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/security/simple-oauth2.md

        hashed_password = user_dict["hashed_password"],
    )
    ```
    
    /// info | Información
    
    Para una explicación más completa de `**user_dict` revisa en [la documentación para **Extra Models**](../extra-models.md#about-user-in-dict){.internal-link target=_blank}.
    
    ///
    
    ## Devolver el token { #return-the-token }
    
    El response del endpoint `token` debe ser un objeto JSON.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. compat/maven-model/pom.xml

              <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>
                <param>forcedIOModelVersion=4.0.0</param>
                <param>packageModelV3=org.apache.maven.model</param>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. 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.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. docs_src/path_params/tutorial005_py39.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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 546 bytes
    - Viewed (0)
  9. tests/test_openapi_schema_type.py

    from typing import Optional, Union
    
    import pytest
    from fastapi.openapi.models import Schema, SchemaType
    
    
    @pytest.mark.parametrize(
        "type_value",
        [
            "array",
            ["string", "null"],
            None,
        ],
    )
    def test_allowed_schema_type(
        type_value: Optional[Union[SchemaType, list[SchemaType]]],
    ) -> None:
        """Test that Schema accepts SchemaType, List[SchemaType] and None for type field."""
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 730 bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DependencyManagementImporter.java

     */
    package org.apache.maven.model.composition;
    
    import java.util.List;
    
    import org.apache.maven.model.DependencyManagement;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Handles the import of dependency management from other models into the target model.
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top