Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 775 for optionalen (0.17 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

            when(options.all()).thenReturn(Optional.ofNullable(all));
            when(options.infer()).thenReturn(Optional.ofNullable(infer));
            when(options.model()).thenReturn(Optional.ofNullable(model));
            when(options.plugins()).thenReturn(Optional.ofNullable(plugins));
            when(options.modelVersion()).thenReturn(Optional.ofNullable(modelVersion));
            return options;
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java

        }
    
        @Override
        public Optional<Project> getProject() {
            return Optional.ofNullable(session.getProject(delegate.getProject()));
        }
    
        @Override
        public Optional<MojoExecution> getMojoExecution() {
            return Optional.ofNullable(delegate.getMojoExecution()).map(me -> new DefaultMojoExecution(session, me));
        }
    
        @Override
        public Optional<Exception> getException() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 29 20:53:26 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java

        private ProtoLookup(Map<Class<?>, Object> components) {
            this.components = components;
        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            Optional<T> optional = lookupOptional(type);
            if (optional.isPresent()) {
                return optional.get();
            } else {
                throw new LookupException("No mapping for key: " + type.getName());
            }
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptOptions.java

         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        Optional<Boolean> force();
    
        /**
         * Should imply "yes" to all questions.
         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        Optional<Boolean> yes();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         */
        @Nonnull
        Optional<Path> rootDirectory();
    
        /**
         * Returns the input stream for the Maven execution, if running in embedded mode.
         *
         * @return an {@link Optional} containing the input stream, or empty if not applicable
         */
        @Nonnull
        default Optional<InputStream> stdIn() {
            return Optional.ofNullable(parserRequest().stdIn());
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. tests/test_request_params/test_query/test_optional_str.py

        p: Optional[str] = None
    
    
    @app.get("/model-optional-str")
    async def read_model_optional_str(p: Annotated[QueryModelOptionalStr, Query()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    )
    def test_optional_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": False,
                "schema": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. tests/test_request_params/test_body/test_optional_str.py

        return {"p": p}
    
    
    class BodyModelOptionalStr(BaseModel):
        p: Optional[str] = None
    
    
    @app.post("/model-optional-str", operation_id="model_optional_str")
    async def read_model_optional_str(p: BodyModelOptionalStr):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    )
    def test_optional_str_schema(path: str):
        openapi = app.openapi()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. docs/es/docs/index.md

    Si no deseas incluir las dependencias opcionales `standard`, puedes instalar con `pip install fastapi` en lugar de `pip install "fastapi[standard]"`.
    
    ### Sin `fastapi-cloud-cli` { #without-fastapi-cloud-cli }
    
    Si quieres instalar FastAPI con las dependencias standard pero sin `fastapi-cloud-cli`, puedes instalar con `pip install "fastapi[standard-no-fastapi-cloud-cli]"`.
    
    ### Dependencias Opcionales Adicionales { #additional-optional-dependencies }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  9. fastapi/routing.py

            response_model: Any = Default(None),
            status_code: Optional[int] = None,
            tags: Optional[list[Union[str, Enum]]] = None,
            dependencies: Optional[Sequence[params.Depends]] = None,
            summary: Optional[str] = None,
            description: Optional[str] = None,
            response_description: str = "Successful Response",
            responses: Optional[dict[Union[int, str], dict[str, Any]]] = None,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

            for (O option : options) {
                Optional<T> o = getter.apply(option);
                if (o.isPresent()) {
                    return o;
                }
            }
            return Optional.empty();
        }
    
        protected Optional<List<String>> collectListIfPresentOrEmpty(Function<O, Optional<List<String>>> getter) {
            int had = 0;
            ArrayList<String> items = new ArrayList<>();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 26 17:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top