Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 991 - 1000 of 4,245 for get3 (0.02 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java

        public void addStep(MavenProject project, String name, BuildStep step) {
            plan.get(project).put(name, step);
        }
    
        public Stream<BuildStep> allSteps() {
            return plan.values().stream().flatMap(m -> m.values().stream());
        }
    
        public Stream<BuildStep> steps(MavenProject project) {
            return Optional.ofNullable(plan.get(project))
                    .map(m -> m.values().stream())
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. fastapi/exceptions.py

            self._errors = errors
            self.endpoint_ctx = endpoint_ctx
    
            ctx = endpoint_ctx or {}
            self.endpoint_function = ctx.get("function")
            self.endpoint_path = ctx.get("path")
            self.endpoint_file = ctx.get("file")
            self.endpoint_line = ctx.get("line")
    
        def errors(self) -> Sequence[Any]:
            return self._errors
    
        def _format_endpoint_context(self) -> str:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            @Test
            @DisplayName("Should get and set command")
            void testCommandProperty() {
                assertEquals(0, testMessage.getCommand());
                testMessage.setCommand(ServerMessageBlock2.SMB2_CREATE);
                assertEquals(ServerMessageBlock2.SMB2_CREATE, testMessage.getCommand());
            }
    
            @Test
            @DisplayName("Should get and set tree ID")
            void testTreeIdProperty() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 39.5K bytes
    - Click Count (0)
  4. docs_src/dependencies/tutorial001_02_an_py39.py

    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    CommonsDep = Annotated[dict, Depends(common_parameters)]
    
    
    @app.get("/items/")
    async def read_items(commons: CommonsDep):
        return commons
    
    
    @app.get("/users/")
    async def read_users(commons: CommonsDep):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 466 bytes
    - Click Count (0)
  5. docs_src/dependencies/tutorial001_py39.py

    
    async def common_parameters(
        q: Union[str, None] = None, skip: int = 0, limit: int = 100
    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return commons
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 442 bytes
    - Click Count (0)
  6. tests/test_router_prefix_with_template.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    router = APIRouter()
    
    
    @router.get("/users/{id}")
    def read_user(segment: str, id: str):
        return {"segment": segment, "id": id}
    
    
    app.include_router(router, prefix="/{segment}")
    
    
    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/seg/users/foo")
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Apr 08 04:37:38 GMT 2020
    - 484 bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

              public void run() {
                runCalled.getAndIncrement();
              }
            },
            directExecutor());
        list.execute();
        assertEquals(1, runCalled.get());
        list.execute();
        assertEquals(1, runCalled.get());
      }
    
      public void testExecute_idempotentConcurrently() throws InterruptedException {
        CountDownLatch okayToRun = new CountDownLatch(1);
        AtomicInteger runCalled = new AtomicInteger();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. tests/test_custom_swagger_ui_redirect.py

    swagger_ui_oauth2_redirect_url = "/docs/redirect"
    
    app = FastAPI(swagger_ui_oauth2_redirect_url=swagger_ui_oauth2_redirect_url)
    
    
    @app.get("/items/")
    async def read_items():
        return {"id": "foo"}
    
    
    client = TestClient(app)
    
    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        assert response.headers["content-type"] == "text/html; charset=utf-8"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Apr 08 04:37:38 GMT 2020
    - 1.1K bytes
    - Click Count (0)
  9. MIGRATION.md

            fess_doc = {
                "url": doc.get("url", ""),
                "title": doc.get("title", ""),
                "content": doc.get("content", ""),
                "mimetype": doc.get("mimetype", "text/html"),
                "filetype": doc.get("filetype", "html"),
                "created": doc.get("@timestamp", ""),
                "timestamp": doc.get("@timestamp", ""),
                # Add custom fields as needed
            }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 06 12:40:11 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_custom_response/test_tutorial001.py

        return client
    
    
    def test_get_custom_response(client: TestClient):
        response = client.get("/items/")
        assert response.status_code == 200, response.text
        assert response.json() == [{"item_id": "Foo"}]
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top