Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 344 for callback2 (0.05 seconds)

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

  1. tests/test_include_router_defaults_overrides.py

    callback_router0 = APIRouter()
    
    
    @callback_router0.get("/")
    async def callback0(level0: str):
        pass  # pragma: nocover
    
    
    callback_router1 = APIRouter()
    
    
    @callback_router1.get("/")
    async def callback1(level1: str):
        pass  # pragma: nocover
    
    
    callback_router2 = APIRouter()
    
    
    @callback_router2.get("/")
    async def callback2(level2: str):
        pass  # pragma: nocover
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 358.6K bytes
    - Click Count (0)
  2. docs/es/docs/advanced/openapi-callbacks.md

    ///
    
    ### Crea un `APIRouter` de callback { #create-a-callback-apirouter }
    
    Primero crea un nuevo `APIRouter` que contendrá uno o más callbacks.
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[1,23] *}
    
    ### Crea la *path operation* del callback { #create-the-callback-path-operation }
    
    Para crear la *path operation* del callback usa el mismo `APIRouter` que creaste arriba.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/openapi-callbacks.md

    ///
    
    ### Create a callback `APIRouter` { #create-a-callback-apirouter }
    
    First create a new `APIRouter` that will contain one or more callbacks.
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[1,23] *}
    
    ### Create the callback *path operation* { #create-the-callback-path-operation }
    
    To create the callback *path operation* use the same `APIRouter` you created above.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. docs/pt/docs/advanced/openapi-callbacks.md

    ///
    
    ### Crie um `APIRouter` de callback { #create-a-callback-apirouter }
    
    Primeiro crie um novo `APIRouter` que conterá um ou mais callbacks.
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[1,23] *}
    
    ### Crie a *operação de rota* do callback { #create-the-callback-path-operation }
    
    Para criar a *operação de rota* do callback, use o mesmo `APIRouter` que você criou acima.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 20:32:40 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  5. callbacks/callbacks.go

    	createCallback.Clauses = config.CreateClauses
    
    	queryCallback := db.Callback().Query()
    	queryCallback.Register("gorm:query", Query)
    	queryCallback.Register("gorm:preload", Preload)
    	queryCallback.Register("gorm:after_query", AfterQuery)
    	queryCallback.Clauses = config.QueryClauses
    
    	deleteCallback := db.Callback().Delete()
    	deleteCallback.Match(enableTransaction).Register("gorm:begin_transaction", BeginTransaction)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Oct 27 23:56:55 GMT 2021
    - 3.3K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Callback.kt

        e: IOException,
      )
    
      /**
       * Called when the HTTP response was successfully returned by the remote server. The callback may
       * proceed to read the response body with [Response.body]. The response is still live until its
       * response body is [closed][ResponseBody]. The recipient of the callback may consume the response
       * body on another thread.
       *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  7. docs/zh/docs/advanced/openapi-callbacks.md

    ///
    
    ### 添加回调路由
    
    至此,在上文创建的回调路由里就包含了*回调路径操作*(外部开发者要在外部 API 中实现)。
    
    现在使用 API *路径操作装饰器*的参数 `callbacks`,从回调路由传递属性 `.routes`(实际上只是路由/路径操作的**列表**):
    
    {* ../../docs_src/openapi_callbacks/tutorial001.py hl[36] *}
    
    /// tip | 提示
    
    注意,不能把路由本身(`invoices_callback_router`)传递给 `callback=`,要传递 `invoices_callback_router.routes` 中的 `.routes` 属性。
    
    ///
    
    ### 查看文档
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 6.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * java.util.concurrent.CompletableFuture#thenAcceptAsync}.
       *
       * @param callback The callback to invoke when this {@code Future} is completed.
       * @param executor The executor to run {@code callback} when the future completes.
       */
      public final void addCallback(FutureCallback<? super V> callback, Executor executor) {
        Futures.addCallback(this, callback, executor);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

                    Request
                      .Builder()
                      .url(server.url("/a"))
                      .build()
                  try {
                    val callbackA = RecordingCallback()
                    client.newCall(requestA).enqueue(callbackA)
                    callbackA.await(requestA.url).assertBody("a")
                  } catch (e: Exception) {
                    throw RuntimeException(e)
                  }
                }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  10. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

          |
          """.trimMargin(),
        )
        assertThat(callbacks).isEmpty()
      }
    
      private fun consumeEvents(source: String) {
        val callback: ServerSentEventReader.Callback =
          object : ServerSentEventReader.Callback {
            override fun onEvent(
              id: String?,
              type: String?,
              data: String,
            ) {
              callbacks.add(Event(id, type, data))
            }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Click Count (0)
Back to Top