Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 893 for modAlt (0.03 sec)

  1. tests/benchmarks/test_general_performance.py

    
    @app.get("/sync/dict-no-response-model")
    def sync_dict_no_response_model():
        return {"name": "foo", "value": 123}
    
    
    @app.get("/sync/dict-with-response-model", response_model=ItemOut)
    def sync_dict_with_response_model(
        dep: Annotated[int, Depends(dep_b)],
    ):
        return {"name": "foo", "value": 123, "dep": dep}
    
    
    @app.get("/sync/model-no-response-model")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 20:40:26 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. fastapi/security/http.py

    import binascii
    from base64 import b64decode
    from typing import Annotated, Optional
    
    from annotated_doc import Doc
    from fastapi.exceptions import HTTPException
    from fastapi.openapi.models import HTTPBase as HTTPBaseModel
    from fastapi.openapi.models import HTTPBearer as HTTPBearerModel
    from fastapi.security.base import SecurityBase
    from fastapi.security.utils import get_authorization_scheme_param
    from pydantic import BaseModel
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/package-info.java

     * <ul>
     *   <li>{@link org.apache.maven.cling.invoker.mvnup.goals.StrategyOrchestrator} - Coordinates strategy execution</li>
     *   <li>{@link org.apache.maven.cling.invoker.mvnup.goals.PomDiscovery} - Discovers POM files in multi-module projects</li>
     *   <li>{@link org.apache.maven.cling.invoker.mvnup.goals.DomUtils} - XML manipulation utilities</li>
     * </ul>
     *
     * <h2>Usage Examples</h2>
     *
     * <h3>Check for Available Upgrades</h3>
     * <pre>{@code
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. module-tests/build.gradle.kts

      vm.set("server")
    }
    
    extraJavaModuleInfo {
      module("org.jetbrains:annotations", "org.jetbrains.annotations") {
        exportAllPackages()
      }
      module("com.squareup.okio:okio-jvm", "okio") {
        exportAllPackages()
        requires("kotlin.stdlib")
        requires("java.logging")
      }
      module("com.squareup.okio:okio", "okio") {
        exportAllPackages()
      }
    }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:45:42 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/projects/lifecycle-listener/lifecycle-participant-reactor-dependency-injection/pom.xml

      <groupId>lifecycle-participant-reactor-dependency-injection</groupId>
      <artifactId>parent</artifactId>
      <version>1.0</version>
      <packaging>pom</packaging>
    
      <modules>
        <module>module-a</module>
        <module>module-b</module>
      </modules>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 305 bytes
    - Viewed (0)
  6. tests/test_tutorial/test_python_types/test_tutorial008b.py

    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="module",
        params=[
            pytest.param("tutorial008b_py39"),
            pytest.param("tutorial008b_py310", marks=needs_py310),
        ],
    )
    def get_module(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.python_types.{request.param}")
        return mod
    
    
    def test_process_items(module: ModuleType):
        with patch("builtins.print") as mock_print:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 637 bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheRetention.java

         */
        PERSISTENT,
    
        /**
         * Data should be retained for the duration of the current Maven session.
         * Suitable for:
         * - Build-wide configuration
         * - Project model caching
         * - Inter-module metadata
         */
        SESSION_SCOPED,
    
        /**
         * Data should only be retained for the current build request.
         * Suitable for:
         * - Plugin execution results
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. fastapi/utils.py

        version: Literal["1", "auto"] = "auto",
    ) -> ModelField:
        if annotation_is_pydantic_v1(type_):
            raise PydanticV1NotSupportedError(
                "pydantic.v1 models are no longer supported by FastAPI."
                f" Please update the response model {type_!r}."
            )
        class_validators = class_validators or {}
    
        field_info = field_info or FieldInfo(annotation=type_, default=default, alias=alias)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. docs/fr/docs/advanced/additional-responses.md

    **FastAPI** prendra ce modèle, générera son schéma JSON et l'inclura au bon endroit dans OpenAPI.
    
    Par exemple, pour déclarer une autre réponse avec un code HTTP `404` et un modèle Pydantic `Message`, vous pouvez écrire :
    
    {* ../../docs_src/additional_responses/tutorial001.py hl[18,22] *}
    
    /// note | Remarque
    
    Gardez à l'esprit que vous devez renvoyer directement `JSONResponse`.
    
    ///
    
    /// info
    
    La clé `model` ne fait pas partie d'OpenAPI.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            model = builder.build();
            String modelVersion = new MavenModelVersion().getModelVersion(model);
            if (!ModelBuilder.MODEL_VERSION_4_0_0.equals(modelVersion) && !preserveModelVersion) {
                warnNotDowngraded(project);
            }
            model = model.withModelVersion(modelVersion);
            return model;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top