Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 93 for imported3 (0.1 sec)

  1. docs/ja/docs/tutorial/debugging.md

    なので、以下:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    は実行されます。
    
    ---
    
    そのモジュール (ファイル) をインポートした場合は、こうはなりません。
    
    したがって、次のようなもう一つのファイル `importer.py` がある場合:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    `myapp.py` 内の自動変数には、値が `"__main __"` の変数 `__name__` はありません。
    
    したがって、以下の行:
    
    ```Python
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jul 09 01:45:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/bigger-applications.md

    ```Python hl_lines="3" title="app/routers/items.py"
    {!../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    #### Wie relative Importe funktionieren
    
    /// tip | "Tipp"
    
    Wenn Sie genau wissen, wie Importe funktionieren, fahren Sie mit dem nächsten Abschnitt unten fort.
    
    ///
    
    Ein einzelner Punkt `.`, wie in:
    
    ```Python
    from .dependencies import get_token_header
    ```
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21K bytes
    - Viewed (0)
  4. 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 Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/first-steps.md

    Il y a de nombreux autres objets et modèles qui seront automatiquement convertis en JSON. Essayez d'utiliser vos favoris, il est fort probable qu'ils soient déjà supportés.
    
    ## Récapitulatif
    
    * Importez `FastAPI`.
    * Créez une instance d'`app`.
    * Ajoutez une **décorateur d'opération de chemin** (tel que `@app.get("/")`).
    * Ajoutez une **fonction de chemin** (telle que `def root(): ...` comme ci-dessus).
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. api/go1.22.txt

    pkg encoding/hex, func AppendEncode([]uint8, []uint8) []uint8 #53693
    pkg go/ast, func NewPackage //deprecated #52463
    pkg go/ast, func Unparen(Expr) Expr #60061
    pkg go/ast, type Importer //deprecated #52463
    pkg go/ast, type Object //deprecated #52463
    pkg go/ast, type Package //deprecated #52463
    pkg go/ast, type Scope //deprecated #52463
    pkg go/types, func NewAlias(*TypeName, Type) *Alias #63223
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Wed Jan 24 20:54:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. docs/nl/docs/features.md

    * **Geen compromisen** met databases, gebruikersinterfaces, enz. Maar eenvoudige integratie met ze allemaal.
    
    ### Ongelimiteerde "plug-ins"
    
    Of anders gezegd, je hebt ze niet nodig, importeer en gebruik de code die je nodig hebt.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Tue Sep 03 13:50:38 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/cors.md

    Então, para que tudo funcione corretamente, é melhor especificar explicitamente as origens permitidas.
    
    ## Usar `CORSMiddleware`
    
    Você pode configurá-lo em sua aplicação **FastAPI** usando o `CORSMiddleware`.
    
    * Importe `CORSMiddleware`.
    * Crie uma lista de origens permitidas (como strings).
    * Adicione-a como um "middleware" à sua aplicação **FastAPI**.
    
    Você também pode especificar se o seu backend permite:
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/handling-errors.md

    ## Sobrescreva exceções de validação da requisição
    
    Quando a requisição contém dados inválidos, **FastAPI** internamente lança para o `RequestValidationError`.
    
    Para sobrescrevê-lo, importe o `RequestValidationError` e use-o com o `@app.exception_handler(RequestValidationError)` para decorar o manipulador de exceções.
    
    ```Python hl_lines="2  14-16"
    {!../../docs_src/handling_errors/tutorial004.py!}
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. docs/fr/docs/python-types.md

    Il existe spécialement pour supporter ces annotations de types.
    
    #### `List`
    
    Par exemple, définissons une variable comme `list` de `str`.
    
    Importez `List` (avec un `L` majuscule) depuis `typing`.
    
    ```Python hl_lines="1"
    {!../../docs_src/python_types/tutorial006.py!}
    ```
    
    Déclarez la variable, en utilisant la syntaxe des deux-points (`:`).
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top