Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 695 for it (0.18 sec)

  1. android/guava/src/com/google/common/collect/Comparators.java

          Iterable<? extends T> iterable, Comparator<T> comparator) {
        checkNotNull(comparator);
        Iterator<? extends T> it = iterable.iterator();
        if (it.hasNext()) {
          T prev = it.next();
          while (it.hasNext()) {
            T next = it.next();
            if (comparator.compare(prev, next) >= 0) {
              return false;
            }
            prev = next;
          }
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 10K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/extra-models.md

        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### Unwrapping a `dict`
    
    If we take a `dict` like `user_dict` and pass it to a function (or class) with `**user_dict`, Python will "unwrap" it. It will pass the keys and values of the `user_dict` directly as key-value arguments.
    
    So, continuing with the `user_dict` from above, writing:
    
    ```Python
    UserInDB(**user_dict)
    ```
    
    would result in something equivalent to:
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        } else if (obj instanceof Failure) {
          throw new ExecutionException(((Failure) obj).exception);
        } else if (obj == NULL) {
          /*
           * It's safe to return null because we would only have stored it in the first place if it were
           * a valid value for V.
           */
          return uncheckedNull();
        } else {
          @SuppressWarnings("unchecked") // this is the only other option
          V asV = (V) obj;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

     */
    class CacheControl internal constructor(
      /**
       * In a response, this field's name "no-cache" is misleading. It doesn't prevent us from caching
       * the response; it only means we have to validate the response with the origin server before
       * returning it. We can do this with a conditional GET.
       *
       * In a request, it means do not use a cache to satisfy the request.
       */
      @get:JvmName("noCache") val noCache: Boolean,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt

                    it.isDeclaredInOwner() && it.isDelegatedIfRequired()
                }.mapToDelegatedIfRequired()
            }
    
            override fun getContributedFunctions(name: Name, location: LookupLocation): Collection<SimpleFunctionDescriptor> {
                return allMemberScope.getContributedFunctions(name, location).filter {
                    it.isDeclaredInOwner() && it.isDelegatedIfRequired()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/path-operation-advanced-configuration.md

    !!! note "Technical details"
        In the OpenAPI specification it is called the <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#operation-object" class="external-link" target="_blank">Operation Object</a>.
    
    It has all the information about the *path operation* and is used to generate the automatic documentation.
    
    It includes the `tags`, `parameters`, `requestBody`, `responses`, etc.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. docs/en/docs/reference/middleware.md

    ::: fastapi.middleware.cors.CORSMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    from fastapi.middleware.cors import CORSMiddleware
    ```
    
    ::: fastapi.middleware.gzip.GZipMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    from fastapi.middleware.gzip import GZipMiddleware
    ```
    
    ::: fastapi.middleware.httpsredirect.HTTPSRedirectMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 991 bytes
    - Viewed (0)
  8. docs/en/docs/deployment/server-workers.md

    In the output, you can see that it shows the **PID** (process ID) of each process (it's just a number).
    
    You can see that:
    
    * The Gunicorn **process manager** starts with PID `19499` (in your case it will be a different number).
    * Then it starts `Listening at: http://0.0.0.0:80`.
    * Then it detects that it has to use the worker class at `uvicorn.workers.UvicornWorker`.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/events.md

    The `lifespan` parameter of the `FastAPI` app takes an **async context manager**, so we can pass our new `lifespan` async context manager to it.
    
    ```Python hl_lines="22"
    {!../../../docs_src/events/tutorial003.py!}
    ```
    
    ## Alternative Events (deprecated)
    
    !!! warning
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  10. fastapi/openapi/docs.py

                The URL to use to load the Swagger UI JavaScript.
    
                It is normally set to a CDN URL.
                """
            ),
        ] = "https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.9.0/swagger-ui-bundle.js",
        swagger_css_url: Annotated[
            str,
            Doc(
                """
                The URL to use to load the Swagger UI CSS.
    
                It is normally set to a CDN URL.
                """
            ),
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
Back to top