Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 992 for optionale (0.04 sec)

  1. apache-maven/src/assembly/maven/bin/mvnup

    # Apache Maven Upgrade Script
    #
    # Environment Variable Prerequisites
    #
    #   JAVA_HOME           (Optional) Points to a Java installation.
    #   MAVEN_OPTS          (Optional) Java runtime options used when Maven is executed.
    #   MAVEN_SKIP_RC       (Optional) Flag to disable loading of mavenrc files.
    # -----------------------------------------------------------------------------
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. tests/test_dependency_contextvars.py

    from collections.abc import Awaitable
    from contextvars import ContextVar
    from typing import Any, Callable, Optional
    
    from fastapi import Depends, FastAPI, Request, Response
    from fastapi.testclient import TestClient
    
    legacy_request_state_context_var: ContextVar[Optional[dict[str, Any]]] = ContextVar(
        "legacy_request_state_context_var", default=None
    )
    
    app = FastAPI()
    
    
    async def set_up_request_state_dependency():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. tests/test_security_http_digest_optional.py

    from typing import Optional
    
    from fastapi import FastAPI, Security
    from fastapi.security import HTTPAuthorizationCredentials, HTTPDigest
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    security = HTTPDigest(auto_error=False)
    
    
    @app.get("/users/me")
    def read_current_user(
        credentials: Optional[HTTPAuthorizationCredentials] = Security(security),
    ):
        if credentials is None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Feb 27 12:29:20 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. tests/test_custom_schema_fields.py

    from typing import Annotated, Optional
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, WithJsonSchema
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
    
        description: Annotated[
            Optional[str], WithJsonSchema({"type": ["string", "null"]})
        ] = None
    
        model_config = {
            "json_schema_extra": {
                "x-something-internal": {"level": 4},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/CIDetector.java

    package org.apache.maven.cling.invoker.cisupport;
    
    import java.util.Optional;
    
    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * Service interface to detect CI system process runs on, if any.
     *
     * @since 4.0.0
     */
    public interface CIDetector {
        /**
         * Returns non-empty optional with CI information, if CI is detected, empty otherwise.
         */
        Optional<CIInfo> detectCI();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  6. tests/test_security_api_key_cookie_optional.py

    from typing import Optional
    
    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyCookie
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyCookie(name="key", auto_error=False)
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: Optional[str] = Security(api_key)):
        if oauth_header is None:
            return None
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. tests/test_invalid_sequence_param.py

    from typing import Optional
    
    import pytest
    from fastapi import FastAPI, Query
    from pydantic import BaseModel
    
    
    def test_invalid_sequence():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/")
            def read_items(q: list[Item] = Query(default=None)):
                pass  # pragma: no cover
    
    
    def test_invalid_tuple():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java

         *
         * @param session The Maven session context
         * @param type The type of toolchain to retrieve
         * @return Optional containing the toolchain if found
         * @throws ToolchainManagerException if toolchain retrieval fails
         */
        @Nonnull
        Optional<Toolchain> getToolchainFromBuildContext(@Nonnull Session session, @Nonnull String type)
                throws ToolchainManagerException;
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

            when(toolchainFactoryBasicType.createDefaultToolchain()).thenReturn(Optional.of(basicToolchain));
            org.apache.maven.api.Toolchain rareToolchain = mock(org.apache.maven.api.Toolchain.class);
            when(toolchainFactoryRareType.createDefaultToolchain()).thenReturn(Optional.of(rareToolchain));
    
            // execute
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multiset.java

     * to add or remove multiple occurrences of an element at once, or to set the count of an element to
     * a specific value. These modification operations are optional, but implementations which support
     * the standard collection operations {@link #add(Object)} or {@link #remove(Object)} are encouraged
     * to implement the related methods as well. Finally, two collection views are provided: {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top