Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 190 for Then (0.02 sec)

  1. src/main/assemblies/files/generate-thumbnail

      HOME=/var/lib/fess
    fi
    
    if [[ x"${cmd_type}" = "xmsoffice" ]] ; then
      im_cmd=$(get_imagemagick_cmd)
      if [[ -z "${im_cmd}" ]] ; then
        echo "ImageMagick (convert or magick) does not exist."
        exit 1
      fi
      check_command pdftoppm
      check_command unoconv
      tmp_pdf_file=/tmp/thumbnail.$$.pdf
      unoconv -e PageRange=1-1 -o ${tmp_pdf_file} -f pdf "${target_file}"
      if [[ ! -f ${tmp_pdf_file} ]] ; then
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. apache-maven/src/assembly/maven/bin/mvn

    # -----------------------------------------------------------------------------
    
    if [ -z "$MAVEN_SKIP_RC" ] ; then
    
      if [ -f /usr/local/etc/mavenrc ] ; then
        . /usr/local/etc/mavenrc
      fi
    
      if [ -f /etc/mavenrc ] ; then
        . /etc/mavenrc
      fi
    
      if [ -f "$HOME/.mavenrc" ] ; then
        . "$HOME/.mavenrc"
      fi
    
    fi
    
    # OS specific support. $var _must_ be set to either true or false.
    cygwin=false;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 10 16:40:06 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/middleware.md

    * It takes each **request** that comes to your application.
    * It can then do something to that **request** or run any needed code.
    * Then it passes the **request** to be processed by the rest of the application (by some *path operation*).
    * It then takes the **response** generated by the application (by some *path operation*).
    * It can do something to that **response** or run any needed code.
    * Then it returns the **response**.
    
    /// note | Technical Details
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/settings.md

    In the dependency override we set a new value for the `admin_email` when creating the new `Settings` object, and then we return that new object.
    
    Then we can test that it is used.
    
    ## Reading a `.env` file { #reading-a-env-file }
    
    If you have many settings that possibly change a lot, maybe in different environments, it might be useful to put them on a file and then read them from it as if they were environment variables.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/debugging.md

    ### About `__name__ == "__main__"` { #about-name-main }
    
    The main purpose of the `__name__ == "__main__"` is to have some code that is executed when your file is called with:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    but is not called when another file imports it, like in:
    
    ```Python
    from myapp import app
    ```
    
    #### More details { #more-details }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/response-cookies.md

    ## Return a `Response` directly { #return-a-response-directly }
    
    You can also create cookies when returning a `Response` directly in your code.
    
    To do that, you can create a response as described in [Return a Response Directly](response-directly.md){.internal-link target=_blank}.
    
    Then set Cookies in it, and then return it:
    
    {* ../../docs_src/response_cookies/tutorial001_py39.py hl[10:12] *}
    
    /// tip
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/conditional-openapi.md

    For example:
    
    {* ../../docs_src/conditional_openapi/tutorial001_py39.py hl[6,11] *}
    
    Here we declare the setting `openapi_url` with the same default of `"/openapi.json"`.
    
    And then we use it when creating the `FastAPI` app.
    
    Then you could disable OpenAPI (including the UI docs) by setting the environment variable `OPENAPI_URL` to the empty string, like:
    
    <div class="termy">
    
    ```console
    $ OPENAPI_URL= uvicorn main:app
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/sub-applications.md

    ## Mounting a **FastAPI** application { #mounting-a-fastapi-application }
    
    "Mounting" means adding a completely "independent" application in a specific path, that then takes care of handling everything under that path, with the _path operations_ declared in that sub-application.
    
    ### Top-level application { #top-level-application }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/events.md

    And then, right after the `yield`, we unload the model. This code will be executed **after** the application **finishes handling requests**, right before the *shutdown*. This could, for example, release resources like memory or a GPU.
    
    /// tip
    
    The `shutdown` would happen when you are **stopping** the application.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/sql-databases.md

    A **`Session`** is what stores the **objects in memory** and keeps track of any changes needed in the data, then it **uses the `engine`** to communicate with the database.
    
    We will create a FastAPI **dependency** with `yield` that will provide a new `Session` for each request. This is what ensures that we use a single session per request. 🤓
    
    Then we create an `Annotated` dependency `SessionDep` to simplify the rest of the code that will use this dependency.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 05:06:56 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top