- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 606 for optimal (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs_src/python_types/tutorial009_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 164 bytes - Click Count (0) -
guava/src/com/google/common/graph/ForwardingNetwork.java
public Set<E> edgesConnecting(EndpointPair<N> endpoints) { return delegate().edgesConnecting(endpoints); } @Override public Optional<E> edgeConnecting(N nodeU, N nodeV) { return delegate().edgeConnecting(nodeU, nodeV); } @Override public Optional<E> edgeConnecting(EndpointPair<N> endpoints) { return delegate().edgeConnecting(endpoints); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.7K bytes - Click Count (0) -
tests/test_serialize_response_dataclass.py
from dataclasses import dataclass from datetime import datetime from typing import Optional from fastapi import FastAPI from fastapi.testclient import TestClient app = FastAPI() @dataclass class Item: name: str date: datetime price: Optional[float] = None owner_ids: Optional[list[int]] = None @app.get("/items/valid", response_model=Item) def get_valid():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 4.9K bytes - Click Count (0) -
tests/test_serialize_response_model.py
from typing import Optional from fastapi import FastAPI from pydantic import BaseModel, Field from starlette.testclient import TestClient app = FastAPI() class Item(BaseModel): name: str = Field(alias="aliased_name") price: Optional[float] = None owner_ids: Optional[list[int]] = None @app.get("/items/valid", response_model=Item) def get_valid(): return Item(aliased_name="valid", price=1.0)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 4.2K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java
} @Override public Language language() { return (language != null) ? language : SourceRoot.super.language(); } @Override public Optional<String> module() { return Optional.ofNullable(moduleName); } @Override public PathMatcher matcher(Collection<String> defaultIncludes, boolean useDefaultExcludes) { return null; // Not used for this test. }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Oct 26 17:22:14 GMT 2025 - 2.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java
this.prompter = prompter; } @Override public String description() { return "Secure console password prompt"; } @Override public Optional<String> configTemplate() { return Optional.empty(); } @Override public String handle(String config) throws SecDispatcherException { if (NAME.equals(config)) { try {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Nov 16 13:55:43 GMT 2024 - 2.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java
} @Override public Lookup getLookup() { return lookup; } @Override public Optional<ClassLoader> currentThreadClassLoader() { return Optional.of(plexusContainer.getContainerRealm()); } @Override public void close() { try { plexusContainer.dispose(); } finally {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Mar 24 14:09:05 GMT 2025 - 2.4K bytes - Click Count (0) -
tests/test_security_http_base_optional.py
from typing import Optional from fastapi import FastAPI, Security from fastapi.security.http import HTTPAuthorizationCredentials, HTTPBase from fastapi.testclient import TestClient app = FastAPI() security = HTTPBase(scheme="Other", auto_error=False) @app.get("/users/me") def read_current_user( credentials: Optional[HTTPAuthorizationCredentials] = Security(security), ): if credentials is None:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.9K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer.py
from typing import Optional from fastapi import FastAPI, Security from fastapi.security import OAuth2AuthorizationCodeBearer from fastapi.testclient import TestClient app = FastAPI() oauth2_scheme = OAuth2AuthorizationCodeBearer( authorizationUrl="authorize", tokenUrl="token", auto_error=True ) @app.get("/items/") async def read_items(token: Optional[str] = Security(oauth2_scheme)): return {"token": token}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.3K bytes - Click Count (0) -
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:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Feb 27 12:29:20 GMT 2025 - 2.2K bytes - Click Count (0)