Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 586 for ello (0.02 seconds)

  1. docs_src/custom_response/tutorial009c_py310.py

            assert orjson is not None, "orjson must be installed"
            return orjson.dumps(content, option=orjson.OPT_INDENT_2)
    
    
    @app.get("/", response_class=CustomORJSONResponse)
    async def main():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 451 bytes
    - Click Count (0)
  2. 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)
  3. docs_src/advanced_middleware/tutorial001_py310.py

    from fastapi import FastAPI
    from fastapi.middleware.httpsredirect import HTTPSRedirectMiddleware
    
    app = FastAPI()
    
    app.add_middleware(HTTPSRedirectMiddleware)
    
    
    @app.get("/")
    async def main():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 231 bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. docs/ja/docs/advanced/json-base64-bytes.md

    ```json
    {
        "description": "Some data",
        "data": "aGVsbG8="
    }
    ```
    
    /// tip | 豆知識
    
    `aGVsbG8=` は `hello` の base64 エンコードです。
    
    ///
    
    その後、Pydantic は base64 文字列をデコードし、モデルの `data` フィールドに元のバイト列を渡します。
    
    次のようなレスポンスを受け取ります:
    
    ```json
    {
      "description": "Some data",
      "content": "hello"
    }
    ```
    
    ## 出力データ向けの Pydantic `bytes` { #pydantic-bytes-for-output-data }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  7. 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)
  8. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        val request =
          Request(
            url = server.url("/"),
            body = "hello".toRequestBody(),
          )
        client.newCall(request).execute().use { response ->
          assertThat(response.body.string()).isEqualTo("")
        }
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.body).isEqualTo("hello".encodeUtf8())
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Aug 03 22:38:00 GMT 2025
    - 28K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/llm/LlmChatResponseTest.java

            assertNull(response.getModel());
        }
    
        @Test
        public void test_constructorWithContent() {
            final LlmChatResponse response = new LlmChatResponse("Hello, World!");
            assertEquals("Hello, World!", response.getContent());
            assertNull(response.getFinishReason());
            assertNull(response.getPromptTokens());
            assertNull(response.getCompletionTokens());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  10. docs_src/response_headers/tutorial001_py310.py

    from fastapi import FastAPI
    from fastapi.responses import JSONResponse
    
    app = FastAPI()
    
    
    @app.get("/headers/")
    def get_headers():
        content = {"message": "Hello World"}
        headers = {"X-Cat-Dog": "alone in the world", "Content-Language": "en-US"}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 309 bytes
    - Click Count (0)
Back to Top