Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 406 for hello (0.03 sec)

  1. docs/ko/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial009c.py hl[9:14,17] *}
    
    이제 다음 대신:
    
    ```json
    {"message": "Hello World"}
    ```
    
    이 응답은 이렇게 반환됩니다:
    
    ```json
    {
      "message": "Hello World"
    }
    ```
    
    물론 JSON 포맷팅보다 더 유용하게 활용할 방법을 찾을 수 있을 것입니다. 😉
    
    ## 기본 응답 클래스
    
    **FastAPI** 클래스 객체 또는 `APIRouter`를 생성할 때 기본적으로 사용할 응답 클래스를 지정할 수 있습니다.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Feb 15 11:21:20 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                package org.apache.maven.samples.sample;
    
                public class App {
                    public static void main(String... args) {
                        System.out.println("Hello World!");
                    }
                }
                """;
    
        protected Map<String, String> invoke(Path cwd, Path userHome, Collection<String> goals, Collection<String> args)
                throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 21 12:17:55 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java

        }
    
        /**
         * Test extraction with various Unicode characters.
         */
        public void test_getText_unicodeContent_extractsCorrectly() {
            final String unicodeContent = "Hello 世界 مرحبا мир שלום";
            final InputStream in = new ByteArrayInputStream(unicodeContent.getBytes());
    
            final ExtractData result = textExtractor.getText(in, null);
    
            assertNotNull(result);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    					}
    				}
    			}
    		}
    	}
    
    	// Test for Anonymous/unsigned http request.
    	anonReq, err := newTestRequest(http.MethodPut, getPutObjectURL("", bucketName, objectName),
    		int64(len("hello")), bytes.NewReader([]byte("hello")))
    	if err != nil {
    		t.Fatalf("MinIO %s: Failed to create an anonymous request for %s/%s: <ERROR> %v",
    			instanceType, bucketName, objectName, err)
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        public IntegerSubscriber(String name) {
          this.name = name;
        }
    
        @Subscribe
        public void handleInteger(Integer integer) {
          dispatchedSubscribers.add(this);
          dispatcher.dispatch("hello", stringSubscribers.iterator());
        }
    
        @Override
        public String toString() {
          return name;
        }
      }
    
      public final class StringSubscriber {
        private final String name;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/CurlRequestTest.java

        @Test
        public void testEncodingSpecialCharacters() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            // Test encoding of special characters
            request.param("query", "hello world & more");
            request.param("special", "ñ€±");
    
            // Should not throw exception
            assertNotNull(request);
        }
    
        @Test
        public void testUnsupportedEncodingThrowsException() {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial009c_py39.py hl[9:14,17] *}
    
    Ahora en lugar de devolver:
    
    ```json
    {"message": "Hello World"}
    ```
    
    ...este response devolverá:
    
    ```json
    {
      "message": "Hello World"
    }
    ```
    
    Por supuesto, probablemente encontrarás formas mucho mejores de aprovechar esto que formatear JSON. 😉
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. docs/ru/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial009c_py39.py hl[9:14,17] *}
    
    Теперь вместо того, чтобы возвращать:
    
    ```json
    {"message": "Hello World"}
    ```
    
    ...этот ответ вернёт:
    
    ```json
    {
      "message": "Hello World"
    }
    ```
    
    Разумеется, вы наверняка найдёте гораздо более полезные способы воспользоваться этим, чем просто форматирование JSON. 😉
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. docs/tr/docs/index.md

    ```Python
    from typing import Union
    
    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: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. docs/ru/docs/index.md

    Создайте файл `main.py` со следующим содержимым:
    
    ```Python
    from typing import Union
    
    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: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 32K bytes
    - Viewed (0)
Back to top