- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 601 for xhello (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/zh-hant/docs/index.md
## 範例 { #example } ### 建立 { #create-it } 建立檔案 `main.py`,內容如下: ```Python from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: str | None = None): return {"item_id": item_id, "q": q} ``` <details markdown="1">Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 20.8K bytes - Click Count (0) -
.ci/jobs.t/elastic+elasticsearch+periodic+release-tests.yml
properties-content: | JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA RUNTIME_JAVA_HOME=$HOME/.java/$ES_RUNTIME_JAVA JAVA15_HOME=$HOME/.java/openjdk15 - shell: | #!/usr/local/bin/runbld --redirect-stderr # Fetch beats artifacts export ES_VERSION=$(grep 'elasticsearch' build-tools-internal/version.properties | awk '{print $3}')Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Aug 23 16:44:34 GMT 2021 - 1.5K bytes - Click Count (0) -
docs/zh-hant/docs/deployment/docker.md
```Dockerfile # ✅ 請這樣做 CMD ["fastapi", "run", "app/main.py", "--port", "80"] ``` ⛔️ Shell 形式: ```Dockerfile # ⛔️ 請不要這樣做 CMD fastapi run app/main.py --port 80 ``` 務必總是使用 exec 形式,以確保 FastAPI 能夠優雅地關閉,並觸發 [lifespan events](../advanced/events.md)。 你可以在 [Docker 關於 shell 與 exec 形式的文件](https://docs.docker.com/reference/dockerfile/#shell-and-exec-form) 閱讀更多。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 24.9K bytes - Click Count (0) -
docs/ja/docs/advanced/custom-response.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 13.5K bytes - Click Count (0) -
ci/devinfra/docker/windows2022/Dockerfile
# - MSVC 14.39 # - LLVM/Clang 18.1.4 # - MSYS2 + curl, git, patch, vim, unzip, zip # - Python 3.9 - 3.14 # - Bazelisk 1.22.1 # - JDK 21 (Azul Zulu) FROM mcr.microsoft.com/windows/servercore:ltsc2022 SHELL ["powershell.exe", "-ExecutionPolicy", "Bypass", "-Command", \ "$ErrorActionPreference='Stop'; $ProgressPreference='SilentlyContinue';$VerbosePreference = 'Continue';"] # Enable long paths
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Mar 04 19:50:57 GMT 2026 - 10.4K bytes - Click Count (0) -
build-tools-internal/src/integTest/java/org/elasticsearch/gradle/jarhell/ThirdPartyAuditTaskIT.java
assertNoDeprecationWarning(result); } public void testJarHellWithJDK() { setupJarJdkClasspath(getProjectDir(), "> Audit of third party dependencies failed:" + " Jar Hell with the JDK:" + " * java.lang.String" ); BuildResult result = getGradleRunner().withArguments( ":clean", ":absurd", "-s",
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 4.6K bytes - Click Count (0) -
docs/ja/docs/index.md
### 作成 { #create-it } `main.py` ファイルを作成し、以下のコードを入力します。 ```Python from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: str | None = None): return {"item_id": item_id, "q": q} ``` <details markdown="1">Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 25.6K bytes - Click Count (0) -
internal/ioutil/ioutil_test.go
f, err := os.CreateTemp(t.TempDir(), "") if err != nil { t.Errorf("Error creating tmp file: %v", err) } defer f.Close() defer os.Remove(f.Name()) r := strings.NewReader("hello world") bufp := ODirectPoolSmall.Get() defer ODirectPoolSmall.Put(bufp) written, err := CopyAligned(f, io.LimitReader(r, 5), *bufp, r.Size(), f) if !errors.Is(err, io.ErrUnexpectedEOF) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5.6K bytes - Click Count (0) -
.ci/jobs.t/elastic+elasticsearch+pull-request+packaging-tests-unix.yml
- inject: properties-file: '.ci/java-versions.properties' properties-content: | JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA RUNTIME_JAVA_HOME=$HOME/.java/$ES_RUNTIME_JAVA - shell: | #!/usr/local/bin/runbld --redirect-stderrCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Sep 14 17:35:45 GMT 2021 - 2.2K bytes - Click Count (0) -
tests/test_application.py
from .main import app client = TestClient(app) @pytest.mark.parametrize( "path,expected_status,expected_response", [ ("/api_route", 200, {"message": "Hello World"}), ("/non_decorated_route", 200, {"message": "Hello World"}), ("/nonexistent", 404, {"detail": "Not Found"}), ], ) def test_get_path(path, expected_status, expected_response): response = client.get(path)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 56.9K bytes - Click Count (0)