Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 179 for used (0.15 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. 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)
  3. 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)
  4. CHANGELOG.md

     *  New: `Request.Builder.cacheUrlOverride()` customizes the cache key used for a request. This can
        be used to make canonical URLs for the cache that omit insignificant query parameters or other
        irrelevant data.
    
        This feature may be used with `POST` requests to cache their responses. In such cases the
        request body is not used to determine the cache key, so you must manually add cache-relevant
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/policy/v1beta1/generated.proto

      repeated string allowedCapabilities = 4;
    
      // volumes is an allowlist of volume plugins. Empty indicates that
      // no volumes may be used. To allow all volumes you may use '*'.
      // +optional
      repeated string volumes = 5;
    
      // hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
      // +optional
      optional bool hostNetwork = 6;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  6. README.md

    Used by Starlette:
    
    * <a href="https://www.python-httpx.org" target="_blank"><code>httpx</code></a> - Required if you want to use the `TestClient`.
    * <a href="https://jinja.palletsprojects.com" target="_blank"><code>jinja2</code></a> - Required if you want to use the default template configuration.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/apps/v1/generated.proto

      // Items is the list of stateful sets.
      repeated StatefulSet items = 2;
    }
    
    // StatefulSetOrdinals describes the policy used for replica ordinal assignment
    // in this StatefulSet.
    message StatefulSetOrdinals {
      // start is the number representing the first replica's index. It may be used
      // to number replicas from an alternate index (eg: 1-indexed) over the default
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 34.5K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/schema-extra-example.md

    0.99.0 (0.99.0 and above use the newer OpenAPI 3.1.0) when you used `example` or `examples` with any of the other utilities (`Query()`, `Body()`, etc.) those examples were not added to the JSON Schema that describes that data (not even to OpenAPI's own version of JSON Schema), they were added directly to the *path operation* declaration in OpenAPI (outside the parts of OpenAPI that use JSON Schema).
    
    But now that FastAPI 0.99.0 and above uses OpenAPI 3.1.0, that uses JSON Schema 2020-12, and...
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/certificates/v1/generated.proto

      // Populated by the API server on creation and immutable.
      // +optional
      map<string, ExtraValue> extra = 6;
    }
    
    // CertificateSigningRequestStatus contains conditions used to indicate
    // approved/denied/failed status of the request, and the issued certificate.
    message CertificateSigningRequestStatus {
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // If the SNI host in a listener conflicts with the "Host" header field used
      // by an IngressRule, the SNI host is used for termination and value of the
      // Host header is used for routing.
      // +optional
      optional string secretName = 2;
    }
    
    // DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy.
    // NetworkPolicy describes what network traffic is allowed for a set of Pods
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 45.6K bytes
    - Viewed (0)
Back to top