Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 134 for Callables (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/pt/docs/advanced/advanced-dependencies.md

    Vamos imaginar que queremos ter uma dependência que verifica se o parâmetro de consulta `q` possui um valor fixo.
    
    Porém nós queremos poder parametrizar o conteúdo fixo.
    
    ## Uma instância "chamável" { #a-callable-instance }
    
    Em Python existe uma maneira de fazer com que uma instância de uma classe seja um "chamável".
    
    Não propriamente a classe (que já é um chamável), mas a instância desta classe.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/security/first-steps.md

    /// info
    
    如果你是非常嚴格的「Pythonista」,可能不喜歡參數名稱用 `tokenUrl` 而不是 `token_url`。
    
    那是因為它沿用了 OpenAPI 規格中的名稱。如此一來,若你要深入查閱這些安全方案,便能直接複製貼上去搜尋更多資訊。
    
    ///
    
    變數 `oauth2_scheme` 是 `OAuth2PasswordBearer` 的實例,但同時它也是「可呼叫的」(callable)。
    
    它可以這樣被呼叫:
    
    ```Python
    oauth2_scheme(some, parameters)
    ```
    
    因此它可以配合 `Depends` 使用。
    
    ### 如何使用 { #use-it }
    
    現在你可以在相依性中傳入 `oauth2_scheme` 與 `Depends` 搭配。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                byte[] actualName = request.getName();
                assertNull(actualName);
            }
    
            @Test
            @DisplayName("encode() method should be callable")
            void testEncodeMethod() {
                CreateContextRequest request = mock(CreateContextRequest.class);
                byte[] buffer = new byte[100];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/security/first-steps.md

    이는 OpenAPI 스펙에서 사용하는 이름과 동일하게 맞춘 것이기 때문입니다. 그래서 이런 보안 스킴에 대해 더 조사해야 할 때, 그대로 복사해서 붙여 넣어 더 많은 정보를 찾을 수 있습니다.
    
    ///
    
    `oauth2_scheme` 변수는 `OAuth2PasswordBearer`의 인스턴스이지만, "callable"이기도 합니다.
    
    다음처럼 호출될 수 있습니다:
    
    ```Python
    oauth2_scheme(some, parameters)
    ```
    
    따라서 `Depends`와 함께 사용할 수 있습니다.
    
    ### 사용하기 { #use-it }
    
    이제 `Depends`로 `oauth2_scheme`를 의존성에 전달할 수 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

                     * we read one of the fields declared in that class.
                     */
                    Set<Integer> unused = graph.successors(first);
                    return null; // so the lambda is a Callable to propagate checked await() exceptions
                  }));
        }
    
        // For more about this test, see the equivalent in AbstractNetworkTest.
        for (Future<?> future : futures.build()) {
          future.get();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  6. docs/en/docs/_llm-test.md

    * the deployment
    * to deploy
    
    * the SDK
    * the software development kit
    
    * the `APIRouter`
    * the `requirements.txt`
    * the Bearer Token
    * the breaking change
    * the bug
    * the button
    * the callable
    * the code
    * the commit
    * the context manager
    * the coroutine
    * the database session
    * the disk
    * the domain
    * the engine
    * the fake X
    * the HTTP GET method
    * the item
    * the library
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. docs/ko/docs/advanced/advanced-dependencies.md

    지금까지 본 모든 의존성은 고정된 함수 또는 클래스입니다.
    
    하지만 여러 개의 함수나 클래스를 선언하지 않고도 의존성에 매개변수를 설정해야 하는 경우가 있을 수 있습니다.
    
    예를 들어, `q` 쿼리 매개변수가 특정 고정된 내용을 포함하고 있는지 확인하는 의존성을 원한다고 가정해 봅시다.
    
    이때 해당 고정된 내용을 매개변수화할 수 있길 바랍니다.
    
    ## "호출 가능한" 인스턴스 { #a-callable-instance }
    
    Python에는 클래스의 인스턴스를 "호출 가능"하게 만드는 방법이 있습니다.
    
    클래스 자체(이미 호출 가능함)가 아니라 해당 클래스의 인스턴스에 대해 호출 가능하게 하는 것입니다.
    
    이를 위해 `__call__` 메서드를 선언합니다:
    
    {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[12] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/graph/ValueGraphTest.java

                     * we read one of the fields declared in that class.
                     */
                    Set<Integer> unused = graph.successors(first);
                    return null; // so the lambda is a Callable to propagate checked await() exceptions
                  }));
        }
    
        // For more about this test, see the equivalent in AbstractNetworkTest.
        for (Future<?> future : futures.build()) {
          future.get();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 20.5K bytes
    - Click Count (0)
  9. docs/ko/docs/_llm-test.md

    * worker class
    * workload
    
    * deployment
    * deploy하다
    
    * SDK
    * software development kit
    
    * `APIRouter`
    * `requirements.txt`
    * Bearer Token
    * breaking change
    * bug
    * button
    * callable
    * code
    * commit
    * context manager
    * coroutine
    * database session
    * disk
    * domain
    * engine
    * fake X
    * HTTP GET method
    * item
    * library
    * lifespan
    * lock
    * middleware
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  10. gradle/wrapper/gradle-wrapper.jar

    java.io.File); private static void lambda$prepareWrapper$0(WrapperExecutor, String[], Logger, Download, java.io.File, java.io.File); } org/gradle/wrapper/Install$1.class package org.gradle.wrapper; public final class Install$1 implements java.util.concurrent.Callable { public void Install$1(java.io.File, java.io.File, java.net.URI, Install, WrapperConfiguration); public final Object call(); } org/gradle/wrapper/Install$InstallCheck.class package org.gradle.wrapper; public final class Install$InstallCheck { public...
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 04 20:34:40 GMT 2026
    - 47.8K bytes
    - Click Count (1)
Back to Top