Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 416 for snapshot (0.05 sec)

  1. 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}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. .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
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 29 08:57:18 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/AbstractCache.java

         * Cache#invalidate invalidations}.
         */
        void recordEviction();
    
        /**
         * Returns a snapshot of this counter's values. Note that this may be an inconsistent view, as
         * it may be interleaved with update operations.
         */
        CacheStats snapshot();
      }
    
      /**
       * A thread-safe {@link StatsCounter} implementation for use by {@link Cache} implementors.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_extra_data_types/test_tutorial001.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial001_py39"),
            pytest.param("tutorial001_py310", marks=needs_py310),
            pytest.param("tutorial001_an_py39"),
            pytest.param("tutorial001_an_py310", marks=needs_py310),
        ],
    )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        oneValueAccumulator = new PairedStatsAccumulator();
        oneValueAccumulator.add(ONE_VALUE, OTHER_ONE_VALUE);
    
        oneValueAccumulatorByAddAllEmptyPairedStats = new PairedStatsAccumulator();
        oneValueAccumulatorByAddAllEmptyPairedStats.add(ONE_VALUE, OTHER_ONE_VALUE);
        oneValueAccumulatorByAddAllEmptyPairedStats.addAll(emptyAccumulator.snapshot());
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/projects/project-builder/MNG-6723/pom.xml

      <modelVersion>4.0.0</modelVersion>
      <groupId>example.eclipse-548652</groupId>
      <artifactId>parent</artifactId>
      <version>0.0.1-SNAPSHOT</version>
      <packaging>pom</packaging>
      <modules>
        <module>child</module>
      </modules>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 488 bytes
    - Viewed (0)
  7. tests/test_filter_pydantic_sub_model_pv2.py

    import pytest
    from dirty_equals import HasRepr
    from fastapi import Depends, FastAPI
    from fastapi.exceptions import ResponseValidationError
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    
    @pytest.fixture(name="client")
    def get_client():
        from pydantic import BaseModel, ValidationInfo, field_validator
    
        app = FastAPI()
    
        class ModelB(BaseModel):
            username: str
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. 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):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py

    from typing import Annotated, Optional
    
    from fastapi import APIRouter, Depends, FastAPI, Security
    from fastapi.security import OAuth2AuthorizationCodeBearer
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    oauth2_scheme = OAuth2AuthorizationCodeBearer(
        authorizationUrl="authorize",
        tokenUrl="token",
        auto_error=True,
        scopes={"read": "Read access", "write": "Write access"},
    )
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

                return switch (repositoryMetadata.getNature()) {
                    case RepositoryMetadata.RELEASE_OR_SNAPSHOT -> Nature.RELEASE_OR_SNAPSHOT;
                    case RepositoryMetadata.SNAPSHOT -> Nature.SNAPSHOT;
                    default -> Nature.RELEASE;
                };
            } else {
                return Nature.RELEASE;
            }
        }
    
        @Override
        public Map<String, String> getProperties() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top