Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 3,545 for getE (0.03 sec)

  1. tests/test_response_class_no_mediatype.py

        status: str
        title: str
    
    
    class JsonApiError(BaseModel):
        errors: typing.List[Error]
    
    
    @app.get(
        "/a",
        response_class=Response,
        responses={500: {"description": "Error", "model": JsonApiError}},
    )
    async def a():
        pass  # pragma: no cover
    
    
    @app.get("/b", responses={500: {"description": "Error", "model": Error}})
    async def b():
        pass  # pragma: no cover
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/TempFileCreator.java

      }
    
      @IgnoreJRERequirement // used only when Path is available
      private static final class JavaNioCreator extends TempFileCreator {
        @Override
        File createTempDir() {
          try {
            return java.nio.file.Files.createTempDirectory(
                    Paths.get(JAVA_IO_TMPDIR.value()), /* prefix= */ null, directoryPermissions.get())
                .toFile();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java

         */
        enum Version {
            // based on ModeBuildingResult.validationLevel
            BASE,
            V20,
            V30,
            V31,
            V40,
            V41
        }
    
        /**
         * Gets the identifier of the model from which the problem originated. The identifier is derived from the
         * information that is available at the point the problem occurs and as such merely serves as best effort
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                    for (DispatcherMeta.Field option : field.getOptions().get()) {
                        listPromptBuilder
                                .newItem()
                                .name(
                                        option.getDefaultValue().isPresent()
                                                ? option.getDefaultValue().get()
                                                : option.getKey())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_function_test.cc

      TF_Operation *node1, *node2, *node3;
      NodeWithPlaceholderAttrHelper(func_graph.get(), s.get(), "node1", "v1",
                                    &node1);
      NodeWithPlaceholderAttrHelper(func_graph.get(), s.get(), "node2", "v1",
                                    &node2);
      NodeWithPlaceholderAttrHelper(func_graph.get(), s.get(), "node3", "v2",
                                    &node3);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  6. tests/test_duplicate_models_openapi.py

        c: Model
        d: Model2
    
    
    @app.get("/", response_model=Model3)
    def f():
        return {"c": {}, "d": {"a": {}}}
    
    
    client = TestClient(app)
    
    
    def test_get_api_route():
        response = client.get("/")
        assert response.status_code == 200, response.text
        assert response.json() == {"c": {}, "d": {"a": {}}}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        assertEquals(1, threadLocalCount.get().intValue());
        otherThread.join(1000);
        assertEquals(Thread.State.TERMINATED, otherThread.getState());
        Throwable throwable = throwableFromOtherThread.get();
        assertNull(
            "Throwable from other thread: "
                + (throwable == null ? null : Throwables.getStackTraceAsString(throwable)),
            throwableFromOtherThread.get());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. 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 {
        final CountDownLatch okayToRun = new CountDownLatch(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsbhv/BsFailureUrlBhv.java

                result.setConfigId(DfTypeUtil.toString(source.get("configId")));
                result.setErrorCount(DfTypeUtil.toInteger(source.get("errorCount")));
                result.setErrorLog(DfTypeUtil.toString(source.get("errorLog")));
                result.setErrorName(DfTypeUtil.toString(source.get("errorName")));
                result.setLastAccessTime(DfTypeUtil.toLong(source.get("lastAccessTime")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsbhv/BsRelatedQueryBhv.java

                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setQueries(toStringArray(source.get("queries")));
                result.setTerm(DfTypeUtil.toString(source.get("term")));
                result.setUpdatedBy(DfTypeUtil.toString(source.get("updatedBy")));
                result.setUpdatedTime(DfTypeUtil.toLong(source.get("updatedTime")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top