- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 318 for returningX (0.41 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
results.add(serializer.submit(Callables.returning(null), manualExecutor)); Future<?>[] thingToCancel = new Future<?>[1]; results.add( serializer.submit( () -> { thingToCancel[0].cancel(false); return null; }, directExecutor())); thingToCancel[0] = serializer.submit(Callables.returning(null), directExecutor());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 13.6K bytes - Click Count (0) -
docs/en/docs/advanced/custom-response.md
In this example, the function `generate_html_response()` already generates and returns a `Response` instead of returning the HTML in a `str`. By returning the result of calling `generate_html_response()`, you are already returning a `Response` that will override the default **FastAPI** behavior.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
tests/delete_test.go
// only sqlite, postgres, gaussdb, sqlserver support returning func TestSoftDeleteReturning(t *testing.T) { if DB.Dialector.Name() != "sqlite" && DB.Dialector.Name() != "postgres" && DB.Dialector.Name() != "gaussdb" && DB.Dialector.Name() != "sqlserver" { return } users := []*User{ GetUser("delete-returning-1", Config{}), GetUser("delete-returning-2", Config{}), GetUser("delete-returning-3", Config{}), } DB.Create(&users)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 9.5K bytes - Click Count (0) -
docs/en/docs/tutorial/response-model.md
FastAPI will use this return type to: * **Validate** the returned data. * If the data is invalid (e.g. you are missing a field), it means that *your* app code is broken, not returning what it should, and it will return a server error instead of returning incorrect data. This way you and your clients can be certain that they will receive the data and the data shape expected. * Add a **JSON Schema** for the response, in the OpenAPI *path operation*.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 15.5K bytes - Click Count (0) -
utils/tests/dummy_dialecter.go
callbacks.RegisterDefaultCallbacks(db, &callbacks.Config{ CreateClauses: []string{"INSERT", "VALUES", "ON CONFLICT", "RETURNING"}, UpdateClauses: []string{"UPDATE", "SET", "WHERE", "RETURNING"}, DeleteClauses: []string{"DELETE", "FROM", "WHERE", "RETURNING"}, LastInsertIDReversed: true, }) return nil } func (DummyDialector) DefaultValueOf(field *schema.Field) clause.Expression {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Mar 06 06:03:31 GMT 2023 - 2.2K bytes - Click Count (0) -
docs/en/docs/reference/response.md
You can also use it directly to create an instance of it and return it from your *path operations*. Read more about it in the [FastAPI docs about returning a custom Response](https://fastapi.tiangolo.com/advanced/response-directly/#returning-a-custom-response) You can import it directly from `fastapi`: ```python from fastapi import Response ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:41:54 GMT 2026 - 559 bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
results.add(serializer.submit(Callables.returning(null), manualExecutor)); Future<?>[] thingToCancel = new Future<?>[1]; results.add( serializer.submit( () -> { thingToCancel[0].cancel(false); return null; }, directExecutor())); thingToCancel[0] = serializer.submit(Callables.returning(null), directExecutor());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 13.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
errors << "From non-null returning to null returning breaking change" } else if (oldNullability == Nullability.NON_NULL && newNullability == Nullability.UNMARKED) { errors << "From non-null returning to null-unmarked returning breaking change" } else if (oldNullability == Nullability.UNMARKED && newNullability == Nullability.NULLABLE) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Oct 27 09:26:32 GMT 2025 - 15.4K bytes - Click Count (0) -
tests/create_test.go
} // mariadb with returning, values will be appended with id map if len(values) == beforeLen*2 { t.Skipf("This test case skipped, because the db supports returning") } for i := range values { v, ok := values[i]["id"] if !ok { t.Fatal("failed to create data from map with table, returning map has no primary key") } var result User
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 09:55:20 GMT 2025 - 26.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
assertFalse(task.isDone()); task.run(); assertTrue(task.isDone()); assertFalse(task.isCancelled()); assertEquals(2, getDone(task).intValue()); } public void testCancelled() throws Exception { TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(returning(2)); assertFalse(task.isDone()); task.cancel(false);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.5K bytes - Click Count (0)