Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,180 for used (0.14 sec)

  1. docs/en/docs/how-to/sql-databases-peewee.md

    !!! tip
        This will just make Peewee behave correctly when used with FastAPI. Not randomly opening or closing connections that are being used, creating errors, etc.
    
        But it doesn't give Peewee async super-powers. You should still use normal `def` functions and not `async def`.
    
    ### Use the custom `PeeweeConnectionState` class
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (1)
  2. docs/en/docs/advanced/custom-response.md

    If you want to override the response from inside of the function but at the same time document the "media type" in OpenAPI, you can use the `response_class` parameter AND return a `Response` object.
    
    The `response_class` will then be used only to document the OpenAPI *path operation*, but your `Response` will be used as is.
    
    #### Return an `HTMLResponse` directly
    
    For example, it could be something like:
    
    ```Python hl_lines="7  21  23"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

    /**
     * Policy on choosing which connection to use for an exchange and any retries that follow. This uses
     * the following strategies:
     *
     *  1. If the current call already has a connection that can satisfy the request it is used. Using
     *     the same connection for an initial exchange and its follow-ups may improve locality.
     *
     *  2. If there is a connection in the pool that can satisfy the request it is used. Note that it is
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  4. common-protos/k8s.io/apimachinery/pkg/runtime/generated.proto

      // except for passing it through the system.
      optional bytes raw = 2;
    
      // ContentEncoding is encoding used to encode 'Raw' data.
      // Unspecified means no encoding.
      optional string contentEncoding = 3;
    
      // ContentType  is serialization method used to serialize 'Raw'.
      // Unspecified means ContentTypeJSON.
      optional string contentType = 4;
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

       *
       * If the response starts with a
       * [Byte Order Mark (BOM)](https://en.wikipedia.org/wiki/Byte_order_mark), it is consumed and
       * used to determine the charset of the response bytes.
       *
       * Otherwise if the response has a `Content-Type` header that specifies a charset, that is used
       * to determine the charset of the response bytes.
       *
       * Otherwise the response bytes are decoded as UTF-8.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/connection/RetryConnectionTest.kt

          arrayOf(
            TlsVersion.TLS_1_2,
            TlsVersion.TLS_1_1,
            TlsVersion.TLS_1_0,
          )
        var socket = createSocketWithEnabledProtocols(*enabledSocketTlsVersions)
    
        // MODERN_TLS is used here.
        val attempt0 =
          routePlanner.planConnectToRoute(route)
            .planWithCurrentOrInitialConnectionSpec(connectionSpecs, socket)
        assertThat(attempt0.isTlsFallback).isFalse()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  7. cni/deployments/kubernetes/Dockerfile.install-cni

    # BASE_DISTRIBUTION is used to switch between the old base distribution and distroless base images
    ARG BASE_DISTRIBUTION=debug
    
    # Version is the base image version from the TLD Makefile
    ARG BASE_VERSION=latest
    ARG ISTIO_BASE_REGISTRY=gcr.io/istio-release
    
    # The following section is used as base image if BASE_DISTRIBUTION=debug
    FROM ${ISTIO_BASE_REGISTRY}/base:${BASE_VERSION} as debug
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 00:24:50 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

        }
    
        /**
         * Sets the dispatcher used to set policy and execute asynchronous requests. Must not be null.
         */
        fun dispatcher(dispatcher: Dispatcher) =
          apply {
            this.dispatcher = dispatcher
          }
    
        /**
         * Sets the connection pool used to recycle HTTP and HTTPS connections.
         *
         * If unset, a new connection pool will be used.
         */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

     *  * The server's handshake certificates must include a set of trusted root certificates. They
     *    will be used to authenticate the client's certificate chain. Typically this is not the same
     *    set of root certificates used in server authentication. Instead it will be a small set of
     *    roots private to an organization or service.
     */
    class HandshakeCertificates private constructor(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.5K bytes
    - Viewed (1)
  10. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt

    /**
     * Representation of one story, a set of request headers to encode or decode. This class is used
     * reflectively with Moshi to parse stories from files.
     */
    data class Story(
      val description: String? = null,
      val cases: List<Case>,
      val fileName: String? = null,
    ) {
      // Used as the test name.
      override fun toString() = fileName ?: "?"
    
      companion object {
        @JvmField
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.1K bytes
    - Viewed (0)
Back to top