Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 164 for retMap (0.08 sec)

  1. docs/en/docs/tutorial/request-forms.md

    This is not a limitation of **FastAPI**, it's part of the HTTP protocol.
    
    ///
    
    ## Recap
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      @SuppressWarnings("unchecked")
      @Benchmark
      boolean getIfPresent(int repetitions) {
        boolean retVal = false;
        for (int i = 0; i < repetitions; ++i) {
          retVal &= Enums.getIfPresent(enumType, sampleData[i & 255]).isPresent();
        }
        return retVal;
      }
    
      private enum SmallEnum {
        X0,
        X1,
        X2
      }
    
      private enum MediumEnum {
        X0,
        X1,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-params-numeric-validations.md

    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="11"
    {!> ../../docs_src/path_params_numeric_validations/tutorial006.py!}
    ```
    
    ////
    
    ## Recap
    
    With `Query`, `Path` (and others you haven't seen yet) you can declare metadata and string validations in the same ways as with [Query Parameters and String Validations](query-params-str-validations.md){.internal-link target=_blank}.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    		}
    		resMap[user] = blankEntities
    	}
    
    	var r []madmin.UserPolicyEntities
    	cache.iamUserPolicyMap.Range(func(user string, mappedPolicy MappedPolicy) bool {
    		if userPredicate != nil && !userPredicate(user) {
    			return true
    		}
    
    		entitiesWithMemberOf, ok := resMap[user]
    		if !ok {
    			if len(userMap) > 0 {
    				return true
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/get-current-user.md

    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="30-32"
    {!> ../../docs_src/security/tutorial002.py!}
    ```
    
    ////
    
    ## Recap
    
    You can now get the current user directly in your *path operation function*.
    
    We are already halfway there.
    
    We just need to add a *path operation* for the user/client to actually send the `username` and `password`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/header-params.md

    ```
    X-Token: foo
    X-Token: bar
    ```
    
    The response would be like:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## Recap
    
    Declare headers with `Header`, using the same common pattern as `Query`, `Path` and `Cookie`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/request-files.md

    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="11  18"
    {!> ../../docs_src/request_files/tutorial003.py!}
    ```
    
    ////
    
    ## Recap
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/background-tasks.md

    But if you need to access variables and objects from the same **FastAPI** app, or you need to perform small background tasks (like sending an email notification), you can simply just use `BackgroundTasks`.
    
    ## Recap
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:22:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. docs/en/docs/deployment/server-workers.md

    I'll show you how to **build your own image from scratch** to run a single Uvicorn process. It is a simple process and is probably what you would want to do when using a distributed container management system like **Kubernetes**.
    
    ## Recap
    
    You can use multiple worker processes with the `--workers` CLI option with the `fastapi` or `uvicorn` commands to take advantage of **multi-core CPUs**, to run **multiple processes in parallel**.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbTransport.java

    //                    "[\\PIPE\\netdfs]", auth);
    //        try {
    //            rpc = new MsrpcDfsRootEnum(domainName);
    //            handle.sendrecv(rpc);
    //            if (rpc.retval != 0)
    //                throw new SmbException(rpc.retval, true);
    //            return rpc.getEntries();
    //        } finally {
    //            try {
    //                handle.close();
    //            } catch(IOException ioe) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
Back to top