Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 6,429 for importOf (0.06 sec)

  1. docs/fr/docs/tutorial/background-tasks.md

    
    ## Utiliser `BackgroundTasks`
    
    Pour commencer, importez `BackgroundTasks` et définissez un paramètre dans votre *fonction de chemin* avec `BackgroundTasks` comme type déclaré.
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[1,13] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:29:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Properties;
    import java.util.ServiceLoader;
    import java.util.Set;
    import java.util.function.Consumer;
    import java.util.function.Function;
    import java.util.regex.Matcher;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  3. docs/fr/docs/advanced/additional-status-codes.md

    Mais vous voulez aussi qu'il accepte de nouveaux éléments. Et lorsque les éléments n'existaient pas auparavant, il les crée et renvoie un code HTTP de 201 "Créé".
    
    Pour y parvenir, importez `JSONResponse` et renvoyez-y directement votre contenu, en définissant le `status_code` que vous souhaitez :
    
    ```Python hl_lines="4 25"
    {!../../docs_src/additional_status_codes/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/additional-status-codes.md

    Pero también quieres que acepte nuevos ítems. Cuando los ítems no existan anteriormente, serán creados y devolverá un código de estado HTTP 201 "Created".
    
    Para conseguir esto importa `JSONResponse` y devuelve ahí directamente tu contenido, asignando el `status_code` que quieras:
    
    ```Python hl_lines="4  25"
    {!../../docs_src/additional_status_codes/tutorial001.py!}
    ```
    
    /// warning | Advertencia
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. docs/pt/docs/fastapi-cli.md

     │                          │
     ╰──────────────────────────╯
    
    <font color="#3465A4">INFO    </font> Using import string <font color="#8AE234"><b>main:app</b></font>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. docs/fr/docs/contributing.md

    </div>
    
    Il effectuera également un tri automatique de touts vos imports.
    
    Pour qu'il puisse les trier correctement, vous devez avoir FastAPI installé localement dans votre environnement, avec la commande dans la section ci-dessus en utilisant `--symlink` (ou `--pth-file` sous Windows).
    
    ### Formatage des imports
    
    Il existe un autre script qui permet de formater touts les imports et de s'assurer que vous n'avez pas d'imports inutilisés :
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. docs/changelogs/upgrading_to_okhttp_4.md

    
    Companion Imports
    -----------------
    
    The equivalent of static methods in Java is companion object functions in Kotlin. The bytecode is
    the same but `.kt` files now need `Companion` in the import.
    
    This works with OkHttp 3.x:
    
    ```kotlin
    import okhttp3.CipherSuite.forJavaName
    ```
    
    But OkHttp 4.x needs a `Companion`:
    
    ```kotlin
    import okhttp3.CipherSuite.Companion.forJavaName
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  8. pyproject.toml

    "docs_src/dependencies/tutorial008b_an_py39.py" = ["B904"]
    
    
    [tool.ruff.lint.isort]
    known-third-party = ["fastapi", "pydantic", "starlette"]
    
    [tool.ruff.lint.pyupgrade]
    # Preserve types, even if a file imports `from __future__ import annotations`.
    keep-runtime-typing = true
    
    [tool.inline-snapshot]
    # default-flags=["fix"]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 14:19:56 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. docs/pt/docs/deployment/manually.md

     │                          │
     ╰──────────────────────────╯
    
    <font color="#3465A4">INFO    </font> Using import string <font color="#8AE234"><b>main:app</b></font>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 20 11:10:02 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    * Re-export utils from Starlette:
        * This allows using things like `from fastapi.responses import JSONResponse` instead of `from starlette.responses import JSONResponse`.
        * It's mainly syntax sugar, a convenience for developer experience.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
Back to top