Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 346 for SNAPSHOT (0.08 seconds)

  1. tests/test_schema_ref_pydantic_v2.py

    from typing import Any
    
    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel, ConfigDict, Field
    
    
    @pytest.fixture(name="client")
    def get_client():
        app = FastAPI()
    
        class ModelWithRef(BaseModel):
            ref: str = Field(validation_alias="$ref", serialization_alias="$ref")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_request_files/test_tutorial001_02.py

    import importlib
    from pathlib import Path
    
    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_02_py39"),
            pytest.param("tutorial001_02_py310", marks=needs_py310),
            pytest.param("tutorial001_02_an_py39"),
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  3. util/deploy_snapshot.sh

    #!/bin/bash
    
    # see https://coderwall.com/p/9b_lfq
    
    set -e -u
    
    function mvn_deploy() {
      ./mvnw clean deploy -DskipTests=true "$@"
    }
    
    echo "Publishing Maven snapshot..."
    
    mvn_deploy
    mvn_deploy -f android/pom.xml
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Oct 16 20:48:20 GMT 2023
    - 245 bytes
    - Click Count (0)
  4. .teamcity/settings.kts

     |        |---- QuickFeedback
     |        |---- ...
     |        |---- ReadyForRelease
     |
     |----- Promotion (buildTypeId: Gradle_Master_Promotion)
     |        |----- Nightly Snapshot
     |        |----- ...
     |
     |----- Util
             |----- WarmupEc2Agent
             |----- AdHocPerformanceTest
    
    Release (buildTypeId: Gradle_Release)
     |----- Check (buildTypeId: Gradle_Release_Check)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Aug 14 07:58:26 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

        }
    
        @Test
        void gregorianCalendarIsUsed() {
            String dateBefore = gregorianDate();
    
            RemoteSnapshotMetadata metadata =
                    new RemoteSnapshotMetadata(new DefaultArtifact("a:b:1-SNAPSHOT"), new Date(), null);
            metadata.merge(new Metadata());
    
            String dateAfter = gregorianDate();
    
            String ts = metadata.metadata.getVersioning().getSnapshot().getTimestamp();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from docs_src.behind_a_proxy.tutorial003_py39 import app
    
    client = TestClient(app)
    
    
    def test_main():
        response = client.get("/app")
        assert response.status_code == 200
        assert response.json() == {"message": "Hello World", "root_path": "/api/v1"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  7. tests/test_stringified_annotation_dependency.py

    from __future__ import annotations
    
    from typing import TYPE_CHECKING, Annotated
    
    import pytest
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    if TYPE_CHECKING:  # pragma: no cover
        from collections.abc import AsyncGenerator
    
    
    class DummyClient:
        async def get_people(self) -> list:
            return ["John Doe", "Jane Doe"]
    
        async def close(self) -> None:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

         * This controls whether to search in release repositories, snapshot repositories, or both.
         *
         * @since 4.0.0
         */
        enum Nature {
            /**
             * Query only release repositories to discover versions.
             */
            RELEASE,
            /**
             * Query only snapshot repositories to discover versions.
             */
            SNAPSHOT,
            /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/resources/poms/depmgmt/root-distance.xml

        <groupId>test</groupId>
        <artifactId>test</artifactId>
        <version>0.1-SNAPSHOT</version>
    
        <dependencyManagement>
            <dependencies>
                <dependency>
                    <groupId>test</groupId>
                    <artifactId>other</artifactId>
                    <version>0.1-SNAPSHOT</version>
                    <type>pom</type>
                    <scope>import</scope>
                </dependency>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 1K bytes
    - Click Count (0)
  10. tests/test_openapi_servers.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI(
        servers=[
            {"url": "/", "description": "Default, relative server"},
            {
                "url": "http://staging.localhost.tiangolo.com:8000",
                "description": "Staging but actually localhost still",
            },
            {"url": "https://prod.example.com"},
        ]
    )
    
    
    @app.get("/foo")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top