Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3341 - 3350 of 3,625 for Gist (0.02 seconds)

  1. docs/es/docs/tutorial/handling-errors.md

    }
    ```
    
    /// tip | Consejo
    
    Cuando lanzas un `HTTPException`, puedes pasar cualquier valor que pueda convertirse a JSON como el parámetro `detail`, no solo `str`.
    
    Podrías pasar un `dict`, un `list`, etc.
    
    Son manejados automáticamente por **FastAPI** y convertidos a JSON.
    
    ///
    
    ## Agrega headers personalizados { #add-custom-headers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/handling-errors.md

    }
    ```
    
    /// tip | Dica
    
    Quando você lançar um `HTTPException`, você pode passar qualquer valor convertível em JSON como parâmetro de `detail`, e não apenas `str`.
    
    Você pode passar um `dict` ou um `list`, etc.
    Esses tipos de dados são manipulados automaticamente pelo **FastAPI** e convertidos em JSON.
    
    ///
    
    ## Adicione headers customizados { #add-custom-headers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  3. tensorflow/c/c_api_function.cc

          if (std::find(indices.begin(), indices.end(), idx) != indices.end()) {
            return InvalidArgument("TF_Output ", node->name(), ":", idx,
                                   " appears more than once in the input list");
          }
          indices.push_back(idx);
        }
      }
      return absl::OkStatus();
    }
    
    // Converts `noutputs` and `outputs` into `outputs_tensors` and does various
    // checks while doing so.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 16:27:48 GMT 2024
    - 13.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsElevateWordCQ.java

            queryLambda.callback(cq);
            final Collection<FilterFunctionBuilder> list = new ArrayList<>();
            if (functionsLambda != null) {
                functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
                    ElevateWordCQ cf = new ElevateWordCQ();
                    cqLambda.callback(cf);
                    list.add(new FilterFunctionBuilder(cf.getQuery(), scoreFunctionBuilder));
                });
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 64.2K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

      ): Boolean {
        for (i in pos until limit) {
          if (this[i].code >= INITIAL_N) return true
        }
        return false
      }
    
      private fun String.codePoints(
        pos: Int,
        limit: Int,
      ): List<Int> {
        val result = mutableListOf<Int>()
        var i = pos
        while (i < limit) {
          val c = this[i]
          result +=
            when {
              c.isSurrogate() -> {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/Config.java

            }
            return def;
        }
    
        /**
         * Retrieve an array of <code>InetAddress</code> created from a property
         * value containing a <code>delim</code> separated list of host names and/or
         * ip addresses.
         *
         * @param props the properties to search in
         * @param key the property key to look up
         * @param delim the delimiter to use for splitting the property value
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  7. docs/uk/docs/tutorial/handling-errors.md

    }
    ```
    
    /// tip | Порада
    
    Під час генерації `HTTPException` ви можете передати будь-яке значення, яке може бути перетворене в JSON, як параметр `detail`, а не лише `str`.
    
    Ви можете передати `dict`, `list` тощо.
    
    Вони обробляються автоматично за допомогою **FastAPI** та перетворюються в JSON.
    
    ///
    
    ## Додавання власних заголовків { #add-custom-headers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  8. docs/tr/docs/tutorial/handling-errors.md

    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | İpucu
    
    Bir `HTTPException` raise ederken, `detail` parametresine sadece `str` değil, JSON’a dönüştürülebilen herhangi bir değer geçebilirsiniz.
    
    Örneğin `dict`, `list` vb. geçebilirsiniz.
    
    Bunlar **FastAPI** tarafından otomatik olarak işlenir ve JSON’a dönüştürülür.
    
    ///
    
    ## Özel Header’lar Eklemek { #add-custom-headers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  9. docs/ja/docs/tutorial/stream-json-lines.md

    {"name": "Portal Gun", "description": "A portal opening device."}
    {"name": "Meeseeks Box", "description": "A box that summons a Meeseeks."}
    ```
    
    これは JSON 配列(Python の list に相当)にとてもよく似ていますが、`[]` で囲まず、アイテム間の `,` もありません。その代わりに、**1 行に 1 つの JSON オブジェクト**で、改行文字で区切られます。
    
    /// info | 情報
    
    重要な点は、クライアントが前の行を消費している間に、アプリ側は次の行を順次生成して送れることです。
    
    ///
    
    /// note | 技術詳細
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  10. cmd/storage-rest-client.go

    }
    
    // MakeVol - create a volume on a remote disk.
    func (client *storageRESTClient) MakeVol(ctx context.Context, volume string) (err error) {
    	return errInvalidArgument
    }
    
    // ListVols - List all volumes on a remote disk.
    func (client *storageRESTClient) ListVols(ctx context.Context) (vols []VolInfo, err error) {
    	return nil, errInvalidArgument
    }
    
    // StatVol - get volume info over the network.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
Back to Top