Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for months (0.17 sec)

  1. docs/zh/docs/advanced/wsgi.md

    # 包含 WSGI - Flask,Django,其它
    
    您可以挂载多个 WSGI 应用,正如您在 [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank} 中所看到的那样。
    
    为此, 您可以使用 `WSGIMiddleware` 来包装你的 WSGI 应用,如:Flask,Django,等等。
    
    ## 使用 `WSGIMiddleware`
    
    您需要导入 `WSGIMiddleware`。
    
    然后使用该中间件包装 WSGI 应用(例如 Flask)。
    
    之后将其挂载到某一个路径下。
    
    ```Python hl_lines="2-3  22"
    {!../../../docs_src/wsgi/tutorial001.py!}
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  2. docs_src/openapi_webhooks/tutorial001.py

    from datetime import datetime
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Subscription(BaseModel):
        username: str
        monthly_fee: float
        start_date: datetime
    
    
    @app.webhooks.post("new-subscription")
    def new_subscription(body: Subscription):
        """
        When a new user subscribes to your service we'll send you a POST request with this
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Oct 20 09:00:44 GMT 2023
    - 550 bytes
    - Viewed (0)
  3. internal/mountinfo/mountinfo_windows.go

    package mountinfo
    
    import (
    	"path/filepath"
    	"sync"
    
    	"golang.org/x/sys/windows"
    )
    
    // CheckCrossDevice - check if any input path has multiple sub-mounts.
    // this is a dummy function and returns nil for now.
    func CheckCrossDevice(paths []string) error {
    	return nil
    }
    
    // mountPointCache contains results of IsLikelyMountPoint
    var mountPointCache sync.Map
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/templates.md

    ```html
    <a href="/items/42">
    ```
    
    ## Templates e Arquivos Estáticos
    
    Você também pode usar `url_for()` dentro do template e usá-lo, por examplo, com o `StaticFiles` que você montou com o `name="static"`.
    
    ```jinja hl_lines="4"
    {!../../../docs_src/templates/templates/item.html!}
    ```
    
    Neste exemplo, ele seria vinculado a um arquivo CSS em `static/styles.css` com:
    
    ```CSS hl_lines="4"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 28 04:05:17 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. common/scripts/run.sh

        --mount "type=volume,source=crates,destination=/home/.cargo/registry" \
        --mount "type=volume,source=git-crates,destination=/home/.cargo/git" \
        ${CONDITIONAL_HOST_MOUNTS} \
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 02:34:11 GMT 2023
    - 2.2K bytes
    - Viewed (1)
  6. docs/en/docs/advanced/wsgi.md

    # Including WSGI - Flask, Django, others
    
    You can mount WSGI applications as you saw with [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank}.
    
    For that, you can use the `WSGIMiddleware` and use it to wrap your WSGI application, for example, Flask, Django, etc.
    
    ## Using `WSGIMiddleware`
    
    You need to import `WSGIMiddleware`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/wsgi.md

    # WSGI inkludieren – Flask, Django und andere
    
    Sie können WSGI-Anwendungen mounten, wie Sie es in [Unteranwendungen – Mounts](sub-applications.md){.internal-link target=_blank}, [Hinter einem Proxy](behind-a-proxy.md){.internal-link target=_blank} gesehen haben.
    
    Dazu können Sie die `WSGIMiddleware` verwenden und damit Ihre WSGI-Anwendung wrappen, zum Beispiel Flask, Django usw.
    
    ## `WSGIMiddleware` verwenden
    
    Sie müssen `WSGIMiddleware` importieren.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:05 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  8. docs/fr/docs/advanced/response-directly.md

    ## Renvoyer une `Response` personnalisée
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  9. docs/ru/docs/fastapi-people.md

    {% if people %}
    <div class="user-list user-list-center">
    {% for user in people.last_month_experts[:10] %}
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  10. src/main/resources/fess_indices/fess/hu/stopwords.txt

    magát
    majd
    majd
    már
    más
    másik
    meg
    még
    mellett
    mert
    mely
    melyek
    mi
    mit
    míg
    miért
    milyen
    mikor
    minden
    mindent
    mindenki
    mindig
    mint
    mintha
    mivel
    most
    nagy
    nagyobb
    nagyon
    ne
    néha
    nekem
    neki
    nem
    néhány
    nélkül
    nincs
    olyan
    ott
    össze
    ő
    ők
    őket
    pedig
    persze
    rá
    s
    saját
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Nov 27 12:59:36 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top