Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Loaded (0.17 sec)

  1. docs/en/docs/js/termynal.js

    	 * @param {number} options.progressPercent - Max percent of progress.
         * @param {string} options.cursor – Character to use for cursor, defaults to ▋.
         * @param {Object[]} lineData - Dynamically loaded line data objects.
         * @param {boolean} options.noInit - Don't initialise the animation.
         */
        constructor(container = '#termynal', options = {}) {
    JavaScript
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/events.md

    That's what we'll solve, let's load the model before the requests are handled, but only right before the application starts receiving requests, not while  the code is being loaded.
    
    ## Lifespan
    
    You can define this *startup* and *shutdown* logic using the `lifespan` parameter of the `FastAPI` app, and a "context manager" (I'll show you what that is in a second).
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/behind-a-proxy.md

    & ⤴️ ⚫️ 🔜 ❎ 🚮 📨 👆 Uvicorn 🏃‍♂ 🔛 `http://127.0.0.1:8000`.
    
    🔜 ▶️ Traefik:
    
    <div class="termy">
    
    ```console
    $ ./traefik --configFile=traefik.toml
    
    INFO[0000] Configuration loaded from file: /home/user/awesomeapi/traefik.toml
    ```
    
    </div>
    
    &amp; 🔜 ▶️ 👆 📱 ⏮️ Uvicorn, ⚙️ `--root-path` 🎛:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/behind-a-proxy.md

    这个文件配置 Traefik 使用路径前缀 `/api/v1`。
    
    然后,它把请求重定位到运行在 `http://127.0.0.1:8000` 上的 Uvicorn。
    
    现在,启动 Traefik:
    
    <div class="termy">
    
    ```console
    $ ./traefik --configFile=traefik.toml
    
    INFO[0000] Configuration loaded from file: /home/user/awesomeapi/traefik.toml
    ```
    
    </div>
    
    接下来,使用 Uvicorn 启动应用,并使用 `--root-path` 选项:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/custom-request-and-route.md

    After that, all of the processing logic is the same.
    
    But because of our changes in `GzipRequest.body`, the request body will be automatically decompressed when it is loaded by **FastAPI** when needed.
    
    ## Accessing the request body in an exception handler
    
    !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/behind-a-proxy.md

    Now start Traefik:
    
    <div class="termy">
    
    ```console
    $ ./traefik --configFile=traefik.toml
    
    INFO[0000] Configuration loaded from file: /home/user/awesomeapi/traefik.toml
    ```
    
    </div>
    
    And now start your app with Uvicorn, using the `--root-path` option:
    
    <div class="termy">
    
    ```console
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  7. docs/de/docs/advanced/behind-a-proxy.md

    Starten Sie nun Traefik:
    
    <div class="termy">
    
    ```console
    $ ./traefik --configFile=traefik.toml
    
    INFO[0000] Configuration loaded from file: /home/user/awesomeapi/traefik.toml
    ```
    
    </div>
    
    Und jetzt starten Sie Ihre Anwendung mit Uvicorn, indem Sie die Option `--root-path` verwenden:
    
    <div class="termy">
    
    ```console
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:30:07 GMT 2024
    - 13.1K bytes
    - Viewed (0)
Back to top