Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 60 for importDir (0.09 sec)

  1. docs/em/docs/tutorial/debugging.md

    , 📄:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    🔜 🏃.
    
    ---
    
    👉 🏆 🚫 🔨 🚥 👆 🗄 👈 🕹 (📁).
    
    , 🚥 👆 ✔️ ➕1️⃣ 📁 `importer.py` ⏮️:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    👈 💼, 🏧 🔢 🔘 `myapp.py` 🔜 🚫 ✔️ 🔢 `__name__` ⏮️ 💲 `"__main__"`.
    
    , ⏸:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/header-params.md

    # Parámetros de Header
    
    Puedes definir los parámetros de Header de la misma manera que defines los parámetros de `Query`, `Path` y `Cookie`.
    
    ## Importar `Header`
    
    Primero importa `Header`:
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *}
    
    ## Declarar parámetros de `Header`
    
    Luego declara los parámetros de header usando la misma estructura que con `Path`, `Query` y `Cookie`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. 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)
  4. docs/es/docs/tutorial/dependencies/index.md

    Asegúrate de [Actualizar la versión de FastAPI](../../deployment/versions.md#upgrading-the-fastapi-versions){.internal-link target=_blank} al menos a la 0.95.1 antes de usar `Annotated`.
    
    ///
    
    ### Importar `Depends`
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *}
    
    ### Declarar la dependencia, en el "dependant"
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/debugging.md

    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    va s'exécuter.
    
    ---
    
    Cela ne se produira pas si vous importez ce module (fichier).
    
    Par exemple, si vous avez un autre fichier `importer.py` qui contient :
    
    ```Python
    from myapp import app
    
    # Code supplémentaire
    ```
    
    dans ce cas, la variable automatique `__name__` à l'intérieur de `myapp.py` n'aura pas la valeur `"__main__"`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Oct 27 17:31:14 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. api/go1.12.txt

    pkg debug/pe, const IMAGE_FILE_MACHINE_ARMNT ideal-int
    pkg expvar, method (*Map) Delete(string)
    pkg go/doc, const PreserveAST = 4
    pkg go/doc, const PreserveAST Mode
    pkg go/importer, func ForCompiler(*token.FileSet, string, Lookup) types.Importer
    pkg go/token, method (*File) LineStart(int) Pos
    pkg io, type StringWriter interface { WriteString }
    pkg io, type StringWriter interface, WriteString(string) (int, error)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 02 21:21:53 UTC 2019
    - 13.5K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/background-tasks.md

    Se importa/incluye directamente en FastAPI para que puedas importarla desde `fastapi` y evitar importar accidentalmente la alternativa `BackgroundTask` (sin la `s` al final) de `starlette.background`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/path-params-numeric-validations.md

    Isso não faz diferença para o **FastAPI**. Ele vai detectar os parâmetros pelos seus nomes, tipos e definições padrão (`Query`, `Path`, etc), sem se importar com a ordem.
    
    Então, você pode declarar sua função assim:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial002.py hl[7] *}
    
    ## Ordene os parâmetros de a acordo com sua necessidade, truques
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/websockets.md

    Puedes enviar (y recibir) muchos mensajes:
    
    <img src="/img/tutorial/websockets/image04.png">
    
    Y todos usarán la misma conexión WebSocket.
    
    ## Usando `Depends` y otros
    
    En endpoints de WebSocket puedes importar desde `fastapi` y usar:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    Funcionan de la misma manera que para otros endpoints de FastAPI/*path operations*:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top