Search Options

Results per page
Sort
Preferred Languages
Advance

Results 951 - 960 of 1,097 for asdict (0.06 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            Model model = Model.newBuilder()
                    .build(Build.newBuilder()
                            .sourceDirectory("correct")
                            .resources(Arrays.asList(Resource.newBuilder()
                                    .directory("${project.build.sourceDirectory}")
                                    .build()))
                            .build())
                    .build();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/response-model.md

    ```Python hl_lines="8"
    {!> ../../docs_src/response_model/tutorial003_04_py310.py!}
    ```
    
    ////
    
    ...👉 ❌ ↩️ 🆎 ✍ 🚫 Pydantic 🆎 & 🚫 👁 `Response` 🎓 ⚖️ 🏿, ⚫️ 🇪🇺 (🙆 2️⃣) 🖖 `Response` & `dict`.
    
    ### ❎ 📨 🏷
    
    ▶️ ⚪️➡️ 🖼 🔛, 👆 5️⃣📆 🚫 💚 ✔️ 🔢 💽 🔬, 🧾, 🖥, ♒️. 👈 🎭 FastAPI.
    
    ✋️ 👆 💪 💚 🚧 📨 🆎 ✍ 🔢 🤚 🐕‍🦺 ⚪️➡️ 🧰 💖 👨‍🎨 & 🆎 ☑ (✅ ✍).
    
    👉 💼, 👆 💪 ❎ 📨 🏷 ⚡ ⚒ `response_model=None`:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. docs/ko/docs/features.md

    어느 곳에서나 선택적 구성이 가능한 모든 것에 합리적인 기본값이 설정되어 있습니다. 모든 매개변수는 여러분이 필요하거나, 원하는 API를 정의하기 위해 미세하게 조정할 수 있습니다.
    
    하지만 기본적으로 모든 것이 "그냥 작동합니다".
    
    ### 검증
    
    * 다음을 포함한, 대부분의 (혹은 모든?) 파이썬 **데이터 타입** 검증할 수 있습니다:
        * JSON 객체 (`dict`).
        * 아이템 타입을 정의하는 JSON 배열 (`list`).
        * 최소 길이와 최대 길이를 정의하는 문자열 (`str`) 필드.
        * 최솟값과 최댓값을 가지는 숫자 (`int`, `float`), 그 외.
    
    * 다음과 같이 더욱 이색적인 타입에 대해 검증할 수 있습니다:
        * URL.
        * 이메일.
        * UUID.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeConnection.java

                RequestParam... params ) throws CIFSException {
            return send(loc, request, response, params.length == 0 ? EnumSet.noneOf(RequestParam.class) : EnumSet.copyOf(Arrays.asList(params)));
        }
    
    
        <T extends CommonServerMessageBlockResponse> T send ( SmbResourceLocatorImpl loc, CommonServerMessageBlockRequest request, T response,
                Set<RequestParam> params ) throws CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.21.md

    - `audit.k8s.io/v1beta1` and `audit.k8s.io/v1alpha1` audit policy configuration and audit events are deprecated in favor of `audit.k8s.io/v1`, available since v1.13. kube-apiserver invocations that specify alpha or beta policy configurations with `--audit-policy-file`, or explicitly request alpha or beta audit events with `--audit-log-version` / `--audit-webhook-version` must update to use `audit.k8s.io/v1` and accept `audit.k8s.io/v1` events prior...
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri Oct 14 07:03:14 UTC 2022
    - 367.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            ImmutableSet.of(3), set.intersection(ContiguousSet.create(Range.closed(3, 5), integers())));
      }
    
      public void testAsList() {
        ImmutableList<Integer> list = ContiguousSet.create(Range.closed(1, 3), integers()).asList();
        for (int i = 0; i < 3; i++) {
          assertEquals(i + 1, list.get(i).intValue());
        }
        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.iterator()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            }
            if (newKinds == null) {
                return kinds;
            }
    
            final List<Kind> list = new ArrayList<>(kinds.length + newKinds.length);
            list.addAll(Arrays.asList(kinds));
            for (final Kind kind : newKinds) {
                if (!list.contains(kind)) {
                    list.add(kind);
                }
            }
            return list.toArray(new Kind[list.size()]);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/handling-errors.md

    }
    ```
    
    /// tip | "Подсказка"
    
    При вызове `HTTPException` в качестве параметра `detail` можно передавать любое значение, которое может быть преобразовано в JSON, а не только `str`.
    
    Вы можете передать `dict`, `list` и т.д.
    
    Они автоматически обрабатываются **FastAPI** и преобразуются в JSON.
    
    ///
    
    ## Добавление пользовательских заголовков
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/path-params.md

    Значение `"lenet"` также можно получить с помощью `ModelName.lenet.value`.
    
    ///
    
    #### Возврат *элементов перечисления*
    
    Из *операции пути* можно вернуть *элементы перечисления*, даже вложенные в тело JSON (например в `dict`).
    
    Они будут преобразованы в соответствующие значения (в данном случае - строки) перед их возвратом клиенту:
    
    ```Python hl_lines="18  21  23"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        @SuppressWarnings("unchecked") // we will only ever read these
        Entry<K, V>[] entries2 = (Entry<K, V>[]) entries;
        return copyOf(Arrays.asList(entries2));
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top