Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 901 - 910 of 4,659 for report (0.18 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Apply.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnup.goals;
    
    import org.apache.maven.api.di.Inject;
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.cling.invoker.mvnup.UpgradeContext;
    
    /**
     * The "apply" goal implementation.
     */
    @Named("apply")
    @Singleton
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Check.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnup.goals;
    
    import org.apache.maven.api.di.Inject;
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.cling.invoker.mvnup.UpgradeContext;
    
    /**
     * The "check" goal implementation.
     */
    @Named("check")
    @Singleton
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. tests/test_dependency_after_yield_raise.py

    from typing import Annotated, Any
    
    import pytest
    from fastapi import Depends, FastAPI, HTTPException
    from fastapi.testclient import TestClient
    
    
    class CustomError(Exception):
        pass
    
    
    def catching_dep() -> Any:
        try:
            yield "s"
        except CustomError as err:
            raise HTTPException(status_code=418, detail="Session error") from err
    
    
    def broken_dep() -> Any:
        yield "s"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_response_model/test_tutorial003_05.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial003_05_py39"),
            pytest.param("tutorial003_05_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.response_model.{request.param}")
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. docs_src/query_param_models/tutorial002_an_py310.py

    from typing import Annotated, Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 483 bytes
    - Click Count (0)
  6. tests/test_tutorial/test_dependencies/test_tutorial008e.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial008e_py39"),
            pytest.param("tutorial008e_an_py39"),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dependencies.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 574 bytes
    - Click Count (0)
  7. tests/utils.py

    import sys
    
    import pytest
    
    needs_py39 = pytest.mark.skipif(sys.version_info < (3, 9), reason="requires python3.9+")
    needs_py310 = pytest.mark.skipif(
        sys.version_info < (3, 10), reason="requires python3.10+"
    )
    needs_py_lt_314 = pytest.mark.skipif(
        sys.version_info >= (3, 14), reason="requires python3.13-"
    )
    
    
    def skip_module_if_py_gte_314():
        """Skip entire module on Python 3.14+ at import time."""
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 518 bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

     */
    package org.apache.maven.cling.transfer;
    
    import java.util.Locale;
    import java.util.stream.Stream;
    
    import org.apache.maven.api.services.MessageBuilder;
    import org.apache.maven.cling.transfer.FileSizeFormat.ScaleUnit;
    import org.apache.maven.impl.DefaultMessageBuilder;
    import org.junit.jupiter.api.AfterAll;
    import org.junit.jupiter.api.BeforeAll;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

     */
    package org.apache.maven.project;
    
    import java.util.Collections;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.lifecycle.LifecycleExecutor;
    import org.apache.maven.lifecycle.MavenExecutionPlan;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginExecution;
    import org.apache.maven.plugin.MojoExecution;
    
    /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/PhaseRecorderTest.java

     */
    package org.apache.maven.lifecycle.internal;
    
    import java.util.List;
    
    import org.apache.maven.lifecycle.MavenExecutionPlan;
    import org.apache.maven.lifecycle.internal.stub.LifecycleExecutionPlanCalculatorStub;
    import org.apache.maven.lifecycle.internal.stub.ProjectDependencyGraphStub;
    import org.apache.maven.plugin.MojoExecution;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
Back to Top