Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 495 for nello (0.02 seconds)

  1. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py

    
    async def get_token(token: Annotated[str, Depends(oauth2_scheme)]) -> str:
        return token
    
    
    app = FastAPI(dependencies=[Depends(get_token)])
    
    
    @app.get("/")
    async def root():
        return {"message": "Hello World"}
    
    
    @app.get(
        "/with-oauth2-scheme",
        dependencies=[Security(oauth2_scheme, scopes=["read", "write"])],
    )
    async def read_with_oauth2_scheme():
        return {"message": "Admin Access"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  2. docs/zh-hant/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: Fri Mar 20 14:33:04 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  3. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

        val httpClient =
          HttpClient
            .newBuilder()
            .followRedirects(NORMAL)
            .build()
    
        server.enqueue(
          MockResponse
            .Builder()
            .body("hello, Java HTTP Client")
            .build(),
        )
    
        val request =
          HttpRequest
            .newBuilder(server.url("/").toUri())
            .header("Accept", "text/plain")
            .build()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 25 13:16:02 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/BuildPluginIT.java

        public String projectName() {
            return "elasticsearch.build";
        }
    
        public void testPluginCanBeApplied() {
            BuildResult result = getGradleRunner().withArguments("hello", "-s").build();
            assertTaskSuccessful(result, ":hello");
            assertOutputContains("build plugin can be applied");
        }
    
        public void testCheckTask() {
            setupJarJdkClasspath(getProjectDir());
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  5. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

            .Builder()
            .body("hello, Apache HttpClient 5.x")
            .build(),
        )
    
        val request = HttpGet(server.url("/").toUri())
        request.addHeader("Accept", "text/plain")
    
        @Suppress("DEPRECATION")
        httpClient.execute(request).use { response ->
          assertThat(response.code).isEqualTo(200)
          assertThat(EntityUtils.toString(response.entity)).isEqualTo("hello, Apache HttpClient 5.x")
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 20:23:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. docs/tr/docs/advanced/json-base64-bytes.md

        "data": "aGVsbG8="
    }
    ```
    
    /// tip | İpucu
    
    `aGVsbG8=` değeri, `hello` kelimesinin base64 encoding'idir.
    
    ///
    
    Sonrasında Pydantic base64 string'ini decode eder ve modelin `data` alanında size orijinal bytes'ı verir.
    
    Şöyle bir response alırsınız:
    
    ```json
    {
      "description": "Some data",
      "content": "hello"
    }
    ```
    
    ## Çıkış Verisi için Pydantic `bytes` { #pydantic-bytes-for-output-data }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  9. tests/default_value_test.go

    	}
    
    	DB.Migrator().DropTable(&Harumph{})
    
    	if err := DB.AutoMigrate(&Harumph{}); err != nil {
    		t.Fatalf("Failed to migrate with default value, got error: %v", err)
    	}
    
    	harumph := Harumph{Email: "hello@gorm.io"}
    	if err := DB.Create(&harumph).Error; err != nil {
    		t.Fatalf("Failed to create data with default value, got error: %v", err)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  10. docs/ko/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 14:06:26 GMT 2026
    - 1.7K bytes
    - Click Count (0)
Back to Top