Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 63 for convertTag (0.09 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
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. 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
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/AbstractByteHasher.java

    import com.google.common.primitives.Shorts;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    
    /**
     * 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
     */
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/header-params.md

        ]
    }
    ```
    
    ## Recap
    
    Declare headers with `Header`, using the same common pattern as `Query`, `Path` and `Cookie`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:35:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2-legacy.go

    	if j.ObjectV2 != nil && len(j.ObjectV2.PartIndices) > 0 {
    		j.ObjectV2.PartIndices = j.ObjectV2.PartIndices[:0]
    	}
    	o, err = j.UnmarshalMsg(bts)
    
    	// Fix inconsistent x-minio-internal-replication-timestamp by converting to UTC.
    	// Fixed in version 2 or later
    	if err == nil && j.Type == DeleteType && v < 2 {
    		if val, ok := j.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicationTimestamp]; ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 16:43:43 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/main/assemblies/files/service.bat

    goto:eof
    
    :installed
    echo The service '%SERVICE_ID%' has been installed.
    goto:eof
    
    :err
    echo JAVA_HOME environment variable must be set!
    pause
    goto:eof
    
    rem ---
    rem Function for converting Xm[s|x] values into MB which Commons Daemon accepts
    rem ---
    :convertxm
    set value=%~1
    rem extract last char (unit)
    set unit=%value:~-1%
    rem assume the unit is specified
    set conv=%value:~0,-1%
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top