- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 611 for install (0.11 sec)
-
docs/zh/docs/tutorial/request-forms-and-files.md
# 请求表单与文件 FastAPI 支持同时使用 `File` 和 `Form` 定义文件和表单字段。 /// info | "说明" 接收上传文件或表单数据,要预先安装 <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>。 例如,`pip install python-multipart`。 /// ## 导入 `File` 与 `Form` ```Python hl_lines="1" {!../../docs_src/request_forms_and_files/tutorial001.py!} ``` ## 定义 `File` 与 `Form` 参数 创建文件和表单参数的方式与 `Body` 和 `Query` 一样:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.1K bytes - Viewed (0) -
docs/zh/docs/tutorial/testing.md
## 使用 `TestClient` /// info | "信息" 要使用 `TestClient`,先要安装 <a href="https://www.python-httpx.org" class="external-link" target="_blank">`httpx`</a>. 例:`pip install httpx`. /// 导入 `TestClient`. 通过传入你的**FastAPI**应用创建一个 `TestClient` 。 创建名字以 `test_` 开头的函数(这是标准的 `pytest` 约定)。 像使用 `httpx` 那样使用 `TestClient` 对象。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6K bytes - Viewed (0) -
tests/test_fastapi_cli.py
def test_fastapi_cli_not_installed(): with patch.object(fastapi.cli, "cli_main", None): with pytest.raises(RuntimeError) as exc_info: fastapi.cli.main()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 02 06:03:05 UTC 2024 - 790 bytes - Viewed (0) -
.github/workflows/reviewdog.yml
- name: Setup reviewdog uses: reviewdog/action-setup@v1 - name: gofumpt -s with reviewdog env: REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | go install mvdan.cc/gofumpt@v0.2.0 gofumpt -e -d . | \
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Oct 10 06:50:45 UTC 2023 - 664 bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.8K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
``` //// /// info To use `EmailStr`, first install <a href="https://github.com/JoshData/python-email-validator" class="external-link" target="_blank">`email-validator`</a>. Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example: ```console $ pip install email-validator ``` or with: ```console
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.1K bytes - Viewed (0) -
tests/tests_all.sh
if [[ -z $GITHUB_ACTION ]]; then if [ -d tests ] then cd tests if [[ $(uname -a) == *" arm64" ]]; then MSSQL_IMAGE=mcr.microsoft.com/azure-sql-edge docker compose up -d || true go install github.com/microsoft/go-sqlcmd/cmd/sqlcmd@latest || true SQLCMDPASSWORD=LoremIpsum86 sqlcmd -U sa -S localhost:9930 -Q "IF DB_ID('gorm') IS NULL CREATE DATABASE gorm" > /dev/null || true
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 30 03:21:19 UTC 2024 - 1.7K bytes - Viewed (0) -
disabled-Jenkinsfile
def buildOs = 'linux' def buildJdk = '17' def buildMvn = '3.8.x' def runITsOses = ['linux'] def runITsJdks = ['17', '21'] def runITsMvn = '3.8.x' def runITscommand = "mvn clean install -Prun-its,embedded -B -U -V" // -DmavenDistro=... -Dmaven.test.failure.ignore=true def tests try { def osNode = jenkinsEnv.labelForOS(buildOs) node(jenkinsEnv.nodeSelection(osNode)) { dir('build') {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon Sep 30 14:11:55 UTC 2024 - 8.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java
cmdAndArguments.add(mavenOptions.altProjectSettings().get()); } if (mavenOptions.altInstallationSettings().isPresent()) { cmdAndArguments.add("--install-settings"); cmdAndArguments.add(mavenOptions.altInstallationSettings().get()); } if (mavenOptions.altUserToolchains().isPresent()) { cmdAndArguments.add("--toolchains");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
cni/test/install_k8s_test.go
// This tests the k8s installation. It validates the CNI plugin configuration // and the existence of the CNI plugin binary locations. package install_test import ( "testing" install "istio.io/istio/cni/test" "istio.io/istio/pkg/test/env" ) type testCase struct { name string chainedCNIPlugin bool preConfFile string resultFileName string
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 23:59:49 UTC 2024 - 7.9K bytes - Viewed (0)