- Sort Score
- Num 10 results
- Language All
Results 1391 - 1400 of 1,590 for EXAMPLE (0.14 seconds)
-
docs/pt/docs/advanced/behind-a-proxy.md
// Mais coisas aqui "servers": [ { "url": "/api/v1" }, { "url": "https://stag.example.com", "description": "Staging environment" }, { "url": "https://prod.example.com", "description": "Production environment" } ], "paths": { // Mais coisas aqui } } ```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) -
docs/de/docs/advanced/async-tests.md
Der `TestClient` basiert auf [HTTPX](https://www.python-httpx.org) und glücklicherweise können wir es direkt verwenden, um die API zu testen. ## Beispiel { #example } Betrachten wir als einfaches Beispiel eine Dateistruktur ähnlich der in [Größere Anwendungen](../tutorial/bigger-applications.md) und [Testen](../tutorial/testing.md): ``` . ├── app │ ├── __init__.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 4.3K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/helper/SearchHelperTest.java
public String getCookieSearchParameterSecure() { return "true"; } @Override public String getCookieSearchParameterDomain() { return "example.com"; } }); getMockRequest().setParameter("q", "test"); getMockRequest().setParameter("lang", "en"); searchHelper.storeSearchParameters();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19.2K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/handling-errors.md
{* ../../docs_src/handling_errors/tutorial001_py310.py hl[11] *} ### 回應結果 { #the-resulting-response } 如果用戶端請求 `http://example.com/items/foo`(`item_id` 為 `"foo"`),會收到 200 的 HTTP 狀態碼,以及以下 JSON 回應: ```JSON { "item": "The Foo Wrestlers" } ``` 但如果用戶端請求 `http://example.com/items/bar`(不存在的 `item_id` `"bar"`),會收到 404("not found")的 HTTP 狀態碼,以及以下 JSON 回應: ```JSON { "detail": "Item not found" } ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 8.3K bytes - Click Count (0) -
docs/fr/docs/deployment/https.md
/// ### DNS { #dns } Concentrons-nous maintenant sur toutes les parties réellement liées à HTTPS. D'abord, le navigateur vérifierait auprès des **serveurs DNS** quelle est l'**IP du domaine**, dans ce cas, `someapp.example.com`. Les serveurs DNS indiqueraient au navigateur d'utiliser une **adresse IP** spécifique. Ce serait l'adresse IP publique utilisée par votre serveur, celle que vous avez configurée dans les serveurs DNS.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 15.8K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/testing.md
│ └── test_main.py ``` 因為這個檔案在同一個套件中,你可以使用相對匯入,從 `main` 模組(`main.py`)匯入 `app` 這個物件: {* ../../docs_src/app_testing/app_a_py310/test_main.py hl[3] *} ...然後測試的程式碼就和先前一樣。 ## 測試:進階範例 { #testing-extended-example } 現在我們延伸這個範例並加入更多細節,看看如何測試不同部分。 ### 擴充的 **FastAPI** 應用檔案 { #extended-fastapi-app-file } 沿用先前相同的檔案結構: ``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.pyCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 5.6K bytes - Click Count (0) -
docs/tr/docs/advanced/openapi-callbacks.md
Callback'in gerçek kodu, büyük ölçüde sizin API uygulamanıza bağlıdır. Ve bir uygulamadan diğerine oldukça değişebilir. Sadece bir-iki satır kod bile olabilir, örneğin: ```Python callback_url = "https://example.com/api/v1/invoices/events/" httpx.post(callback_url, json={"description": "Invoice paid", "paid": True}) ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 8.3K bytes - Click Count (0) -
docs/zh/docs/tutorial/testing.md
│ └── test_main.py ``` 因为这文件在同一个包中,所以你可以通过相对导入从 `main` 模块(`main.py`)导入`app`对象: {* ../../docs_src/app_testing/app_a_py310/test_main.py hl[3] *} ...然后测试代码和之前一样的。 ## 测试:扩展示例 { #testing-extended-example } 现在让我们扩展这个例子,并添加更多细节,看下如何测试不同部分。 ### 扩展后的 **FastAPI** app 文件 { #extended-fastapi-app-file } 让我们继续之前的文件结构: ``` . ├── app │ ├── __init__.py │ ├── main.pyCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 5.4K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.4.md
* Removed comments in json config when using kubectl edit with -o json ([#31685](https://github.com/kubernetes/kubernetes/pull/31685), [@jellonek](https://github.com/jellonek)) * fixes invalid null selector issue in sysdig example yaml ([#31393](https://github.com/kubernetes/kubernetes/pull/31393), [@baldwinSPC](https://github.com/baldwinSPC))
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu Dec 24 02:28:26 GMT 2020 - 133.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java
+ "Do NOT select table-of-contents or index pages that lack substantive content. " + "Respond with JSON only. Do not include any text outside the JSON object.\n\n" + "Example output: {\"relevant_indexes\": [1, 3], \"has_relevant\": true}"); request.addUserMessage(prompt); applyPromptTypeParams(request, "evaluation");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 72K bytes - Click Count (0)