Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 981 for callback5 (0.14 sec)

  1. tests/test_include_router_defaults_overrides.py

    
    @callback_router3.get("/")
    async def callback3(level3: str):
        pass  # pragma: nocover
    
    
    callback_router4 = APIRouter()
    
    
    @callback_router4.get("/")
    async def callback4(level4: str):
        pass  # pragma: nocover
    
    
    callback_router5 = APIRouter()
    
    
    @callback_router5.get("/")
    async def callback5(level5: str):
        pass  # pragma: nocover
    
    
    app = FastAPI(
        dependencies=[Depends(dep0)],
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 358.6K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultBuildCancellationTokenSpec.groovy

            and:
            1 * callback1.run() >> { throw ex1 }
            1 * callback2.run() >> { throw ex2 }
            1 * callback3.run()
        }
    
        def 'removed callback is not notified'() {
            def token = new DefaultBuildCancellationToken()
    
            def callback = Mock(Runnable)
            token.addCallback(callback)
            token.removeCallback(callback)
    
            when:
            token.cancel()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 23 09:27:48 UTC 2015
    - 3.7K bytes
    - Viewed (0)
  3. callbacks.go

    	var callbacks []*callback
    	removedMap := map[string]bool{}
    	for _, callback := range p.callbacks {
    		if callback.match == nil || callback.match(p.db) {
    			callbacks = append(callbacks, callback)
    		}
    		if callback.remove {
    			removedMap[callback.name] = true
    		}
    	}
    
    	if len(removedMap) > 0 {
    		callbacks = removeCallbacks(callbacks, removedMap)
    	}
    	p.callbacks = callbacks
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. 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)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Oct 27 23:56:55 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/openapi-callbacks.md

    ### Einen Callback-`APIRouter` erstellen
    
    Erstellen Sie zunΓ€chst einen neuen `APIRouter`, der einen oder mehrere Callbacks enthΓ€lt.
    
    ```Python hl_lines="3  25"
    {!../../../docs_src/openapi_callbacks/tutorial001.py!}
    ```
    
    ### Die Callback-*Pfadoperation* erstellen
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:17:23 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/openapi-callbacks.md

    ### Create a callback `APIRouter`
    
    First create a new `APIRouter` that will contain one or more callbacks.
    
    ```Python hl_lines="3  25"
    {!../../../docs_src/openapi_callbacks/tutorial001.py!}
    ```
    
    ### Create the callback *path operation*
    
    To create the callback *path operation* use the same `APIRouter` you created above.
    
    It should look just like a normal FastAPI *path operation*:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. src/runtime/testdata/testprogcgo/callback.go

    	for i := 0; i < P; i++ {
    		go func() {
    			grow()
    			done <- true
    		}()
    	}
    	for i := 0; i < P; i++ {
    		<-done
    	}
    	// now give these stack frames to cgo callbacks
    	for i := 0; i < P; i++ {
    		go func() {
    			C.foo()
    			done <- true
    		}()
    	}
    	for i := 0; i < P; i++ {
    		<-done
    	}
    
    	if e := extraMInUse.Load(); e != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 14:05:01 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. src/runtime/cgo/callbacks.go

    // compiled with gcc via crosscall2.
    
    // The declaration of crosscall2 is:
    //   void crosscall2(void (*fn)(void *), void *, int);
    //
    // We need to export the symbol crosscall2 in order to support
    // callbacks from shared libraries. This applies regardless of
    // linking mode.
    //
    // Compatibility note: SWIG uses crosscall2 in exactly one situation:
    // to call _cgo_panic using the pattern shown below. We need to keep
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/openapi-callbacks.md

    πŸ‘‰ ☝ πŸ‘† βœ”οΈ *⏲ ➑ πŸ› οΈ(β“‚)* πŸ’ͺ (1️⃣(β“‚) πŸ‘ˆ *πŸ”’ πŸ‘©β€πŸ’»* πŸ”œ πŸ› οΈ *πŸ”’ πŸ› οΈ*) ⏲ πŸ“» πŸ‘† ✍ πŸ”›.
    
    πŸ”œ βš™οΈ πŸ”’ `callbacks` *πŸ‘† πŸ› οΈ ➑ πŸ› οΈ πŸ‘¨β€πŸŽ¨* πŸšΆβ€β™€οΈ πŸ”’ `.routes` (πŸ‘ˆ πŸ€™ `list` πŸ›£/*➑ πŸ› οΈ*) βšͺ️➑️ πŸ‘ˆ ⏲ πŸ“»:
    
    ```Python hl_lines="35"
    {!../../../docs_src/openapi_callbacks/tutorial001.py!}
    ```
    
    !!! tip
        πŸ‘€ πŸ‘ˆ πŸ‘† 🚫 πŸšΆβ€β™€οΈ πŸ“» ⚫️ (`invoices_callback_router`) `callback=`, βœ‹οΈ πŸ”’ `.routes`, `invoices_callback_router.routes`.
    
    ### βœ… 🩺
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. okhttp/src/main/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.
       *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top