Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 786 for opcional (0.32 sec)

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

         *
         * @return An Optional containing the lowest matching version, or empty Optional if no versions
         *         matched the requested range
         */
        @Nonnull
        default Optional<Version> getLowestVersion() {
            return getVersions().isEmpty()
                    ? Optional.empty()
                    : Optional.of(getVersions().get(0));
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. fastapi/params.py

            gt: Optional[float] = None,
            ge: Optional[float] = None,
            lt: Optional[float] = None,
            le: Optional[float] = None,
            min_length: Optional[int] = None,
            max_length: Optional[int] = None,
            pattern: Optional[str] = None,
            regex: Annotated[
                Optional[str],
                deprecated(
                    "Deprecated in FastAPI 0.100.0 and Pydantic v2, use `pattern` instead."
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  3. tests/test_request_params/test_file/test_optional.py

        return {"file_size": len(p) if p else None}
    
    
    @app.post("/optional-uploadfile", operation_id="optional_uploadfile")
    async def read_optional_uploadfile(p: Annotated[Optional[UploadFile], File()] = None):
        return {"file_size": p.size if p else None}
    
    
    @pytest.mark.parametrize(
        "path",
        [
            "/optional-bytes",
            "/optional-uploadfile",
        ],
    )
    def test_optional_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
    - 9.7K bytes
    - Viewed (0)
  4. tests/test_request_params/test_form/test_optional_str.py

        return {"p": p}
    
    
    class FormModelOptionalStr(BaseModel):
        p: Optional[str] = None
    
    
    @app.post("/model-optional-str", operation_id="model_optional_str")
    async def read_model_optional_str(p: Annotated[FormModelOptionalStr, Form()]):
        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
    - 8.9K bytes
    - Viewed (0)
  5. tests/test_request_params/test_query/test_optional_list.py

    
    class QueryModelOptionalListStr(BaseModel):
        p: Optional[list[str]] = None
    
    
    @app.get("/model-optional-list-str")
    async def read_model_optional_list_str(
        p: Annotated[QueryModelOptionalListStr, Query()],
    ):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-list-str", "/model-optional-list-str"],
    )
    def test_optional_list_str_schema(path: str):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

      public void testEmptiesFirst() {
        Optional<String> empty = Optional.empty();
        Optional<String> abc = Optional.of("abc");
        Optional<String> z = Optional.of("z");
    
        Comparator<Optional<String>> comparator = emptiesFirst(comparing(String::length));
        testComparator(comparator, empty, z, abc);
    
        // Just demonstrate that no explicit type parameter is required
        Comparator<Optional<String>> unused = emptiesFirst(naturalOrder());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. fastapi/security/http.py

                """
            ),
        ]
    
    
    class HTTPBase(SecurityBase):
        def __init__(
            self,
            *,
            scheme: str,
            scheme_name: Optional[str] = None,
            description: Optional[str] = None,
            auto_error: bool = True,
        ):
            self.model: HTTPBaseModel = HTTPBaseModel(
                scheme=scheme, description=description
            )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

                @Nonnull
                @Override
                public Optional<Source> getInstallationSettingsSource() {
                    return Optional.ofNullable(installationSettingsSource);
                }
    
                @Nonnull
                @Override
                public Optional<Source> getProjectSettingsSource() {
                    return Optional.ofNullable(projectSettingsSource);
                }
    
                @Nonnull
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                this.scope = scope;
                return this;
            }
    
            public DependencyCoordinatesFactoryRequestBuilder optional(boolean optional) {
                this.optional = optional;
                return this;
            }
    
            public DependencyCoordinatesFactoryRequestBuilder exclusions(Collection<Exclusion> exclusions) {
                if (exclusions != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. fastapi/dependencies/models.py

        name: Optional[str] = None
        call: Optional[Callable[..., Any]] = None
        request_param_name: Optional[str] = None
        websocket_param_name: Optional[str] = None
        http_connection_param_name: Optional[str] = None
        response_param_name: Optional[str] = None
        background_tasks_param_name: Optional[str] = None
        security_scopes_param_name: Optional[str] = None
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top