Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 368 for World (0.02 seconds)

  1. tests/main.py

    
    @app.api_route("/api_route")
    def non_operation():
        return {"message": "Hello World"}
    
    
    def non_decorated_route():
        return {"message": "Hello World"}
    
    
    app.add_api_route("/non_decorated_route", non_decorated_route)
    
    
    @app.get("/text")
    def get_text():
        return "Hello World"
    
    
    @app.get("/path/{item_id}")
    def get_id(item_id):
        return item_id
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  2. docs/ja/docs/environment-variables.md

    例えば、以下のような`main.py`ファイルを用意します:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | 豆知識
    
    [`os.getenv()`](https://docs.python.org/3.8/library/os.html#os.getenv) の第2引数は、返されるデフォルト値です。
    
    指定しない場合、デフォルトは`None`ですが、ここでは使用するデフォルト値として`"World"`を指定しています。
    
    ///
    
    次に、このPythonプログラムを呼び出します。
    
    //// tab | Linux, macOS, Windows Bash
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/advanced/wsgi.md

    其餘則由 **FastAPI** 處理。
    
    如果你啟動它並前往 [http://localhost:8000/v1/](http://localhost:8000/v1/),你會看到來自 Flask 的回應:
    
    ```txt
    Hello, World from Flask!
    ```
    
    如果你前往 [http://localhost:8000/v2](http://localhost:8000/v2),你會看到來自 FastAPI 的回應:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  4. compat/maven-builder-support/src/test/resources/source.txt

    Hello World!...
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 12 bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/wsgi.md

    其余的请求则会被 **FastAPI** 处理。
    
    如果你运行它并访问 [http://localhost:8000/v1/](http://localhost:8000/v1/),你将会看到由 Flask 返回的响应:
    
    ```txt
    Hello, World from Flask!
    ```
    
    如果你访问 [http://localhost:8000/v2](http://localhost:8000/v2),你将会看到由 FastAPI 返回的响应:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  6. src/archive/zip/testdata/winxp.zip

    hello world dir/bar foo readonly important...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 412 bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java

            BooleanFunction<String> startsWithHello = s -> s != null && s.startsWith("hello");
    
            assertTrue(startsWithHello.apply("hello world"));
            assertTrue(startsWithHello.apply("hello"));
            assertFalse(startsWithHello.apply("hi world"));
            assertFalse(startsWithHello.apply(""));
            assertFalse(startsWithHello.apply(null));
        }
    
        @Test
        public void test_method_reference() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  8. cmd/post-policy_test.go

    		{
    			objectName:         "test",
    			data:               []byte("Hello, World"),
    			expectedRespStatus: http.StatusForbidden,
    			accessKey:          "",
    			secretKey:          "",
    			malformedBody:      false,
    		},
    		// Bad case malformed input.
    		{
    			objectName:         "test",
    			data:               []byte("Hello, World"),
    			expectedRespStatus: http.StatusBadRequest,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  9. docs_src/app_testing/app_a_py310/main.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_main():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 118 bytes
    - Click Count (0)
  10. docs_src/first_steps/tutorial001_py310.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def root():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 117 bytes
    - Click Count (0)
Back to Top