Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 1,219 for Examples (1.68 sec)

  1. docs/es/docs/advanced/additional-responses.md

    Por ejemplo, puedes declarar un response con un código de estado `404` que usa un modelo Pydantic y tiene una `description` personalizada.
    
    Y un response con un código de estado `200` que usa tu `response_model`, pero incluye un `example` personalizado:
    
    {* ../../docs_src/additional_responses/tutorial003.py hl[20:31] *}
    
    Todo se combinará e incluirá en tu OpenAPI, y se mostrará en la documentación de la API:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingMultiset.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMultiset} forward <b>indiscriminately</b> to
     * the methods of the delegate. For example, overriding {@link #add(Object, int)} alone <b>will
     * not</b> change the behavior of {@link #add(Object)}, which can lead to unexpected behavior. In
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/openapi-callbacks.md

    Und er wird wahrscheinlich von Anwendung zu Anwendung sehr unterschiedlich sein.
    
    Es könnten nur eine oder zwei Codezeilen sein, wie zum Beispiel:
    
    ```Python
    callback_url = "https://example.com/api/v1/invoices/events/"
    httpx.post(callback_url, json={"description": "Invoice paid", "paid": True})
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

            differences between them.
    
    
            Additionally, it's very useful to us if you can provide a "straw API" &mdash; what the
            method signatures would look like, for example, even if the method and class names are still
            in flux. This can make the feature you're suggesting much clearer to us.
    
      - type: textarea
        attributes:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. docs/ko/docs/advanced/middlewares.md

    HTTP 호스트 헤더 공격을 방지하기 위해 모든 수신 요청에 올바르게 설정된 `Host` 헤더를 갖도록 강제합니다.
    
    {* ../../docs_src/advanced_middleware/tutorial002.py hl[2,6:8] *}
    
    다음 인수가 지원됩니다:
    
    * `allowed_hosts` - 호스트 이름으로 허용해야 하는 도메인 이름 목록입니다. 일치하는 하위 도메인에 대해 `*.example.com`과 같은 와일드카드 도메인이 지원됩니다. 모든 호스트 이름을 허용하려면 `allowed_hosts=[“*”]`를 사용하거나 미들웨어를 생략하세요.
    
    수신 요청의 유효성이 올바르게 확인되지 않으면 `400`이라는 응답이 전송됩니다.
    
    ## `GZipMiddleware`
    
    `Accept-Encoding` 헤더에 `“gzip”`이 포함된 모든 요청에 대해 GZip 응답을 처리합니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Nov 26 22:35:09 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableList.java

        int size = size();
        for (int i = 0; i < size; i++) {
          dst[offset + i] = get(i);
        }
        return offset + size;
      }
    
      /**
       * Returns a view of this immutable list in reverse order. For example, {@code ImmutableList.of(1,
       * 2, 3).reverse()} is equivalent to {@code ImmutableList.of(3, 2, 1)}.
       *
       * @return a view of this immutable list in reverse order
       * @since 7.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/CharMatcherTest.java

        doTestTrimFrom("x--x", "x--x");
        doTestTrimFrom("x-x-", "x-x");
        doTestTrimFrom("x-xx", "x-xx");
        doTestTrimFrom("x-x--xx---x----x", "x-x--xx---x----x");
        // additional testing using the doc example
        assertEquals("cat", anyOf("ab").trimFrom("abacatbab"));
      }
    
      private void doTestTrimFrom(String in, String out) {
        // Try a few different matchers which all match '-' and not 'x'
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

                Maps.asMap(graph.adjacentNodes(node), successorNodeToValueFn));
      }
    
      /**
       * A builder for creating {@link ImmutableValueGraph} instances, especially {@code static final}
       * graphs. Example:
       *
       * {@snippet :
       * static final ImmutableValueGraph<City, Distance> CITY_ROAD_DISTANCE_GRAPH =
       *     ValueGraphBuilder.undirected()
       *         .<City, Distance>immutable()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ACE.java

     * more ACEs are evaluated until all desired access bits (combined)
     * are "allowed". If all of the desired access bits are not "allowed"
     * the then same process is repeated for inherited ACEs.
     * <p>
     * For example, if user <code>WNET\alice</code> tries to open a file
     * with desired access bits <code>0x00000003</code> (<code>FILE_READ_DATA |
     * FILE_WRITE_DATA</code>) and the target file has the following security
     * descriptor ACEs:
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MultimapBuilder.java

    import java.util.TreeSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An immutable builder for {@link Multimap} instances, letting you independently select the desired
     * behaviors (for example, ordering) of the backing map and value-collections. Example:
     *
     * {@snippet :
     * ListMultimap<UserId, ErrorResponse> errorsByUser =
     *     MultimapBuilder.linkedHashKeys().arrayListValues().build();
     * SortedSetMultimap<String, Method> methodsForName =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18K bytes
    - Viewed (0)
Back to top