Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 329 for heille (0.05 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. internal/pubsub/pubsub_test.go

    	doneCh1 := make(chan struct{})
    	defer close(doneCh1)
    	if err := ps.Subscribe(MaskAll, ch1, doneCh1, func(entry Maskable) bool { return true }); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	val := maskString("hello")
    	ps.Publish(val)
    	msg := <-ch1
    	if msg != val {
    		t.Fatalf("expected %s , found %s", val, msg)
    	}
    }
    
    func TestMultiPubSub(t *testing.T) {
    	ps := New[Maskable, Maskable](2)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Aug 14 17:11:51 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  6. docs/de/llm-prompt.md

    Do NOT convert quotes in code snippets and code blocks to their German typographic equivalents.
    
    Examples:
    
    Source (English):
    
    ```
    "Hello world"
    “Hello Universe”
    "He said: 'Hello'"
    “my name is ‘Nils’”
    `"__main__"`
    `"items"`
    ```
    
    Result (German):
    
    ```
    „Hallo Welt“
    „Hallo Universum“
    „Er sagte: ‚Hallo‘“
    „Mein Name ist ‚Nils‘“
    `"__main__"`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Dec 29 18:54:20 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(TypeToken.of(String.class), invokable.getParameters().get(1).getType());
      }
    
      public void testAnonymousClassDefaultConstructor() {
        int i = 1;
        String s = "hello world";
        Class<?> anonymous =
            new Runnable() {
              @Override
              public void run() {
                System.out.println(s + i);
              }
            }.getClass();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  10. docs/fr/docs/how-to/conditional-openapi.md

    Cela n'ajoute aucune sécurité supplémentaire à votre API, les *chemins d'accès* resteront disponibles là où ils se trouvent.
    
    S'il y a une faille de sécurité dans votre code, elle existera toujours.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 3K bytes
    - Click Count (0)
Back to Top