Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 743 for xhello (0.04 seconds)

  1. docs/zh-hant/docs/deployment/docker.md

    ```Dockerfile
    # ✅ 請這樣做
    CMD ["fastapi", "run", "app/main.py", "--port", "80"]
    ```
    
    ⛔️ Shell 形式:
    
    ```Dockerfile
    # ⛔️ 請不要這樣做
    CMD fastapi run app/main.py --port 80
    ```
    
    務必總是使用 exec 形式,以確保 FastAPI 能夠優雅地關閉,並觸發 [lifespan events](../advanced/events.md)。
    
    你可以在 [Docker 關於 shell 與 exec 形式的文件](https://docs.docker.com/reference/dockerfile/#shell-and-exec-form) 閱讀更多。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 24.9K bytes
    - Click Count (0)
  2. docs/ja/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial009c_py310.py hl[9:14,17] *}
    
    これまでは次のように返していたものが:
    
    ```json
    {"message": "Hello World"}
    ```
    
    ...このレスポンスでは次のように返されます:
    
    ```json
    {
      "message": "Hello World"
    }
    ```
    
    もちろん、JSONの整形以外にも、これを活用するもっと良い方法が見つかるはずです。 😉
    
    ### `orjson` か レスポンスモデルか { #orjson-or-response-model }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  3. ci/devinfra/docker/windows2022/Dockerfile

    # - MSVC 14.39
    # - LLVM/Clang 18.1.4
    # - MSYS2 + curl, git, patch, vim, unzip, zip
    # - Python 3.9 - 3.14
    # - Bazelisk 1.22.1
    # - JDK 21 (Azul Zulu)
    
    FROM mcr.microsoft.com/windows/servercore:ltsc2022
    
    SHELL ["powershell.exe", "-ExecutionPolicy", "Bypass", "-Command", \
           "$ErrorActionPreference='Stop'; $ProgressPreference='SilentlyContinue';$VerbosePreference = 'Continue';"]
    
    # Enable long paths
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Mar 04 19:50:57 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/jarhell/ThirdPartyAuditTaskIT.java

            assertNoDeprecationWarning(result);
        }
    
        public void testJarHellWithJDK() {
            setupJarJdkClasspath(getProjectDir(), "> Audit of third party dependencies failed:" +
                    "   Jar Hell with the JDK:" +
                    "    * java.lang.String"
            );
            BuildResult result = getGradleRunner().withArguments(
                    ":clean",
                    ":absurd",
                    "-s",
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemBoundaryTest.java

            assertTrue("Should match substring", item.isBadWord(badWords));
        }
    
        @Test
        public void test_isBadWord_noMatch() {
            String[] text = { "hello" };
            String[][] readings = { { "hello" } };
            SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.QUERY);
    
            String[] badWords = { "test", "bad" };
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Jan 17 05:10:37 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  6. docs/ja/docs/index.md

    ### 作成 { #create-it }
    
    `main.py` ファイルを作成し、以下のコードを入力します。
    
    ```Python
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  7. internal/ioutil/ioutil_test.go

    	f, err := os.CreateTemp(t.TempDir(), "")
    	if err != nil {
    		t.Errorf("Error creating tmp file: %v", err)
    	}
    	defer f.Close()
    	defer os.Remove(f.Name())
    
    	r := strings.NewReader("hello world")
    
    	bufp := ODirectPoolSmall.Get()
    	defer ODirectPoolSmall.Put(bufp)
    
    	written, err := CopyAligned(f, io.LimitReader(r, 5), *bufp, r.Size(), f)
    	if !errors.Is(err, io.ErrUnexpectedEOF) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. .ci/jobs.t/elastic+elasticsearch+pull-request+packaging-tests-unix.yml

          - inject:
              properties-file: '.ci/java-versions.properties'
              properties-content: |
                JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA
                RUNTIME_JAVA_HOME=$HOME/.java/$ES_RUNTIME_JAVA
          - shell: |
              #!/usr/local/bin/runbld --redirect-stderr
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Sep 14 17:35:45 GMT 2021
    - 2.2K bytes
    - Click Count (0)
  9. tests/test_application.py

    from .main import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/api_route", 200, {"message": "Hello World"}),
            ("/non_decorated_route", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    def test_get_path(path, expected_status, expected_response):
        response = client.get(path)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 56.9K bytes
    - Click Count (0)
  10. misc/ios/detect.go

    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    // detect attempts to autodetect the correct
    // values of the environment variables
    // used by go_ios_exec.
    // detect shells out to ideviceinfo, a third party program that can
    // be obtained by following the instructions at
    // https://github.com/libimobiledevice/libimobiledevice.
    package main
    
    import (
    	"bytes"
    	"crypto/x509"
    	"fmt"
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Oct 19 23:33:30 GMT 2023
    - 3.2K bytes
    - Click Count (0)
Back to Top