Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 477 for SNAPSHOT (0.18 seconds)

  1. 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 Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. tests/test_request_params/test_path/test_required_str.py

    from typing import Annotated
    
    import pytest
    from fastapi import FastAPI, Path
    from fastapi.testclient import TestClient
    from inline_snapshot import Is, snapshot
    
    app = FastAPI()
    
    
    @app.get("/required-str/{p}")
    async def read_required_str(p: Annotated[str, Path()]):
        return {"p": p}
    
    
    @app.get("/required-alias/{p_alias}")
    async def read_required_alias(p: Annotated[str, Path(alias="p_alias")]):
        return {"p": p}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 09 15:35:43 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  3. tests/test_param_in_path_and_dependency.py

    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    
    async def user_exists(user_id: int):
        return True
    
    
    @app.get("/users/{user_id}", dependencies=[Depends(user_exists)])
    async def read_users(user_id: int):
        pass
    
    
    client = TestClient(app)
    
    
    def test_read_users():
        response = client.get("/users/42")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttp.kt

    expect object OkHttp {
      /**
       * This is a string like "5.0.0", "5.0.0-alpha.762", or "5.3.0-SNAPSHOT" indicating the version of
       * OkHttp in the current runtime. Use this to include the OkHttp version in custom `User-Agent`
       * headers.
       *
       * Official OkHttp releases follow [semantic versioning][semver]. Versions with the `-SNAPSHOT`
       * qualifier are not unique and should only be used in development environments. If you create
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 20:33:04 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/resources/poms/inheritance/tricky-flat-artifactId-urls-expected.xml

      <modelVersion>4.0.0</modelVersion>
    
      <parent>
        <groupId>inheritance</groupId>
        <artifactId>parent</artifactId>
        <version>11-SNAPSHOT</version>
      </parent>
    
      <groupId>inheritance</groupId>
      <artifactId>child-artifact-id</artifactId>
      <version>11-SNAPSHOT</version>
      <name>Model urls inheritance test child</name>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/resources/poms/inheritance/urls-expected.xml

      <modelVersion>4.0.0</modelVersion>
    
      <parent>
        <groupId>inheritance</groupId>
        <artifactId>parent</artifactId>
        <version>11-SNAPSHOT</version>
      </parent>
    
      <groupId>inheritance</groupId>
      <artifactId>child-artifact-id</artifactId>
      <version>11-SNAPSHOT</version>
      <name>Model urls inheritance test child</name>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. tests/test_schema_compat_pydantic_v2.py

    import pytest
    from dirty_equals import IsOneOf
    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"
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/test/resources/poms/inheritance/no-append-urls-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>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  9. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            checkVersionsOrder("1.0-alpha-1", "1.0-alpha-2");
            checkVersionsOrder("1.0-alpha-1", "1.0-beta-1");
    
            checkVersionsOrder("1.0-beta-1", "1.0-SNAPSHOT");
            checkVersionsOrder("1.0-SNAPSHOT", "1.0");
            checkVersionsOrder("1.0-alpha-1-SNAPSHOT", "1.0-alpha-1");
    
            checkVersionsOrder("1.0", "1.0-1");
            checkVersionsOrder("1.0-1", "1.0-2");
            checkVersionsOrder("1.0.0", "1.0-1");
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/resources/changelog-schema.json

                "Query Languages",
                "Ranking",
                "Recovery",
                "Reindex",
                "Rollup",
                "SQL",
                "Search",
                "Security",
                "Snapshot/Restore",
                "Store",
                "Suggesters",
                "TLS",
                "Task Management",
                "Transform"
              ]
            },
            "type": {
              "type": "string",
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 5K bytes
    - Click Count (0)
Back to Top