- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 758 for optimal (0.07 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/MojoExecution.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.Optional; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.model.PluginExecution; import org.apache.maven.api.plugin.descriptor.MojoDescriptor;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Feb 28 23:54:53 GMT 2024 - 1.8K bytes - Click Count (0) -
tests/test_union_body.py
from typing import Optional, Union from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: Optional[str] = None class OtherItem(BaseModel): price: int @app.post("/items/") def save_union_body(item: Union[OtherItem, Item]): return {"item": item} client = TestClient(app)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 4.3K bytes - Click Count (0) -
docs/metrics/prometheus/README.md
scheme: http static_configs: - targets: ['localhost:9000'] ``` ##### Node centric (optional) ```yaml - job_name: minio-job-node bearer_token: <secret> metrics_path: /minio/v2/metrics/node scheme: http static_configs: - targets: ['localhost:9000'] ``` ##### Resource centric (optional) ```yaml - job_name: minio-job-resource bearer_token: <secret>
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 7.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java
@Nonnull DependencyScope getScope(); /** * Returns whether the dependency is optional or mandatory. * Unlike {@link DependencyCoordinates}, the obligation of a {@code Dependency} is always present. * The value is computed during the dependencies collection phase. * * @return {@code true} if the dependency is optional, or {@code false} if mandatory * @see DependencyCoordinates#getOptional() */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 26 07:56:58 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java
} private static void trimValues(MavenProperties configProps) { configProps.replaceAll((k, v) -> v.trim()); } private static String nextLocation(StringTokenizer st) { boolean optional = false; String retVal = null; if (st.countTokens() > 0) { String tokenList = "?\","; StringBuilder tokBuf = new StringBuilder(10); String tok;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 6.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java
} private static class MockOptions { private final boolean quiet; MockOptions(boolean quiet) { this.quiet = quiet; } Optional<Boolean> quiet() { return Optional.of(quiet); } } private static class MockSlf4jConfiguration implements Slf4jConfiguration { int setRootLoggerLevelCallCount = 0; Level lastSetLevel = null;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Oct 08 21:10:33 GMT 2025 - 6.4K bytes - Click Count (0) -
tests/test_security_oauth2_optional_description.py
def get_current_user(oauth_header: Optional[str] = Security(reusable_oauth2)): if oauth_header is None: return None user = User(username=oauth_header) return user @app.post("/login") def login(form_data: OAuth2PasswordRequestFormStrict = Depends()): return form_data @app.get("/users/me") def read_users_me(current_user: Optional[User] = Depends(get_current_user)):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 9.1K bytes - Click Count (0) -
tests/test_openapi_query_parameter_extension.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 4.2K bytes - Click Count (0) -
internal/config/policy/opa/help.go
Description: "[DEPRECATED] authorization token for OPA endpoint" + defaultHelpPostfix(AuthToken), Optional: true, Type: "string", Sensitive: true, Secret: true, }, config.HelpKV{ Key: config.Comment, Description: config.DefaultComment, Optional: true, Type: "sentence", }, }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jun 23 14:45:27 GMT 2023 - 1.6K bytes - Click Count (0) -
tests/test_tutorial/test_encoder/test_tutorial001.py
"timestamp": "2023-01-01T12:00:00", "description": "An optional description", }, ) assert response.status_code == 200 assert "123" in fake_db assert fake_db["123"] == { "title": "Foo", "timestamp": "2023-01-01T12:00:00", "description": "An optional description", } def test_put_invalid_data(client: TestClient, mod: ModuleType):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 6.7K bytes - Click Count (0)