- Sort Score
- Num 10 results
- Language All
Results 401 - 410 of 484 for heLLo (0.03 seconds)
-
tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py
client = TestClient(app, root_path="/api/v1") def test_main(): response = client.get("/app") assert response.status_code == 200 assert response.json() == {"message": "Hello World", "root_path": "/api/v1"} def test_openapi(): response = client.get("/openapi.json") assert response.status_code == 200 assert response.json() == snapshot( {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.2K bytes - Click Count (0) -
docs/tr/docs/advanced/behind-a-proxy.md
<span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> Response şöyle bir şey olur: ```JSON { "message": "Hello World", "root_path": "/api/v1" } ``` ### FastAPI Uygulamasında `root_path` Ayarlama { #setting-the-root-path-in-the-fastapi-app }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 16.5K bytes - Click Count (0) -
docs/zh/docs/virtual-environments.md
fastapi[standard]==0.113.0 pydantic==2.8.0 ``` /// ## 运行程序 { #run-your-program } 在你激活虚拟环境后,你可以运行你的程序,它将使用虚拟环境中的 Python 和你在其中安装的软件包。 <div class="termy"> ```console $ python main.py Hello World ``` </div> ## 配置编辑器 { #configure-your-editor } 你可能会用到编辑器,请确保配置它使用与你创建的相同的虚拟环境(它可能会自动检测到),以便你可以获得自动补全和内联错误提示。 例如:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 21.4K bytes - Click Count (0) -
docs/ko/docs/deployment/docker.md
* `app` 디렉터리를 만들고 들어갑니다. * 빈 파일 `__init__.py`를 만듭니다. * 다음 내용으로 `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} ``` ### Dockerfile { #dockerfile }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 32.6K bytes - Click Count (0) -
docs_src/json_base64_bytes/tutorial001_py310.py
@app.post("/data") def post_data(body: DataInput): content = body.data.decode("utf-8") return {"description": body.description, "content": content} @app.get("/data") def get_data() -> DataOutput: data = "hello".encode("utf-8") return DataOutput(description="A plumbus", data=data) @app.post("/data-in-out") def post_data_in_out(body: DataInputOutput) -> DataInputOutput:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 21 13:01:31 GMT 2026 - 892 bytes - Click Count (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py
from docs_src.behind_a_proxy.tutorial002_py310 import app client = TestClient(app) def test_main(): response = client.get("/app") assert response.status_code == 200 assert response.json() == {"message": "Hello World", "root_path": "/api/v1"} def test_openapi(): response = client.get("/openapi.json") assert response.status_code == 200 assert response.json() == snapshot( {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.1K bytes - Click Count (0) -
docs/fr/docs/advanced/behind-a-proxy.md
<span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> La réponse sera semblable à : ```JSON { "message": "Hello World", "root_path": "/api/v1" } ``` ### Définir le `root_path` dans l'application FastAPI { #setting-the-root-path-in-the-fastapi-app }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 17.4K bytes - Click Count (0) -
docs/pt/docs/advanced/behind-a-proxy.md
<span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> A resposta seria algo como: ```JSON { "message": "Hello World", "root_path": "/api/v1" } ``` ### Configurando o `root_path` na aplicação FastAPI { #setting-the-root-path-in-the-fastapi-app }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 16.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
testEncryptionKey, testEncryptionKey); // Use same key for test byte[] plaintext = "Hello, SMB3 Encryption!".getBytes(); long sessionId = 0x123456789ABCDEF0L; // When - Encrypt byte[] encrypted = context.encryptMessage(plaintext, sessionId);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
docs/zh-hant/docs/_llm-test.md
## 標題 { #headings } //// tab | 測試 ### 開發網頁應用程式 - 教學 { #develop-a-webapp-a-tutorial } Hello. ### 型別提示與註解 { #type-hints-and-annotations } Hello again. ### 超類與子類別 { #super-and-subclasses } Hello again. //// //// tab | 資訊 標題唯一的硬性規則是保留花括號中的雜湊片段不變,以確保連結不會失效。 請見 `scripts/translate.py` 中通用提示的 `### Headings` 小節。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 10K bytes - Click Count (0)