- Sort Score
- Num 10 results
- Language All
Results 541 - 550 of 4,690 for Import (0.04 seconds)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/MavenBuildTimestamp.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.interpolation; import java.text.SimpleDateFormat; import java.util.Date; import java.util.GregorianCalendar; import java.util.Properties; import java.util.TimeZone; /** * MavenBuildTimestamp * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/ResolutionGroup.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.repository.legacy.metadata; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.repository.ArtifactRepository; /** * ResolutionGroup */ @Deprecated public class ResolutionGroup {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/SimpleLookup.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven; import java.util.List; import java.util.Map; import java.util.Optional; import org.apache.maven.api.services.Lookup; import org.apache.maven.api.services.LookupException; public class SimpleLookup implements Lookup { private final List<Object> objects;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
tests/test_custom_route_class.py
import pytest from fastapi import APIRouter, FastAPI from fastapi.routing import APIRoute from fastapi.testclient import TestClient from starlette.routing import Route app = FastAPI() class APIRouteA(APIRoute): x_type = "A" class APIRouteB(APIRoute): x_type = "B" class APIRouteC(APIRoute): x_type = "C" router_a = APIRouter(route_class=APIRouteA) router_b = APIRouter(route_class=APIRouteB)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 3.1K bytes - Click Count (0) -
docs_src/dataclasses_/tutorial003_py39.py
from dataclasses import field # (1) from typing import Union from fastapi import FastAPI from pydantic.dataclasses import dataclass # (2) @dataclass class Item: name: str description: Union[str, None] = None @dataclass class Author: name: str items: list[Item] = field(default_factory=list) # (3) app = FastAPI() @app.post("/authors/{author_id}/items/", response_model=Author) # (4)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 1.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Resolution.java
* under the License. */ package org.apache.maven.api.plugin.annotations; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.apache.maven.api.annotations.Experimental; /** * Indicates that a given field will be injected with the result of
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Jun 11 07:23:04 GMT 2024 - 3.1K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/MethodMetaData.java
* limitations under the License. */ package gradlebuild.docs.dsl.source.model; import org.gradle.api.Action; import java.io.Serializable; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Objects; /** * Static meta-data about a method extracted from the source for the class. */
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.9K bytes - Click Count (0) -
tests/test_dependency_wrapped.py
import inspect import sys from collections.abc import AsyncGenerator, Generator from functools import wraps import pytest from fastapi import Depends, FastAPI from fastapi.concurrency import iterate_in_threadpool, run_in_threadpool from fastapi.testclient import TestClient if sys.version_info >= (3, 13): # pragma: no cover from inspect import iscoroutinefunction else: # pragma: no cover from asyncio import iscoroutinefunction
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 11.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ExecutionEventCatapultStub.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.lifecycle.internal.stub; import org.apache.maven.execution.ExecutionEvent.Type; import org.apache.maven.execution.MavenSession; import org.apache.maven.lifecycle.internal.ExecutionEventCatapult; import org.apache.maven.plugin.MojoExecution; /** */ public class ExecutionEventCatapultStub implements ExecutionEventCatapult {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 1.4K bytes - Click Count (0) -
tests/test_tutorial/test_events/test_tutorial001.py
import pytest from fastapi import FastAPI from fastapi.testclient import TestClient @pytest.fixture(name="app", scope="module") def get_app(): with pytest.warns(DeprecationWarning): from docs_src.events.tutorial001_py39 import app yield app def test_events(app: FastAPI): with TestClient(app) as client: response = client.get("/items/foo") assert response.status_code == 200, response.text
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.6K bytes - Click Count (0)