- Sort Score
- Result 10 results
- Languages All
Results 1921 - 1930 of 2,165 for retorno (1 sec)
-
docs_src/openapi_callbacks/tutorial001_py39.py
external API with the notification of the invoice event (e.g. "payment successful"). """ # Send the invoice, collect the money, send the notification (the callback)Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.3K bytes - Viewed (0) -
tests/test_param_in_path_and_dependency.py
from fastapi import Depends, FastAPI from fastapi.testclient import TestClient app = FastAPI() async def user_exists(user_id: int): return True @app.get("/users/{user_id}", dependencies=[Depends(user_exists)]) async def read_users(user_id: int): pass client = TestClient(app) def test_read_users(): response = client.get("/users/42") assert response.status_code == 200, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.1K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial008d.py
pytest.param("tutorial008d_an_py39"), ], ) def get_mod(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.dependencies.{request.param}") return mod def test_get_no_item(mod: ModuleType): client = TestClient(mod.app) response = client.get("/items/foo") assert response.status_code == 404, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java
NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, mockPrincipal); assertEquals("NTLM", request.getAuthType()); // Verify it returns the same value on multiple calls assertEquals("NTLM", request.getAuthType()); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/creator/PagerCreator.java
setNameSuffix(SUFFIX); setInstanceDef(InstanceDefFactory.SESSION); setAutoBindingDef(AutoBindingDefFactory.NONE); } public ComponentCustomizer getPagerCustomizer() { return getCustomizer(); } public void setPagerCustomizer(final ComponentCustomizer customizer) { setCustomizer(customizer); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiKatakanaStemmerFactory.java
minimumLength = settings.getAsInt("minimum_length", JapaneseKatakanaStemFilter.DEFAULT_MINIMUM_LENGTH); } @Override public TokenStream create(TokenStream tokenStream) { return new JapaneseKatakanaStemFilter(tokenStream, minimumLength); }
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 1.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/DownloadedArtifact.java
* An {@link Artifact} that has been resolved, i.e. downloaded to the local repository. * * @since 4.0.0 */ @Experimental @Immutable public interface DownloadedArtifact extends Artifact { /** * {@return the a path to the file that has been downloaded to the file system}. */ Path getPath();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 1.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildThreadFactory.java
private final AtomicInteger id = new AtomicInteger(); private static final String PREFIX = "BuilderThread"; @Override public Thread newThread(Runnable r) { return new Thread(r, String.format("%s-%d", PREFIX, id.getAndIncrement())); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExcludesArtifactFilter.java
public ExcludesArtifactFilter(List<String> patterns) { super(patterns); } @Override public boolean include(Artifact artifact) { return !super.include(artifact); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 1.3K bytes - Viewed (0) -
tests/test_security_http_bearer.py
from fastapi.testclient import TestClient app = FastAPI() security = HTTPBearer() @app.get("/users/me") def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)): return {"scheme": credentials.scheme, "credentials": credentials.credentials} client = TestClient(app) def test_security_http_bearer(): response = client.get("/users/me", headers={"Authorization": "Bearer foobar"})
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 2.1K bytes - Viewed (0)