Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 811 - 820 of 860 for foo2 (0.02 seconds)

  1. tests/test_application.py

        assert "redoc@2" in response.text
    
    
    def test_enum_status_code_response():
        response = client.get("/enum-status-code")
        assert response.status_code == 201, response.text
        assert response.json() == "foo bar"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 56.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/net/InetAddressesTest.java

        assertFalse(InetAddresses.isMappedIPv4Address("::fffe:0:0"));
        assertFalse(InetAddresses.isMappedIPv4Address("::1:ffff:0:0"));
        assertFalse(InetAddresses.isMappedIPv4Address("foo"));
        assertFalse(InetAddresses.isMappedIPv4Address("192.0.2.1"));
      }
    
      public void test6to4Addresses() {
        ImmutableSet<String> non6to4Addresses = ImmutableSet.of("::1.2.3.4", "3ffe::1", "::", "::1");
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  3. docs/de/docs/index.md

        * Falls nicht, sieht der Client einen hilfreichen, klaren Fehler.
    * Prüfen, ob es einen optionalen Query-Parameter namens `q` (wie in `http://127.0.0.1:8000/items/foo?q=somequery`) für `GET`-Requests gibt.
        * Da der `q`-Parameter mit `= None` deklariert ist, ist er optional.
        * Ohne das `None` wäre er erforderlich (wie der Body im Fall von `PUT`).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 23.6K bytes
    - Click Count (1)
  4. guava/src/com/google/common/collect/Sets.java

       *   Iterator<E> it = set.iterator();
       *   while (it.hasNext()) {
       *     foo(it.next());
       *   }
       * }
       * }
       *
       * <p>or:
       *
       * {@snippet :
       * NavigableSet<E> set = synchronizedNavigableSet(new TreeSet<E>());
       * NavigableSet<E> set2 = set.descendingSet().headSet(foo);
       * ...
       * synchronized (set) { // Note: set, not set2!!!
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Tables.java

       * ...
       * synchronized (table) { // Synchronizing on table, not row!
       *   Iterator<Entry<C, V>> i = row.entrySet().iterator(); // Must be in synchronized block
       *   while (i.hasNext()) {
       *     foo(i.next());
       *   }
       * }
       * }
       *
       * <p>Failure to follow this advice may result in non-deterministic behavior.
       *
       * <p>The returned table will be serializable if the specified table is serializable.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 25.3K bytes
    - Click Count (0)
  6. docs/es/docs/index.md

    * Validará que el `item_id` sea del tipo `int` para requests `GET` y `PUT`.
        * Si no lo es, el cliente verá un error útil y claro.
    * Revisa si hay un parámetro de query opcional llamado `q` (como en `http://127.0.0.1:8000/items/foo?q=somequery`) para requests `GET`.
        * Como el parámetro `q` está declarado con `= None`, es opcional.
        * Sin el `None` sería requerido (como lo es el body en el caso con `PUT`).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  7. docs/pt/docs/index.md

    * Validar que `item_id` é do tipo `int` para requisições `GET` e `PUT`.
        * Se não for, o cliente verá um erro útil e claro.
    * Verificar se existe um parâmetro query opcional nomeado como `q` (como em `http://127.0.0.1:8000/items/foo?q=somequery`) para requisições `GET`.
        * Como o parâmetro `q` é declarado com `= None`, ele é opcional.
        * Sem o `None` ele seria obrigatório (como o corpo no caso de `PUT`).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial004_py310.py hl[22] *}
    
    そうすると、デフォルト値はレスポンスに含まれず、実際に設定された値のみが含まれます。
    
    そのため、ID `foo` のitemに対してその *path operation* へリクエストを送ると、レスポンスは以下のようになります(デフォルト値を含まない):
    
    ```JSON
    {
        "name": "Foo",
        "price": 50.2
    }
    ```
    
    /// info | 情報
    
    以下も使用できます:
    
    * `response_model_exclude_defaults=True`
    * `response_model_exclude_none=True`
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  9. doc/go_spec.html

    fmt.Println(s1, s2)            // prints [42] [42 2 3]
    
    var m1 = make(map[string]int)
    var m2 = m1                    // m2 stores the map descriptor of m1
    m1["foo"] = 42                 // setting m1["foo"] changes m2["foo"] as well
    fmt.Println(m2["foo"])         // prints 42
    </pre>
    
    <h3 id="If_statements">If statements</h3>
    
    <p>
    "If" statements specify the conditional execution of two branches
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  10. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

     *   <li>Supports a copy-free {@link #subArray} view, so methods that accept this type don't need to
     *       add overloads that accept start and end indexes.
     *   <li>Can be streamed without "breaking the chain": {@code foo.getBarDoubles().stream()...}.
     *   <li>Access to all collection-based utilities via {@link #asList} (though at the cost of
     *       allocating garbage).
     * </ul>
     *
     * <p>Disadvantages compared to {@code double[]}:
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22.7K bytes
    - Click Count (0)
Back to Top