- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 376 for Snapshot (0.1 seconds)
-
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
*/ final class SubscriberRegistry { /** * All registered subscribers, indexed by event type. * * <p>The {@link CopyOnWriteArraySet} values make it easy and relatively lightweight to get an * immutable snapshot of all current subscribers to an event without any locking. */ private final ConcurrentMap<Class<?>, CopyOnWriteArraySet<Subscriber>> subscribers = Maps.newConcurrentMap();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
tests/test_additional_responses_custom_model_in_callback.py
from fastapi import APIRouter, FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel, HttpUrl from starlette.responses import JSONResponse class CustomModel(BaseModel): a: int app = FastAPI() callback_router = APIRouter(default_response_class=JSONResponse) @callback_router.get( "{$callback_url}/callback/", responses={400: {"model": CustomModel}} )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 5.8K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
*/ @Nonnull Optional<List<String>> activatedProfiles(); /** * Indicates whether Maven should suppress SNAPSHOT updates. * * @return an {@link Optional} containing true if SNAPSHOT updates should be suppressed, false if not, or empty if not specified */ @Nonnull Optional<Boolean> suppressSnapshotUpdates(); /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/TestLogHandler.java
synchronized (lock) { list.clear(); } } /** Returns a snapshot of the logged records. */ /* * TODO(cpovirk): consider higher-level APIs here (say, assertNoRecordsLogged(), * getOnlyRecordLogged(), getAndClearLogRecords()...) * * TODO(cpovirk): consider renaming this method to reflect that it takes a snapshot (and/or return * an ImmutableList) */ public List<LogRecord> getStoredLogRecords() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
tests/test_no_schema_split.py
# Made an issue in: # https://github.com/fastapi/fastapi/issues/14247 from enum import Enum from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel, Field class MessageEventType(str, Enum): alpha = "alpha" beta = "beta" class MessageEvent(BaseModel):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 6.4K bytes - Click Count (0) -
tests/test_get_model_definitions_formfeed_escape.py
import pytest from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot @pytest.fixture(name="client") def client_fixture() -> TestClient: from pydantic import BaseModel class Address(BaseModel): """ This is a public description of an Address \f You can't see this part of the docstring, it's private! """ line_1: str
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 5.8K bytes - Click Count (0) -
tests/test_union_body_discriminator_annotated.py
# Ref: https://github.com/fastapi/fastapi/discussions/14495 from typing import Annotated, Union import pytest from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel @pytest.fixture(name="client") def client_fixture() -> TestClient: from fastapi import Body from pydantic import Discriminator, Tag class Cat(BaseModel):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 7.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java
throws Exception { Artifact i = createRemoteArtifact("i", "1.0-SNAPSHOT"); deleteLocalArtifact(i); Artifact j = createRemoteArtifact("j", "1.0-SNAPSHOT"); deleteLocalArtifact(j); ArtifactResolutionResult result = artifactResolver.resolveTransitively(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 26 10:49:22 GMT 2025 - 10.1K bytes - Click Count (0) -
tests/test_multi_body_errors.py
from decimal import Decimal from dirty_equals import IsOneOf from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel, condecimal app = FastAPI() class Item(BaseModel): name: str age: condecimal(gt=Decimal(0.0)) # type: ignore @app.post("/items/") def save_item_no_body(item: list[Item]): return {"item": item}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 6.1K bytes - Click Count (0) -
.teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt
triggerName = "ReadyforNightly", ) { init { id(NIGHTLY_SNAPSHOT_BUILD_ID) name = "Nightly Snapshot" description = "Promotes the latest successful changes on '${branch.branchName}' from Ready for Nightly as a new nightly snapshot" triggers { val triggerHour = branch.determineNightlyPromotionTriggerHour() ?: return@triggers
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 29 08:57:18 GMT 2025 - 4.3K bytes - Click Count (0)