Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 346 for SNAPSHOT (0.04 seconds)

  1. tests/test_top_level_security_scheme_in_openapi.py

    # Ref: https://github.com/fastapi/fastapi/issues/14271
    from fastapi import Depends, FastAPI
    from fastapi.security import HTTPBearer
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    bearer_scheme = HTTPBearer()
    
    
    @app.get("/", dependencies=[Depends(bearer_scheme)])
    async def get_root():
        return {"message": "Hello, World!"}
    
    
    client = TestClient(app)
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. .teamcity/pom.xml

        </properties>
        <groupId>Gradle_Check</groupId>
        <artifactId>Gradle_Check_dsl</artifactId>
        <version>1.0-SNAPSHOT</version>
    
        <parent>
            <groupId>org.jetbrains.teamcity</groupId>
            <artifactId>configs-dsl-kotlin-parent</artifactId>
            <version>1.0-SNAPSHOT</version>
        </parent>
    
        <repositories>
            <repository>
                <id>jetbrains-all</id>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 29 22:04:16 GMT 2025
    - 7.4K bytes
    - Click Count (2)
  3. tests/test_tutorial/test_cookie_param_models/test_tutorial002.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from tests.utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py39"),
            pytest.param("tutorial002_py310", marks=[needs_py310]),
            pytest.param("tutorial002_an_py39"),
            pytest.param("tutorial002_an_py310", marks=[needs_py310]),
        ],
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  4. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi_simple.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI, Security
    from fastapi.security import OAuth2AuthorizationCodeBearer
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    oauth2_scheme = OAuth2AuthorizationCodeBearer(
        authorizationUrl="api/oauth/authorize",
        tokenUrl="/api/oauth/token",
        scopes={"read": "Read access", "write": "Write access"},
    )
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshotFromQuickFeedbackStepPromote.kt

        ) {
        init {
            id("Promotion_SnapshotFromQuickFeedbackStepPromote")
            name = "Nightly Snapshot (from QuickFeedback) - Promote"
            description =
                "Promotes a previously built distribution on this agent on '${branch.branchName}' from Quick Feedback as a new nightly snapshot. This build checks out gradle-promote, so don't be misled by the 'master' branch."
    
            steps {
                buildStep(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Mar 20 06:13:56 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  6. tests/test_schema_compat_pydantic_v2.py

    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    from tests.utils import needs_py310
    
    
    @pytest.fixture(name="client")
    def get_client():
        from enum import Enum
    
        app = FastAPI()
    
        class PlatformRole(str, Enum):
            admin = "admin"
            user = "user"
    
        class OtherRole(str, Enum): ...
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy

        },
        {
          "version": "6.4.1",
          "buildTime": "20200515194340+0000"
        },
        {
          "version": "6.4",
          "buildTime": "20200505191855+0000"
        }
      ]
    }'''
            def newSnapshot = snapshot('6.6')
            def expectedFileContent = releasedVersionsFile.text.replace('20200702230251+0000', newSnapshot.buildTime)
    
            when:
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.4K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_dataclasses/test_tutorial002.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from tests.utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py39"),
            pytest.param("tutorial002_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dataclasses_.{request.param}")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_query_param_models/test_tutorial001.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from tests.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),
        ],
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/test/resources/poms/inheritance/no-append-urls2-expected.xml

      <modelVersion>4.0.0</modelVersion>
    
      <parent>
        <groupId>inheritance</groupId>
        <artifactId>parent</artifactId>
        <version>11-SNAPSHOT</version>
      </parent>
    
      <groupId>inheritance</groupId>
      <artifactId>inheritance</artifactId>
      <version>11-SNAPSHOT</version>
      <name>Model urls inheritance test child</name>
    
      <scm child.scm.connection.inherit.append.path="false"
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
Back to Top