- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 2,574 for retorno (0.09 sec)
-
docs/en/docs/how-to/custom-request-and-route.md
Next, we create a custom subclass of `fastapi.routing.APIRoute` that will make use of the `GzipRequest`. This time, it will overwrite the method `APIRoute.get_route_handler()`. This method returns a function. And that function is what will receive a request and return a response. Here we use it to create a `GzipRequest` from the original request. ```Python hl_lines="18-26" {!../../docs_src/custom_request_and_route/tutorial001.py!} ```
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/distributed/DESIGN.md
func sipHashMod(key string, cardinality int, id [16]byte) int { if cardinality <= 0 { return -1 } sip := siphash.New(id[:]) sip.Write([]byte(key)) return int(sip.Sum64() % uint64(cardinality)) } ```
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Aug 15 23:04:20 UTC 2023 - 8K bytes - Viewed (0) -
doc/go_spec.html
Instead, deferred functions are invoked immediately before the surrounding function returns, in the reverse order they were deferred. That is, if the surrounding function returns through an explicit <a href="#Return_statements">return statement</a>, deferred functions are executed <i>after</i> any result parameters are set by that return statement but <i>before</i> the function returns to its caller. If a deferred function value evaluates
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Wed Oct 02 00:58:01 UTC 2024 - 282.5K bytes - Viewed (1) -
docs/pt/docs/tutorial/middleware.md
* Uma função `call_next` que receberá o `request` como um parâmetro. * Esta função passará a `request` para a *operação de rota* correspondente. * Então ela retorna a `response` gerada pela *operação de rota* correspondente. * Você pode então modificar ainda mais o `response` antes de retorná-lo. ```Python hl_lines="8-9 11 14" {!../../docs_src/middleware/tutorial001.py!} ``` /// tip | "Dica"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/metrics-resource.go
metrics = append(metrics, prepareResourceMetrics(m, subSys, requireAvgMax)...) } } } return metrics }) return mg } // metricsResourceHandler is the prometheus handler for resource metrics func metricsResourceHandler() http.Handler { return metricsHTTPHandler(resourceCollector, "handler.MetricsResource")
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Jul 24 23:30:33 UTC 2024 - 17.2K bytes - Viewed (0) -
tests/query_test.go
user.UpdatedAt = time.Time{} if err := DB.Where(&user).First(&User{}).Error; err != nil { t.Errorf("search with struct with association should returns no error, but got %v", err) } if err := DB.Where(user).First(&User{}).Error; err != nil { t.Errorf("search with struct with association should returns no error, but got %v", err) } } func TestFindInBatches(t *testing.T) { users := []User{
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 50.4K bytes - Viewed (0) -
docs/metrics/v3.md
### Per-bucket Metrics
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Aug 02 22:30:11 UTC 2024 - 45.2K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt
val Project.flakyTestStrategy: FlakyTestStrategy get() = gradleProperty(FLAKY_TEST).let { if (it.getOrElse("").isEmpty()) { return FlakyTestStrategy.INCLUDE } else { return FlakyTestStrategy.valueOf(it.get().toUpperCaseAsciiOnly()) } } val Project.ignoreIncomingBuildReceipt: Provider<Boolean>
Registered: Wed Oct 30 11:36:09 UTC 2024 - Last Modified: Wed Oct 09 08:19:42 UTC 2024 - 16.9K bytes - Viewed (0) -
cmd/admin-handlers-users.go
writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } encryptedData, err := madmin.EncryptData(cred.SecretKey, data) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } writeSuccessResponseJSON(w, encryptedData) } // AccountInfoHandler returns usage, permissions and other bucket metadata for incoming us
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Oct 03 23:11:02 UTC 2024 - 85.1K bytes - Viewed (0) -
docs/sts/tls.md
- Client sends HTTP `POST` request over a TLS connection hitting the MinIO TLS STS API. - MinIO verifies that the client certificate is valid. - MinIO tries to find a policy that matches the `CN` of the client certificate. - MinIO returns temp. S3 credentials associated to the found policy.
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Sep 29 04:28:45 UTC 2022 - 6K bytes - Viewed (0)