Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 1,184 for asdict (0.1 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

            }
    
            ClassMap classMap = getClassMap(value.getClass());
            String methodBase = Character.toTitleCase(property.charAt(0)) + property.substring(1);
            try {
                for (String prefix : Arrays.asList("get", "is", "to", "as")) {
                    Method method = classMap.findMethod(prefix + methodBase);
                    if (method != null) {
                        return method.invoke(value, OBJECT_ARGS);
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        )
        client =
          client.newBuilder()
            .protocols(Arrays.asList(Protocol.HTTP_1_1))
            .build()
        assertContent("A", getResponse(newRequest("/")))
      }
    
      @Test
      fun setProtocolsWithoutHttp11() {
        assertFailsWith<IllegalArgumentException> {
          OkHttpClient.Builder()
            .protocols(Arrays.asList(Protocol.HTTP_2))
        }
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

        // 256 characters long
        assertEquals(4904844928629814570L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8)));
      }
    
      public void testStringsConsistency() {
        for (String s : Arrays.asList("", "some", "test", "strings", "to", "try")) {
          assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s));
        }
      }
    
      public void testUtf8() {
        char[] charsA = new char[128];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

        private static final String PREFIX_PROJECT = "project.";
        private static final String PREFIX_POM = "pom.";
        private static final List<String> PROJECT_PREFIXES_3_1 = Arrays.asList(PREFIX_POM, PREFIX_PROJECT);
        private static final List<String> PROJECT_PREFIXES_4_0 = Collections.singletonList(PREFIX_PROJECT);
    
        private static final Collection<String> TRANSLATED_PATH_EXPRESSIONS;
    
        static {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

         */
        private static class StringItem implements Item {
            private static final List<String> QUALIFIERS =
                    Arrays.asList("alpha", "beta", "milestone", "rc", "snapshot", "", "sp");
            private static final List<String> RELEASE_QUALIFIERS = Arrays.asList("ga", "final", "release");
    
            private static final Properties ALIASES = new Properties();
    
            static {
                ALIASES.put("cr", "rc");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  6. docs/de/docs/how-to/configure-swagger-ui.md

    Um diese zu konfigurieren, übergeben Sie das Argument `swagger_ui_parameters` beim Erstellen des `FastAPI()`-App-Objekts oder an die Funktion `get_swagger_ui_html()`.
    
    `swagger_ui_parameters` empfängt ein Dict mit den Konfigurationen, die direkt an die Swagger-Oberfläche übergeben werden.
    
    FastAPI konvertiert die Konfigurationen nach **JSON**, um diese mit JavaScript kompatibel zu machen, da die Swagger-Oberfläche das benötigt.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. docs_src/security/tutorial004_py310.py

        user = get_user(fake_db, username)
        if not user:
            return False
        if not verify_password(password, user.hashed_password):
            return False
        return user
    
    
    def create_access_token(data: dict, expires_delta: timedelta | None = None):
        to_encode = data.copy()
        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. docs/ko/docs/advanced/response-change-status-code.md

    그리고 이 *임시* 응답 객체에서 `status_code`를 설정할 수 있습니다.
    
    ```Python hl_lines="1  9  12"
    {!../../docs_src/response_change_status_code/tutorial001.py!}
    ```
    
    그리고 평소처럼 원하는 객체(`dict`, 데이터베이스 모델 등)를 반환할 수 있습니다.
    
    `response_model`을 선언했다면 반환된 객체는 여전히 필터링되고 변환됩니다.
    
    **FastAPI**는 이 *임시* 응답 객체에서 상태 코드(쿠키와 헤더 포함)를 추출하여, `response_model`로 필터링된 반환 값을 최종 응답에 넣습니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:01:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

            return redirect(getClass());
        }
    
        // ===================================================================================
        //                                                                        Assist Logic
        //                                                                        ============
    
        private static OptionalEntity<RelatedQuery> getEntity(final CreateForm form, final String username, final long currentTime) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        return Arrays.<Class<? extends AbstractTester>>asList(
            MapClearTester.class,
            MapContainsKeyTester.class,
            MapContainsValueTester.class,
            MapCreationTester.class,
            MapEntrySetTester.class,
            MapEqualsTester.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top