Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 992 for optionale (0.05 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainFactory.java

        /**
         * Creates a default toolchain instance using system defaults.
         *
         * @return Optional containing the default toolchain if available
         * @throws ToolchainFactoryException if default toolchain creation fails
         */
        @Nonnull
        Optional<Toolchain> createDefaultToolchain() throws ToolchainFactoryException;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. tests/test_param_class.py

    from typing import Optional
    
    from fastapi import FastAPI
    from fastapi.params import Param
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/items/")
    def read_items(q: Optional[str] = Param(default=None)):  # type: ignore
        return {"q": q}
    
    
    client = TestClient(app)
    
    
    def test_default_param_query_none():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 636 bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java

            return Objects.equals(p, packaging);
        }
    
        private static Optional<String> getActivationPackaging(org.apache.maven.model.Profile profile) {
            return Optional.ofNullable(profile)
                    .map(org.apache.maven.model.Profile::getDelegate)
                    .map(Profile::getActivation)
                    .map(Activation::getPackaging);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/TeamcityCIDetector.java

    package org.apache.maven.cling.invoker.cisupport;
    
    import java.util.Optional;
    
    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * TeamCity CI support.
     */
    public class TeamcityCIDetector implements CIDetector {
        public static final String NAME = "TeamCity";
    
        private static final String TEAMCITY_VERSION = "TEAMCITY_VERSION";
    
        @Override
        public Optional<CIInfo> detectCI() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. fastapi/openapi/utils.py

        openapi_version: str = "3.1.0",
        summary: Optional[str] = None,
        description: Optional[str] = None,
        routes: Sequence[BaseRoute],
        webhooks: Optional[Sequence[BaseRoute]] = None,
        tags: Optional[list[dict[str, Any]]] = None,
        servers: Optional[list[dict[str, Union[str, Any]]]] = None,
        terms_of_service: Optional[str] = None,
        contact: Optional[dict[str, Union[str, Any]]] = None,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java

         *
         * @return the optional POM file
         */
        @Nonnull
        Optional<Path> getPomFile();
    
        /**
         * Gets the project that was built.
         *
         * @return The project that was built or {@code null} if an error occurred and this result accompanies a
         *         {@link ProjectBuilderException}.
         */
        @Nonnull
        Optional<Project> getProject();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/resources/inheritance-repo/t07/p0/pom.xml

          </dependency>
          <dependency>
            <groupId>maven-test</groupId>
            <artifactId>t07-d</artifactId>
            <version>1.2</version>
            <scope>test</scope>
            <optional>false</optional>
          </dependency>
        </dependencies>
      </dependencyManagement>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 992 bytes
    - Viewed (0)
  8. tests/test_optional_file_list.py

    from typing import Optional
    
    from fastapi import FastAPI, File
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.post("/files")
    async def upload_files(files: Optional[list[bytes]] = File(None)):
        if files is None:
            return {"files_count": 0}
        return {"files_count": len(files), "sizes": [len(f) for f in files]}
    
    
    def test_optional_bytes_list():
        client = TestClient(app)
        response = client.post(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 821 bytes
    - Viewed (0)
  9. docs/bucket/notifications/README.md

    ```
    KEY:
    notify_elasticsearch[:name]  publish bucket notifications to Elasticsearch endpoints
    
    ARGS:
    url*         (url)                Elasticsearch server's address, with optional authentication info
    index*       (string)             Elasticsearch index to store/update events, index is auto-created
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 84.2K bytes
    - Viewed (0)
  10. docs_src/python_types/tutorial009_py39.py

    from typing import Optional
    
    
    def say_hi(name: Optional[str] = None):
        if name is not None:
            print(f"Hey {name}!")
        else:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 164 bytes
    - Viewed (0)
Back to top