Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for costly (0.31 sec)

  1. docs/en/docs/advanced/settings.md

    ### Creating the `Settings` only once with `lru_cache`
    
    Reading a file from disk is normally a costly (slow) operation, so you probably want to do it only once and then re-use the same settings object, instead of reading it for each request.
    
    But every time we do:
    
    ```Python
    Settings()
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

    ## 0.28.0
    
    * Implement dependency cache per request.
        * This avoids calling each dependency multiple times for the same request.
        * This is useful while calling external services, performing costly computation, etc.
    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)
  3. docs/en/docs/async.md

    * the contents your program gave to the system to be written to disk
    * a remote API operation
    * a database operation to finish
    * a database query to return the results
    * etc.
    
    As the execution time is consumed mostly by waiting for <abbr title="Input and Output">I/O</abbr> operations, they call them "I/O bound" operations.
    
    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)
  4. docs/pl/docs/help-fastapi.md

        * Dowiedz się, gdy ogłoszę coś nowego lub wypuszczę nowe narzędzia (chociaż częściej korzystam z Twittera 🤷‍♂).
    * Czytaj moje posty (lub śledź mnie) na <a href="https://dev.to/tiangolo" class="external-link" target="_blank">**Dev.to**</a> lub na <a href="https://medium.com/@tiangolo" class="external-link" target="_blank">**Medium**</a>.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  5. fastapi/applications.py

                    """
                ),
                deprecated(
                    """
                    "openapi_prefix" has been deprecated in favor of "root_path", which
                    follows more closely the ASGI standard, is simpler, and more
                    automatic.
                    """
                ),
            ] = "",
            root_path: Annotated[
                str,
                Doc(
                    """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
Back to top