- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 673 for optionals (0.09 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) -
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) -
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
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.1K 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) -
.github/ISSUE_TEMPLATE/30_contributor_regression.yml
id: build-scan-url attributes: label: Build scan URL (optional) description: | You can run your build command with `--scan` to publish a Build Scan to [scans.gradle.com](https://scans.gradle.com/). validations: required: false - type: textarea id: environment attributes: label: Your Environment (optional) description: |Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Sep 09 14:48:49 GMT 2024 - 2.7K bytes - Click Count (0)