Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for execute (0.18 sec)

  1. tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py

            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app_py310.tests import test_sql_app
    
        # Ensure import side effects are re-executed
        importlib.reload(test_sql_app)
        test_sql_app.test_create_user()
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 825 bytes
    - Viewed (0)
  2. docs/en/docs/advanced/openapi-callbacks.md

    ## Write the callback documentation code
    
    This code won't be executed in your app, we only need it to *document* how that *external API* should look like.
    
    But, you already know how to easily create automatic documentation for an API with **FastAPI**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/index.md

    With the Dependency Injection system, you can also tell **FastAPI** that your *path operation function* also "depends" on something else that should be executed before your *path operation function*, and **FastAPI** will take care of executing it and "injecting" the results.
    
    Other common terms for this same idea of "dependency injection" are:
    
    * resources
    * providers
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/index.md

    Funciona también como una referencia futura, para que puedas volver y ver exactamente lo que necesitas.
    
    ## Ejecuta el código
    
    Todos los bloques de código se pueden copiar y usar directamente (en realidad son archivos Python probados).
    
    Para ejecutar cualquiera de los ejemplos, copia el código en un archivo llamado `main.py`, y ejecuta `uvicorn` de la siguiente manera en tu terminal:
    
    <div class="termy">
    
    ```console
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. docs/fr/docs/contributing.md

    <div class="termy">
    
    ```console
    $ bash scripts/format-imports.sh
    ```
    
    </div>
    
    Comme il exécute une commande après l'autre et modifie et inverse de nombreux fichiers, il prend un peu plus de temps à s'exécuter, il pourrait donc être plus facile d'utiliser fréquemment `scripts/format.sh` et `scripts/format-imports.sh` seulement avant de commit.
    
    ## Documentation
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:51:07 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_sql_databases/test_testing_databases.py

            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app.tests import test_sql_app
    
        # Ensure import side effects are re-executed
        importlib.reload(test_sql_app)
        test_sql_app.test_create_user()
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 788 bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/extra-models.md

    ```Python
    some_variable: PlaneItem | CarItem
    ```
    
    Mas se colocarmos isso em `response_model=PlaneItem | CarItem` teríamos um erro, pois o Python tentaria executar uma **operação inválida** entre `PlaneItem` e `CarItem` em vez de interpretar isso como uma anotação de tipo.
    
    ## Lista de modelos
    
    Da mesma forma, você pode declarar respostas de listas de objetos.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py

            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app_py39.tests import test_sql_app
    
        # Ensure import side effects are re-executed
        importlib.reload(test_sql_app)
        test_sql_app.test_create_user()
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 822 bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/index.md

    Il est également conçu pour fonctionner comme une référence future.
    
    Vous pouvez donc revenir et voir exactement ce dont vous avez besoin.
    
    ## Exécuter le code
    
    Tous les blocs de code peuvent être copiés et utilisés directement (il s'agit en fait de fichiers Python testés).
    
    Pour exécuter l'un de ces exemples, copiez le code dans un fichier `main.py`, et commencez `uvicorn` avec :
    
    <div class="termy">
    
    ```console
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:51:55 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/sql-databases.md

    A "middleware" is basically a function that is always executed for each request, with some code executed before, and some code executed after the endpoint function.
    
    ### Create a middleware
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
Back to top