- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 810 for optionalen (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
compat/maven-compat/src/test/resources/inheritance-repo/t07/maven-test/poms/t07-c-1.0.pom
<dependencies> <dependency> <groupId>maven-test</groupId> <artifactId>t07-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>true</optional> </dependency> </dependencies>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 432 bytes - Click Count (0) -
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():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java
return delegate.getExecutionId(); } @Override public String getGoal() { return delegate.getGoal(); } @Override public Optional<XmlNode> getConfiguration() { return Optional.of(delegate.getConfiguration()).map(Xpp3Dom::getDom); } @Override public String toString() { return delegate.toString(); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 5.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java
*/ package org.apache.maven.api.services; import java.io.Closeable; import java.net.URI; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.nio.file.Path; import java.util.Optional; import org.apache.maven.api.RemoteRepository; import org.apache.maven.api.annotations.Consumer; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; /**
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 4.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Node.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.api; import java.util.List; import java.util.Optional; import java.util.function.Predicate; import java.util.stream.Stream; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Immutable;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Mar 24 14:10:11 GMT 2025 - 4.2K bytes - Click Count (0) -
docs_src/separate_openapi_schemas/tutorial002_py39.py
from typing import Optional from fastapi import FastAPI from pydantic import BaseModel class Item(BaseModel): name: str description: Optional[str] = None app = FastAPI(separate_input_output_schemas=False) @app.post("/items/") def create_item(item: Item): return item @app.get("/items/") def read_items() -> list[Item]: return [ Item( name="Portal Gun",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Aug 25 19:10:22 GMT 2023 - 518 bytes - Click Count (0) -
tests/test_callable_endpoint.py
from functools import partial from typing import Optional from fastapi import FastAPI from fastapi.testclient import TestClient def main(some_arg, q: Optional[str] = None): return {"some_arg": some_arg, "q": q} endpoint = partial(main, "foo") app = FastAPI() app.get("/")(endpoint) client = TestClient(app) def test_partial(): response = client.get("/?q=bar") data = response.json()
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Jun 28 18:13:30 GMT 2020 - 457 bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t05/maven-test/poms/t05-b-2.0.pom
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t05-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>false</optional> </dependency> </dependencies>Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 622 bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t08/maven-test/poms/t08-b-1.0.pom
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t08-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>false</optional> </dependency> </dependencies>Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 622 bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/DependencyCoordinates.java
*/ @Nonnull DependencyScope getScope(); /** * Returns whether the dependency is optional, mandatory, or of unspecified obligation. * * @return {@code Boolean.TRUE} and {@code Boolean.FALSE} if optional, or {@code null} if unspecified */ @Nullable Boolean getOptional(); /** * {@return transitive dependencies to exclude} */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 05 14:29:21 GMT 2025 - 2.5K bytes - Click Count (0)