Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for imported4 (0.08 sec)

  1. docs/en/docs/tutorial/body-fields.md

    ## Import `Field` { #import-field }
    
    First, you have to import it:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    
    /// warning
    
    Notice that `Field` is imported directly from `pydantic`, not from `fastapi` as are all the rest (`Query`, `Path`, `Body`, etc).
    
    ///
    
    ## Declare model attributes { #declare-model-attributes }
    
    You can then use `Field` with model attributes:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/debugging.md

    So, the section:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    will run.
    
    ---
    
    This won't happen if you import that module (file).
    
    So, if you have another file `importer.py` with:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    in that case, the automatically created variable inside of `myapp.py` will not have the variable `__name__` with a value of `"__main__"`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RegularImmutableBiMap.java

        this.keyTable = keyTable;
        this.valueTable = valueTable;
        this.entries = entries;
        this.mask = mask;
        this.hashCode = hashCode;
      }
    
      // checkNoConflictInKeyBucket is static imported from RegularImmutableMap
    
      /**
       * @throws IllegalArgumentException if another entry in the bucket has the same key
       * @throws BucketOverflowException if this bucket has too many entries, which may indicate a hash
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/background-tasks.md

    ## Technical Details { #technical-details }
    
    The class `BackgroundTasks` comes directly from <a href="https://www.starlette.io/background/" class="external-link" target="_blank">`starlette.background`</a>.
    
    It is imported/included directly into FastAPI so that you can import it from `fastapi` and avoid accidentally importing the alternative `BackgroundTask` (without the `s` at the end) from `starlette.background`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. docs/bucket/lifecycle/README.md

                "ID": "TempUploads",
                "Filter": {
                    "Prefix": "temp/"
                },
                "Status": "Enabled"
            }
        ]
    }
    EOF
    ```
    
    ```
    Lifecycle configuration imported successfully to `play/testbucket`.
    ```
    
    - List the current settings
    
    ```
    $ mc ilm ls play/testbucket
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/security/oauth2-jwt.md

    E seus usuários poderiam fazer login tanto pela sua aplicação Django quanto pela sua aplicação **FastAPI**, ao mesmo tempo.
    
    ///
    
    ## Criar o hash e verificar as senhas
    
    Importe as ferramentas que nós precisamos de `passlib`.
    
    Crie um "contexto" do PassLib. Este será usado para criar o hash e verificar as senhas.
    
    /// tip | Dica
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/MD4.java

    // This file is currently unlocked (change this line if you lock the file)
    //
    // $Log: MD4.java,v $
    // Revision 1.2  1998/01/05 03:41:19  iang
    // Added references only.
    //
    // Revision 1.1.1.1  1997/11/03 22:36:56  hopwood
    // + Imported to CVS (tagged as 'start').
    //
    // Revision 0.1.0.0  1997/07/14  R. Naffah
    // + original version
    //
    // $Endlog$
    /*
     * Copyright (c) 1997 Systemics Ltd
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/security/oauth2-scopes.md

    We also declare a special parameter of type `SecurityScopes`, imported from `fastapi.security`.
    
    This `SecurityScopes` class is similar to `Request` (`Request` was used to get the request object directly).
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[9,106] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/bigger-applications.md

    We are importing the submodule `items` directly, instead of importing just its variable `router`.
    
    This is because we also have another variable named `router` in the submodule `users`.
    
    If we had imported one after the other, like:
    
    ```Python
    from .routers.items import router
    from .routers.users import router
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/security/oauth2-scopes.md

    Nós também declaramos um parâmetro especial do tipo `SecurityScopes`, importado de `fastapi.security`.
    
    A classe `SecurityScopes` é semelhante à classe `Request` (`Request` foi utilizada para obter o objeto da requisição diretamente).
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[9,106] *}
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top