- Sort Score
- Num 10 results
- Language All
Results 1331 - 1340 of 2,994 for class (0.02 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java
String classpath = System.getProperty("java.class.path"); String path = System.getProperty("java.home") + separator + "bin" + separator + (Os.IS_WINDOWS ? "java.exe" : "java"); ProcessBuilder processBuilder = new ProcessBuilder(path, "-cp", classpath, CIDetectorHelperRunner.class.getName()); processBuilder.environment().putAll(add); ALL.stream()
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Apr 13 18:50:07 GMT 2025 - 3.4K bytes - Click Count (0) -
docs/en/docs/tutorial/debugging.md
<div class="termy"> ```console $ python myapp.py ``` </div> but is not called when another file imports it, like in: ```Python from myapp import app ``` #### More details { #more-details } Let's say your file is named `myapp.py`. If you run it with: <div class="termy"> ```console $ python myapp.py ``` </div>
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java
Map<String, Lifecycle> lifeCycles = myLifecycles.stream().collect(Collectors.toMap(Lifecycle::getId, l -> l)); PlexusContainer mockedPlexusContainer = mock(PlexusContainer.class); when(mockedPlexusContainer.lookupMap(Lifecycle.class)).thenReturn(lifeCycles); DefaultLifecycles dl = new DefaultLifecycles( new DefaultLifecycleRegistry(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 3.9K bytes - Click Count (0) -
impl/maven-core/src/test/remote-repo/org/apache/maven/plugins/maven-clean-plugin/0.1/maven-clean-plugin-0.1.jar
false true clean Does nothing. false true false false false true org.apache.maven.plugin.coreit.ItMojo java per-lookup once-per-session org.apache.maven maven-plugin-api jar 2.0 org/apache/maven/plugin/coreit/ItMojo.class package org.apache.maven.plugin.coreit; public synchronized class ItMojo extends org.apache.maven.plugin.AbstractMojo { public void ItMojo(); public void execute(); } pom.xml 4.0.0 org.apache.maven.plugins maven-clean-plugin 0.1 maven-plugin Maven Integration Test Plugin A test plugin...Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.6K bytes - Click Count (0) -
docs/en/docs/tutorial/handling-errors.md
#### FastAPI's `HTTPException` vs Starlette's `HTTPException` { #fastapis-httpexception-vs-starlettes-httpexception } **FastAPI** has its own `HTTPException`. And **FastAPI**'s `HTTPException` error class inherits from Starlette's `HTTPException` error class. The only difference is that **FastAPI**'s `HTTPException` accepts any JSON-able data for the `detail` field, while Starlette's `HTTPException` only accepts strings for it.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SinceTagStatus.kt
* limitations under the License. */ package gradlebuild.binarycompatibility.sources sealed interface SinceTagStatus { data class Present(val version: String): SinceTagStatus data object NotNeeded: SinceTagStatus data class Inconsistent(val versions: List<String?>): SinceTagStatus data object Missing: SinceTagStatusCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 06 17:52:09 GMT 2025 - 917 bytes - Click Count (0) -
docs_src/dependencies/tutorial008c_an_py39.py
from typing import Annotated from fastapi import Depends, FastAPI, HTTPException app = FastAPI() class InternalError(Exception): pass def get_username(): try: yield "Rick" except InternalError: print("Oops, we didn't raise again, Britney 😱") @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]): if item_id == "portal-gun":
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Feb 24 23:06:37 GMT 2024 - 700 bytes - Click Count (0) -
tests/test_openapi_model_description_trim_on_formfeed.py
from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class MyModel(BaseModel): """ A model with a form feed character in the title. \f Text after form feed character. """ @app.get("/foo") def foo(v: MyModel): # pragma: no cover pass client = TestClient(app) def test_openapi():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Jun 17 07:46:27 GMT 2025 - 660 bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManager.java
*/ @Deprecated(since = "4.0.0") public interface ToolchainManager { // NOTE: Some plugins like Surefire access this field directly! @Deprecated String ROLE = ToolchainManager.class.getName(); /** * Retrieve toolchain of specified type from build context. It is expected that * <code>maven-toolchains-plugin</code> contains the configuration to select the appropriateCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Feb 12 13:13:28 GMT 2025 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleExecutionPlanCalculatorTest.java
import org.codehaus.plexus.component.repository.exception.ComponentLookupException; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; /** */ class LifecycleExecutionPlanCalculatorTest extends AbstractCoreMavenComponentTestCase { @Test void testCalculateExecutionPlanWithGoalTasks() throws Exception {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.9K bytes - Click Count (0)