Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 594 for used (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          },
          logger = logger,
        )
    
      /** Runs all tasks that are ready. Used by the test thread only. */
      fun runTasks() {
        advanceUntil(nanoTime)
      }
    
      /** Advance the simulated clock, then runs tasks that are ready. Used by the test thread only. */
      fun advanceUntil(newTime: Long) {
        taskRunner.assertThreadDoesntHoldLock()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

        fun noTransform() = commonNoTransform()
    
        fun immutable() = commonImmutable()
    
        /**
         * Sets the maximum age of a cached response. If the cache response's age exceeds [maxAge], it
         * will not be used and a network request will be made.
         *
         * @param maxAge a non-negative duration. This is stored and transmitted with [TimeUnit.SECONDS]
         *     precision; finer precision will be lost.
         */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/node/v1beta1/generated.proto

    }
    
    // RuntimeClass defines a class of container runtime supported in the cluster.
    // The RuntimeClass is used to determine which container runtime is used to run
    // all containers in a pod. RuntimeClasses are (currently) manually defined by a
    // user or cluster provisioner, and referenced in the PodSpec. The Kubelet is
    // responsible for resolving the RuntimeClassName reference before running the
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. docs/en/docs/features.md

    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    That can then be used like:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    !!! info
        `**second_user_data` means:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/apidiscovery/v2beta1/generated.proto

      // The command line tool kubectl, for example, allows use of the singular resource name in place of plurals.
      // The singular form of a resource should always be an optional element - when in doubt use the canonical resource name.
      optional string singularResource = 4;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

            asyncCall.executeOn(executorService)
          }
        }
    
        return isRunning
      }
    
      /** Used by [Call.execute] to signal it is in-flight. */
      internal fun executed(call: RealCall) =
        this.withLock {
          runningSyncCalls.add(call)
        }
    
      /** Used by [AsyncCall.run] to signal completion. */
      internal fun finished(call: AsyncCall) {
        call.callsPerHost.decrementAndGet()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top