Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 233 for converting (0.75 sec)

  1. docs/en/docs/tutorial/path-params.md

    {"item_id":3}
    ```
    
    /// check
    
    Notice that the value your function received (and returned) is `3`, as a Python `int`, not a string `"3"`.
    
    So, with that type declaration, **FastAPI** gives you automatic request <abbr title="converting the string that comes from an HTTP request into Python data">"parsing"</abbr>.
    
    ///
    
    ## Data validation { #data-validation }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/path-params.md

    {"item_id":3}
    ```
    
    /// check | Revisa
    
    Nota que el valor que tu función recibió (y devolvió) es `3`, como un `int` de Python, no un string `"3"`.
    
    Entonces, con esa declaración de tipo, **FastAPI** te ofrece <abbr title="converting the string that comes from an HTTP request into Python data">"parsing"</abbr> automático de requests.
    
    ///
    
    ## Validación de datos
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/AbstractByteHasher.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract {@link Hasher} that handles converting primitives to bytes using a scratch {@code
     * ByteBuffer} and streams all bytes to a sink to compute the hash.
     *
     * @author Colin Decker
     */
    abstract class AbstractByteHasher extends AbstractHasher {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 12:40:17 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/dataclasses.md

    4️⃣. `Author` 🎻 ⚙️ `response_model` 🔢.
    
    5️⃣. 👆 💪 ⚙️ 🎏 🐩 🆎 ✍ ⏮️ 🎻 📨 💪.
    
        👉 💼, ⚫️ 📇 `Item` 🎻.
    
    6️⃣. 📥 👥 🛬 📖 👈 🔌 `items` ❔ 📇 🎻.
    
        FastAPI 🎯 <abbr title="converting the data to a format that can be transmitted">✍</abbr> 💽 🎻.
    
    7️⃣. 📥 `response_model` ⚙️ 🆎 ✍ 📇 `Author` 🎻.
    
        🔄, 👆 💪 🌀 `dataclasses` ⏮️ 🐩 🆎 ✍.
    
    8️⃣. 👀 👈 👉 *➡ 🛠️ 🔢* ⚙️ 🥔 `def` ↩️ `async def`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

    import org.opensearch.search.SearchHit;
    
    /**
     * Utility class for search engine operations and content formatting.
     * Provides helper methods for working with XContent builders, scrolling through search results,
     * and converting XContent objects to different output formats.
     */
    public final class SearchEngineUtil {
    
        private static final Logger logger = LogManager.getLogger(SearchEngineUtil.class);
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/rank/fusion/RankFusionSearcher.java

         */
        public RankFusionSearcher() {
            // Default constructor - name will be initialized lazily
        }
    
        /**
         * Returns the name of this searcher.
         * The name is derived from the class name by converting it to lowercase
         * and removing the "Searcher" suffix.
         *
         * @return the searcher name
         */
        public String getName() {
            if (name == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java

      public void testBigToDouble() {
        for (BigInteger b : ALL_BIGINTEGER_CANDIDATES) {
          if (b.doubleValue() != DoubleUtils.bigToDouble(b)) {
            failFormat(
                "Converting %s to double: expected doubleValue %s but got bigToDouble %s",
                b, b.doubleValue(), DoubleUtils.bigToDouble(b));
          }
        }
      }
    
      public void testEnsureNonNegative() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

        val cookie = cookies[0]
        assertThat(cookie.name).isEqualTo("a")
        assertThat(cookie.value).isEqualTo("android")
        assertThat(cookie.commentURL).isNull()
        assertThat(cookie.discard).isFalse()
        // Converting to a fixed date can cause rounding!
        assertThat(cookie.maxAge.toDouble()).isCloseTo(60.0, 5.0)
        assertThat(cookie.path).isEqualTo("/path")
        assertThat(cookie.secure).isTrue()
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/dataclasses.md

        In this case, it's a list of `Item` dataclasses.
    
    6. Here we are returning a dictionary that contains `items` which is a list of dataclasses.
    
        FastAPI is still capable of <abbr title="converting the data to a format that can be transmitted">serializing</abbr> the data to JSON.
    
    7. Here the `response_model` is using a type annotation of a list of `Author` dataclasses.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/using-request-directly.md

    Taking data from:
    
    * The path as parameters.
    * Headers.
    * Cookies.
    * etc.
    
    And by doing so, **FastAPI** is validating that data, converting it and generating documentation for your API automatically.
    
    But there are situations where you might need to access the `Request` object directly.
    
    ## Details about the `Request` object { #details-about-the-request-object }
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top