Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,152 for usen (0.21 sec)

  1. docs/es/docs/async.md

    burgers = get_burgers(2)
    ```
    
    ---
    
    Así que, si estás usando un paquete que te dice que puedes llamarlo con `await`, necesitas crear las *path operation functions* que lo usen con `async def`, como en:
    
    ```Python hl_lines="2-3"
    @app.get('/burgers')
    async def read_burgers():
        burgers = await get_burgers(2)
        return burgers
    ```
    
    ### Más detalles técnicos
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  2. cmd/user-provider-utils.go

    // getUserWithProvider - returns the appropriate internal username based on the user provider.
    // if validate is true, an error is returned if the user does not exist.
    func getUserWithProvider(ctx context.Context, userProvider, user string, validate bool) (string, error) {
    	switch userProvider {
    	case madmin.BuiltinProvider:
    		if validate {
    			if _, ok := globalIAMSys.GetUser(ctx, user); !ok {
    				return "", errNoSuchUser
    			}
    		}
    		return user, nil
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## Get the user { #get-the-user }
    
    `get_current_user` will use a (fake) utility function we created, that takes a token as a `str` and returns our Pydantic `User` model:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## Inject the current user { #inject-the-current-user }
    
    So now we can use the same `Depends` with our `get_current_user` in the *path operation*:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/request-forms.md

    With `Form` you can declare the same configurations as with `Body` (and `Query`, `Path`, `Cookie`), including validation, examples, an alias (e.g. `user-name` instead of `username`), etc.
    
    /// info
    
    `Form` is a class that inherits directly from `Body`.
    
    ///
    
    /// tip
    
    To declare form bodies, you need to use `Form` explicitly, because without it the parameters would be interpreted as query parameters or body (JSON) parameters.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/dataclasses.md

    Keep in mind that dataclasses can't do everything Pydantic models can do.
    
    So, you might still need to use Pydantic models.
    
    But if you have a bunch of dataclasses laying around, this is a nice trick to use them to power a web API using FastAPI. 🤓
    
    ///
    
    ## Dataclasses in `response_model` { #dataclasses-in-response-model }
    
    You can also use `dataclasses` in the `response_model` parameter:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. docs/en/docs/virtual-environments.md

    ```plaintext
    /home/user/code/awesome-project/.venv/bin/python
    ```
    
    and use that one.
    
    ////
    
    //// tab | Windows
    
    ```plaintext
    C:\Users\user\code\awesome-project\.venv\Scripts;C:\Windows\System32
    ```
    
    That means that the system will now start looking first for programs in:
    
    ```plaintext
    C:\Users\user\code\awesome-project\.venv\Scripts
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. .github/workflows/test-redistribute.yml

              - fastapi-slim
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v5
          - name: Set up Python
            uses: actions/setup-python@v5
            with:
              python-version: "3.10"
          - name: Install build dependencies
            run: pip install build
          - name: Build source distribution
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/manually.md

    # Run a Server Manually { #run-a-server-manually }
    
    ## Use the `fastapi run` Command { #use-the-fastapi-run-command }
    
    In short, use `fastapi run` to serve your FastAPI application:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> run <u style="text-decoration-style:solid">main.py</u>
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting production server 🚀
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

        return GetCheckedTypeValidatorHolder.ClassValueValidator.INSTANCE;
      }
    
      /**
       * Provides a check of whether an exception type is valid for use with {@link
       * FuturesGetChecked#getChecked(Future, Class)}, possibly using caching.
       *
       * <p>Uses reflection to gracefully fall back to when certain implementations aren't available.
       */
      private static final class GetCheckedTypeValidatorHolder {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  10. docs/multi-user/README.md

    ```
    
    ### 4. Disable user
    
    Disable user `newuser`.
    
    ```
    mc admin user disable myminio newuser
    ```
    
    Disable group `newgroup`.
    
    ```
    mc admin group disable myminio newgroup
    ```
    
    ### 5. Remove user
    
    Remove the user `newuser`.
    
    ```
    mc admin user remove myminio newuser
    ```
    
    Remove the user `newuser` from a group.
    
    ```
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top