Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 154 for imported2 (0.13 seconds)

  1. docs/fr/docs/tutorial/security/oauth2-jwt.md

    Et vos utilisateurs pourraient se connecter depuis votre application Django ou depuis votre application **FastAPI**, en même temps.
    
    ///
    
    ## Hacher et vérifier les mots de passe { #hash-and-verify-the-passwords }
    
    Importez les outils nécessaires depuis `pwdlib`.
    
    Créez une instance PasswordHash avec les réglages recommandés ; elle sera utilisée pour hacher et vérifier les mots de passe.
    
    /// tip | Astuce
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.6K bytes
    - Click Count (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 `__name__` inside of `myapp.py` will not have the value `"__main__"`.
    
    So, the line:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  3. docs/pt/docs/advanced/additional-status-codes.md

    Mas você também deseja aceitar novos itens. E quando os itens não existiam, ele os cria, e retorna o código de status HTTP 201 "Created".
    
    Para conseguir isso, importe `JSONResponse` e retorne o seu conteúdo diretamente, definindo o `status_code` que você deseja:
    
    {* ../../docs_src/additional_status_codes/tutorial001_an_py310.py hl[4,25] *}
    
    /// warning | Atenção
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  4. docs/fr/docs/advanced/dataclasses.md

    {* ../../docs_src/dataclasses_/tutorial003_py310.py hl[1,4,7:10,13:16,22:24,27] *}
    
    1. Nous continuons à importer `field` depuis les `dataclasses` standard.
    
    2. `pydantic.dataclasses` est un remplacement drop‑in pour `dataclasses`.
    
    3. La dataclass `Author` inclut une liste de dataclasses `Item`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  5. docs/fr/docs/tutorial/request-forms-and-files.md

    Vous devez créer un [environnement virtuel](../virtual-environments.md), l'activer, puis installer ce paquet, par exemple :
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## Importer `File` et `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}
    
    ## Définir des paramètres `File` et `Form` { #define-file-and-form-parameters }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/debugging.md

    那麼在你的檔案中,由 Python 自動建立的內部變數 `__name__`,其值會是字串 `"__main__"`。
    
    因此,這段:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    會被執行。
    
    ---
    
    如果你是匯入該模組(檔案),就不會發生這件事。
    
    所以,如果你有另一個檔案 `importer.py`,內容如下:
    
    ```Python
    from myapp import app
    
    # 其他程式碼
    ```
    
    在那種情況下,`myapp.py` 中自動建立的變數 `__name__` 就不會是 `"__main__"`。
    
    因此,這一行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  7. lib/wasm/wasm_exec.js

    					// may synchronously trigger a Go event handler. This makes Go code get executed in the middle of the imported
    					// function. A goroutine can switch to a new stack if the current stack is too small (see morestack function).
    					// This changes the SP, thus we have to update the SP used by the imported function.
    
    					// func wasmExit(code int32)
    					"runtime.wasmExit": (sp) => {
    						sp >>>= 0;
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sun Dec 08 15:34:47 GMT 2024
    - 16.6K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/debugging.md

    </div>
    
    那么文件中由 Python 自动创建的内部变量 `__name__`,会将字符串 `"__main__"` 作为值。
    
    所以,下面这部分代码才会运行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    ---
    
    如果你是导入这个模块(文件)就不会这样。
    
    因此,如果你的另一个文件 `importer.py` 像这样:
    
    ```Python
    from myapp import app
    
    # 其他一些代码
    ```
    
    在这种情况下,`myapp.py` 内部的自动变量不会有值为 `"__main__"` 的变量 `__name__`。
    
    所以,下面这一行不会被执行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/query-params-str-validations.md

    ## Validation additionnelle { #additional-validation }
    
    Nous allons imposer que, même si `q` est optionnel, dès qu’il est fourni, **sa longueur n’excède pas 50 caractères**.
    
    ### Importer `Query` et `Annotated` { #import-query-and-annotated }
    
    Pour ce faire, importez d’abord :
    
    - `Query` depuis `fastapi`
    - `Annotated` depuis `typing`
    
    {* ../../docs_src/query_params_str_validations/tutorial002_an_py310.py hl[1,3] *}
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 19K bytes
    - Click Count (0)
  10. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/EclipseConventionPlugin.java

            EclipseProject eclipseProject = eclipseModel.getProject();
    
            // Name all the non-root projects after their path so that paths get grouped together when imported into eclipse.
            if (project.getPath().equals(":") == false) {
                eclipseProject.setName(project.getPath());
                if (Os.isFamily(Os.FAMILY_WINDOWS)) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 01 09:43:51 GMT 2021
    - 6.4K bytes
    - Click Count (0)
Back to Top