Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Difference (0.2 sec)

  1. docs/en/docs/deployment/concepts.md

    ## Program and Process
    
    We will talk a lot about the running "**process**", so it's useful to have clarity about what it means, and what's the difference with the word "**program**".
    
    ### What is a Program
    
    The word **program** is commonly used to describe many things:
    
    * The **code** that you write, the **Python files**.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/first-steps.md

    ---
    
    You could also define it as a normal function instead of `async def`:
    
    ```Python hl_lines="7"
    {!../../../docs_src/first_steps/tutorial003.py!}
    ```
    
    !!! note
        If you don't know the difference, check the [Async: *"In a hurry?"*](../async.md#in-a-hurry){.internal-link target=_blank}.
    
    ### Step 5: return the content
    
    ```Python hl_lines="8"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. docs/en/docs/alternatives.md

        Check more details in the [Deployment](deployment/index.md){.internal-link target=_blank} section.
    
    ## Benchmarks and speed
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. fastapi/param_functions.py

                """
            ),
        ] = True,
    ) -> Any:
        """
        Declare a FastAPI Security dependency.
    
        The only difference with a regular dependency is that it can declare OAuth2
        scopes that will be integrated with OpenAPI and the automatic UI docs (by default
        at `/docs`).
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  5. docs/en/docs/python-types.md

    If you can choose a more recent version of Python for your project, you will be able to take advantage of that extra simplicity.
    
    In all the docs there are examples compatible with each version of Python (when there's a difference).
    
    For example "**Python 3.6+**" means it's compatible with Python 3.6 or above (including 3.7, 3.8, 3.9, 3.10, etc). And "**Python 3.9+**" means it's compatible with Python 3.9 or above (including 3.10, etc).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  6. docs/en/docs/async.md

    **Concurrency** and **parallelism** both relate to "different things happening more or less at the same time".
    
    But the details between *concurrency* and *parallelism* are quite different.
    
    To see the difference, imagine the following story about burgers:
    
    ### Concurrent Burgers
    
    You go with your crush to get fast food, you stand in line while the cashier takes the orders from the people in front of you. 😍
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

    The key updated docs are:
    
    * Python Types Intro:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  8. docs/en/docs/advanced/openapi-callbacks.md

    ```Python hl_lines="16-18  21-22  28-32"
    {!../../../docs_src/openapi_callbacks/tutorial001.py!}
    ```
    
    There are 2 main differences from a normal *path operation*:
    
    * It doesn't need to have any actual code, because your app will never call this code. It's only used to document the *external API*. So, the function could just have `pass`.
    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)
  9. docs/en/docs/tutorial/extra-models.md

    All the data conversion, validation, documentation, etc. will still work as normally.
    
    That way, we can declare just the differences between the models (with plaintext `password`, with `hashed_password` and without password):
    
    === "Python 3.10+"
    
        ```Python hl_lines="7  13-14  17-18  21-22"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  10. docs/en/docs/tutorial/sql-databases.md

    ### Dependencies with `yield` or middleware
    
    Adding a **middleware** here is similar to what a dependency with `yield` does, with some differences:
    
    * It requires more code and is a bit more complex.
    * The middleware has to be an `async` function.
    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