Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2701 - 2710 of 8,412 for Class3 (0.24 sec)

  1. guava/src/com/google/common/base/Internal.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.time.Duration;
    
    /** This class is for {@code com.google.common.base} use only! */
    @J2ktIncompatible
    @GwtIncompatible // java.time.Duration
    final class Internal {
    
      /**
       * Returns the number of nanoseconds of the given duration without throwing or overflowing.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. tests/test_union_inherited_body.py

    from typing import Optional, Union
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Optional[str] = None
    
    
    class ExtendedItem(Item):
        age: int
    
    
    @app.post("/items/")
    def save_union_different_body(item: Union[ExtendedItem, Item]):
        return {"item": item}
    
    
    client = TestClient(app)
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. docs/sts/client_grants/sts_element.py

    else:
        _ETREE_EXCEPTIONS = (SyntaxError, AttributeError, ValueError, TypeError)
    
    _STS_NS = {'sts': 'https://sts.amazonaws.com/doc/2011-06-15/'}
    
    
    class STSElement(object):
        """STS aware XML parsing class. Wraps a root element name and
        cElementTree.Element instance. Provides STS namespace aware parsing
        functions.
    
        """
    
        def __init__(self, root_name, element):
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/settings.md

    您可以在 shell 中创建和使用环境变量,而无需使用 Python:
    
    //// tab | Linux、macOS、Windows Bash
    
    <div class="termy">
    
    ```console
    // 您可以创建一个名为 MY_NAME 的环境变量
    $ export MY_NAME="Wade Wilson"
    
    // 然后您可以与其他程序一起使用它,例如
    $ echo "Hello $MY_NAME"
    
    Hello Wade Wilson
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    // 创建一个名为 MY_NAME 的环境变量
    $ $Env:MY_NAME = "Wade Wilson"
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

    @Timeout(30)
    @Tag("Slow")
    @Burst
    class CancelTest(
      private val cancelMode: CancelMode = INTERRUPT,
      private val connectionType: ConnectionType = H2,
    ) {
      @JvmField @RegisterExtension
      val platform = PlatformRule()
    
      private var threadToCancel: Thread? = null
    
      enum class CancelMode {
        CANCEL,
        INTERRUPT,
      }
    
      enum class ConnectionType {
        H2,
        HTTPS,
        HTTP,
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/testing.md

    Gracias a <a href="https://www.starlette.dev/testclient/" class="external-link" target="_blank">Starlette</a>, escribir pruebas para aplicaciones de **FastAPI** es fácil y agradable.
    
    Está basado en <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, que a su vez está diseñado basado en Requests, por lo que es muy familiar e intuitivo.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/testing.md

    # Тестирование { #testing }
    
    Благодаря <a href="https://www.starlette.dev/testclient/" class="external-link" target="_blank">Starlette</a>, тестировать приложения **FastAPI** легко и приятно.
    
    Тестирование основано на библиотеке <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, которая в свою очередь основана на библиотеке Requests, так что все действия знакомы и интуитивно понятны.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. docs/es/docs/advanced/async-tests.md

    El `TestClient` está basado en <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, y afortunadamente, podemos usarlo directamente para probar la API.
    
    ## Ejemplo { #example }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Platform.java

    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
      /** Returns the platform preferred implementation of a map based on a hash table. */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapMergeTester<K, V> extends AbstractMapTester<K, V> {
      @MapFeature.Require(SUPPORTS_PUT)
      public void testAbsent() {
        assertEquals(
            "Map.merge(absent, value, function) should return value",
            v3(),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top