Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 491 for Hello (0.02 seconds)

  1. docs_src/behind_a_proxy/tutorial003_py310.py

            {"url": "https://prod.example.com", "description": "Production environment"},
        ],
        root_path="/api/v1",
    )
    
    
    @app.get("/app")
    def read_main(request: Request):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 405 bytes
    - Click Count (0)
  2. docs/zh/docs/alternatives.md

    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    对应地,FastAPI 的 API 路径操作可能看起来是这样的:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    可以看到 `requests.get(...)` 与 `@app.get(...)` 的相似之处。
    
    /// check | 启发 **FastAPI**:
    
    * 提供简单直观的 API。
    * 直接、自然地使用 HTTP 方法名(操作)。
    * 具备合理默认值,同时支持强大定制能力。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  3. src/archive/tar/testdata/ustar.tar

    longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/file.txt hello...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 2K bytes
    - Click Count (0)
  4. docs/fr/docs/advanced/json-base64-bytes.md

        "data": "aGVsbG8="
    }
    ```
    
    /// tip | Astuce
    
    `aGVsbG8=` est l'encodage base64 de `hello`.
    
    ///
    
    Pydantic décodera ensuite la chaîne base64 et vous fournira les octets originaux dans le champ `data` du modèle.
    
    Vous recevrez une réponse comme :
    
    ```json
    {
      "description": "Some data",
      "content": "hello"
    }
    ```
    
    ## Pydantic `bytes` pour les données de sortie { #pydantic-bytes-for-output-data }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  5. docs_src/behind_a_proxy/tutorial001_py310.py

    from fastapi import FastAPI, Request
    
    app = FastAPI()
    
    
    @app.get("/app")
    def read_main(request: Request):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 189 bytes
    - Click Count (0)
  6. docs/zh/docs/_llm-test.md

    ## 标题 { #headings }
    
    //// tab | 测试
    
    ### 开发 Web 应用——教程 { #develop-a-webapp-a-tutorial }
    
    Hello.
    
    ### 类型提示与注解 { #type-hints-and-annotations }
    
    Hello again.
    
    ### 超类与子类 { #super-and-subclasses }
    
    Hello again.
    
    ////
    
    //// tab | 信息
    
    关于标题的唯一硬性规则是:LLM 必须保持花括号内的哈希部分不变,以确保链接不会失效。
    
    参见 `scripts/translate.py` 中通用提示的 `### Headings` 部分。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py

    from docs_src.behind_a_proxy.tutorial004_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_schema():
        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.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

                return Collections.emptyMap();
            }
        }
    
        @Test
        public void test_GzipSuccessResponse_DecompressedCorrectly() throws Exception {
            // ## Arrange ##
            String originalBody = "Hello, GZIP world!";
            byte[] gzipped = gzipCompress(originalBody);
            CurlRequest req = new OpenOverrideCurlRequest(Curl.Method.GET, "http://dummy", u -> new GzipSuccessMockHttpURLConnection(u, gzipped));
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  9. src/main/resources/fess_indices/fess/hu/protwords.txt

    Helló
    világ
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jun 11 12:51:31 GMT 2016
    - 22 bytes
    - Click Count (0)
  10. 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)
Back to Top