- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 513 for snapshots (0.06 seconds)
-
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 Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 10.4K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/self-referencing-classifier.xml
<artifactId>testvalidpom</artifactId> <version>0.0.1-SNAPSHOT</version> <description> This will test if the module validator recognized that this dependency with classifier is not the same as the module itself. </description> <dependencies> <dependency> <groupId>com.example.group</groupId> <artifactId>testvalidpom</artifactId> <version>0.0.1-SNAPSHOT</version> <classifier>linux</classifier>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.5K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/self-referencing.xml
<artifactId>testinvalidpom</artifactId> <version>0.0.1-SNAPSHOT</version> <description> This will test if the module validator recognized that this dependency is the same as the module itself. </description> <dependencies> <dependency> <groupId>com.example.group</groupId> <artifactId>testinvalidpom</artifactId> <version>0.0.1-SNAPSHOT</version> </dependency> </dependencies>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.5K bytes - Click Count (0) -
tests/test_get_request_body.py
from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel app = FastAPI() class Product(BaseModel): name: str description: str = None # type: ignore price: float @app.get("/product") async def create_item(product: Product): return product client = TestClient(app) def test_get_with_body():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 4.2K bytes - Click Count (0) -
tests/test_additional_responses_response_class.py
from fastapi import FastAPI from fastapi.responses import JSONResponse from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel app = FastAPI() class JsonApiResponse(JSONResponse): media_type = "application/vnd.api+json" class Error(BaseModel): status: str title: str class JsonApiError(BaseModel): errors: list[Error] @app.get(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 3.8K bytes - Click Count (0) -
tests/test_additional_properties_bool.py
from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel, ConfigDict class FooBaseModel(BaseModel): model_config = ConfigDict(extra="forbid") class Foo(FooBaseModel): pass app = FastAPI() @app.post("/") async def post( foo: Foo | None = None, ): return foo client = TestClient(app)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 4.2K bytes - Click Count (0) -
tests/test_repeated_dependency_schema.py
from fastapi import Depends, FastAPI, Header, status from fastapi.testclient import TestClient from inline_snapshot import snapshot app = FastAPI() def get_header(*, someheader: str = Header()): return someheader def get_something_else(*, someheader: str = Depends(get_header)): return f"{someheader}123" @app.get("/") def get_deps(dep1: str = Depends(get_header), dep2: str = Depends(get_something_else)):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 4K bytes - Click Count (0) -
tests/test_repeated_parameter_alias.py
from fastapi import FastAPI, Path, Query, status from fastapi.testclient import TestClient from inline_snapshot import snapshot app = FastAPI() @app.get("/{repeated_alias}") def get_parameters_with_repeated_aliases( path: str = Path(..., alias="repeated_alias"), query: str = Query(..., alias="repeated_alias"), ): return {"path": path, "query": query} client = TestClient(app) def test_get_parameters():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 4.2K bytes - Click Count (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py
from fastapi.testclient import TestClient from inline_snapshot import snapshot from docs_src.behind_a_proxy.tutorial001_py310 import app client = TestClient(app, root_path="/api/v1") 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(): response = client.get("/openapi.json")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.2K bytes - Click Count (0) -
tests/test_request_params/test_query/test_optional_str.py
from typing import Annotated import pytest from fastapi import FastAPI, Query from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel, Field app = FastAPI() # ===================================================================================== # Without aliases @app.get("/optional-str") async def read_optional_str(p: str | None = None): return {"p": p}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 8.4K bytes - Click Count (0)