Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for get_recursive (0.11 sec)

  1. tests/test_validate_response_recursive/app_pv2.py

        name: str
    
    
    RecursiveSubitemInSubmodel.model_rebuild()
    RecursiveItemViaSubmodel.model_rebuild()
    
    
    @app.get("/items/recursive", response_model=RecursiveItem)
    def get_recursive():
        return {"name": "item", "sub_items": [{"name": "subitem", "sub_items": []}]}
    
    
    @app.get("/items/recursive-submodel", response_model=RecursiveItemViaSubmodel)
    def get_recursive_submodel():
        return {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. tests/test_validate_response_recursive/app_pv1.py

        sub_items1: List[RecursiveSubitemInSubmodel] = []
        name: str
    
    
    RecursiveSubitemInSubmodel.update_forward_refs()
    
    
    @app.get("/items/recursive", response_model=RecursiveItem)
    def get_recursive():
        return {"name": "item", "sub_items": [{"name": "subitem", "sub_items": []}]}
    
    
    @app.get("/items/recursive-submodel", response_model=RecursiveItemViaSubmodel)
    def get_recursive_submodel():
        return {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. tests/test_validate_response_recursive/test_validate_response_recursive_pv2.py

    from fastapi.testclient import TestClient
    
    from ..utils import needs_pydanticv2
    
    
    @needs_pydanticv2
    def test_recursive():
        from .app_pv2 import app
    
        client = TestClient(app)
        response = client.get("/items/recursive")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "sub_items": [{"name": "subitem", "sub_items": []}],
            "name": "item",
        }
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 900 bytes
    - Viewed (0)
  4. tests/test_validate_response_recursive/test_validate_response_recursive_pv1.py

    from fastapi.testclient import TestClient
    
    from ..utils import needs_pydanticv1
    
    
    @needs_pydanticv1
    def test_recursive():
        from .app_pv1 import app
    
        client = TestClient(app)
        response = client.get("/items/recursive")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "sub_items": [{"name": "subitem", "sub_items": []}],
            "name": "item",
        }
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 900 bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            mavenExecutionRequest.setIgnoreInvalidArtifactDescriptor(true);
            mavenExecutionRequest.setIgnoreMissingArtifactDescriptor(true);
            mavenExecutionRequest.setRecursive(true);
            mavenExecutionRequest.setReactorFailureBehavior(MavenExecutionRequest.REACTOR_FAIL_FAST);
            mavenExecutionRequest.setStartTime(new Date());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            copy.setBaseDirectory((original.getBaseDirectory() != null) ? new File(original.getBaseDirectory()) : null);
            copy.setGoals(original.getGoals());
            copy.setRecursive(original.isRecursive());
            copy.setPom(original.getPom());
            copy.setSystemProperties(original.getSystemProperties());
            copy.setUserProperties(original.getUserProperties());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        /**
         * @return the degree of concurrency for the build.
         */
        int getDegreeOfConcurrency();
    
        // Recursive (really to just process the top-level POM)
        MavenExecutionRequest setRecursive(boolean recursive);
    
        boolean isRecursive();
    
        MavenExecutionRequest setPom(File pom);
    
        File getPom();
    
        // Errors
        MavenExecutionRequest setShowErrors(boolean showErrors);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            request.setGoals(commandLine.getArgList());
            request.setReactorFailureBehavior(determineReactorFailureBehaviour(commandLine));
            disableOnPresentOption(commandLine, CLIManager.NON_RECURSIVE, request::setRecursive);
            enableOnPresentOption(commandLine, CLIManager.OFFLINE, request::setOffline);
            enableOnPresentOption(commandLine, CLIManager.UPDATE_SNAPSHOTS, request::setUpdateSnapshots);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top