- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 293 for mount (0.03 sec)
-
docs/en/docs/advanced/sub-applications.md
```Python hl_lines="11 14-16" {!../../docs_src/sub_applications/tutorial001.py!} ``` ### Mount the sub-application In your top-level application, `app`, mount the sub-application, `subapi`. In this case, it will be mounted at the path `/subapi`: ```Python hl_lines="11 19" {!../../docs_src/sub_applications/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.9K bytes - Viewed (0) -
common/scripts/setup_env.sh
CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${HOME}/.config/gcloud,destination=/config/.config/gcloud,readonly " fi # gitconfig conditional host mount (needed for git commands inside container) if [[ -f "${HOME}/.gitconfig" ]]; then CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${HOME}/.gitconfig,destination=/home/.gitconfig,readonly " fi # .netrc conditional host mount (needed for git commands inside container)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 06 04:52:54 UTC 2024 - 8.3K bytes - Viewed (0) -
common/scripts/run.sh
-e TZ="${TIMEZONE:-$TZ}" \ --mount "type=bind,source=${MOUNT_SOURCE},destination=/work" \ --mount "type=volume,source=go,destination=/go" \ --mount "type=volume,source=gocache,destination=/gocache" \ --mount "type=volume,source=cache,destination=/home/.cache" \ --mount "type=volume,source=crates,destination=/home/.cargo/registry" \ --mount "type=volume,source=git-crates,destination=/home/.cargo/git" \
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Sep 14 00:03:12 UTC 2024 - 2.2K bytes - Viewed (0) -
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`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.1K bytes - Viewed (0) -
lib/wasm/go_wasip1_wasm_exec
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Aug 30 19:15:21 UTC 2024 - 797 bytes - Viewed (0) -
docs/fa/docs/advanced/sub-applications.md
# زیر برنامه ها - اتصال اگر نیاز دارید که دو برنامه مستقل FastAPI، با OpenAPI مستقل و رابطهای کاربری اسناد خود داشته باشید، میتوانید یک برنامه اصلی داشته باشید و یک (یا چند) زیر برنامه را به آن متصل کنید. ## اتصال (mount) به یک برنامه **FastAPI** کلمه "Mounting" به معنای افزودن یک برنامه کاملاً مستقل در یک مسیر خاص است، که پس از آن مدیریت همه چیز در آن مسیر، با path operations (عملیات های مسیر) اعلام شده در آن زیر برنامه می باشد. ### برنامه سطح بالا
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/en/docs/tutorial/static-files.md
# Static Files You can serve static files automatically from a directory using `StaticFiles`. ## Use `StaticFiles` * Import `StaticFiles`. * "Mount" a `StaticFiles()` instance in a specific path. {* ../../docs_src/static_files/tutorial001.py hl[2,6] *} /// note | "Technical Details" You could also use `from starlette.staticfiles import StaticFiles`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 15:45:40 UTC 2024 - 1.6K bytes - Viewed (0) -
docs/de/docs/advanced/sub-applications.md
### Technische Details: `root_path` Wenn Sie eine Unteranwendung wie oben beschrieben mounten, kümmert sich FastAPI darum, den Mount-Pfad für die Unteranwendung zu kommunizieren, mithilfe eines Mechanismus aus der ASGI-Spezifikation namens `root_path`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/zh/docs/tutorial/static-files.md
# 静态文件 您可以使用 `StaticFiles`从目录中自动提供静态文件。 ## 使用`StaticFiles` * 导入`StaticFiles`。 * "挂载"(Mount) 一个 `StaticFiles()` 实例到一个指定路径。 ```Python hl_lines="2 6" {!../../docs_src/static_files/tutorial001.py!} ``` /// note | "技术细节" 你也可以用 `from starlette.staticfiles import StaticFiles`。 **FastAPI** 提供了和 `starlette.staticfiles` 相同的 `fastapi.staticfiles` ,只是为了方便你,开发者。但它确实来自Starlette。 /// ### 什么是"挂载"(Mounting)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.4K bytes - Viewed (0) -
cni/pkg/iptables/iptables_e2e_test.go
// limitations under the License. package iptables import ( "net/netip" "os" "os/exec" "path/filepath" "strings" "sync" "testing" // Create a new mount namespace. "github.com/howardjohn/unshare-go/mountns" // Create a new network namespace. This will have the 'lo' interface ready but nothing else. _ "github.com/howardjohn/unshare-go/netns"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 15 15:39:28 UTC 2024 - 2.9K bytes - Viewed (0)