- Sort Score
- Result 10 results
- Languages All
Results 1381 - 1390 of 2,658 for Created (0.07 sec)
-
docs/en/docs/tutorial/background-tasks.md
{* ../../docs_src/background_tasks/tutorial001.py hl[1,13] *} **FastAPI** will create the object of type `BackgroundTasks` for you and pass it as that parameter. ## Create a task function Create a function to be run as the background task. It is just a standard function that can receive parameters.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 15:22:48 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java
resetContainer(getSubjectGenerator().create((Object[]) createArrayWithNullKey())); } protected void initMultimapWithNullValue() { resetContainer(getSubjectGenerator().create((Object[]) createArrayWithNullValue())); } protected void initMultimapWithNullKeyAndValue() { resetContainer(getSubjectGenerator().create((Object[]) createArrayWithNullKeyAndValue())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6K bytes - Viewed (0) -
tests/test_security_oauth2_optional.py
from pydantic import BaseModel app = FastAPI() reusable_oauth2 = OAuth2( flows={ "password": { "tokenUrl": "token", "scopes": {"read:users": "Read the users", "write:users": "Create users"}, } }, auto_error=False, ) class User(BaseModel): username: str def get_current_user(oauth_header: Optional[str] = Security(reusable_oauth2)):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 10.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TablesTransformValuesColumnTest.java
@Override Table<String, Character, Integer> makeTable() { Table<String, Character, Integer> table = HashBasedTable.create(); return transformValues(table, DIVIDE_BY_2); } @Override protected Map<String, Integer> makePopulatedMap() { Table<String, Character, Integer> table = HashBasedTable.create(); table.put("one", 'a', 1); table.put("two", 'a', 2); table.put("three", 'a', 3);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowMapTest.java
RowSortedTable<String, Integer, Character> original = TreeBasedTable.create(); return unmodifiableRowSortedTable(original); } @Override protected SortedMap<String, Map<Integer, Character>> makePopulatedMap() { RowSortedTable<String, Integer, Character> table = TreeBasedTable.create(); table.put("foo", 1, 'a'); table.put("bar", 1, 'b'); table.put("foo", 3, 'c');
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableTableRowTest.java
} @Override Table<Character, String, Integer> makeTable() { Table<Character, String, Integer> table = HashBasedTable.create(); return unmodifiableTable(table); } @Override protected Map<String, Integer> makePopulatedMap() { Table<Character, String, Integer> table = HashBasedTable.create(); table.put('a', "one", 1); table.put('a', "two", 2); table.put('a', "three", 3); table.put('b', "four", 4);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/WriterUtil.java
* @param os * ストリーム。{@literal null}であってはいけません * @param encoding * エンコーディング。{@literal null}や空文字列であってはいけません * @return ストリームへ出力する{@link Writer} */ public static Writer create(final OutputStream os, final String encoding) { assertArgumentNotNull("os", os); assertArgumentNotEmpty("encoding", encoding); try { return new OutputStreamWriter(os, encoding);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.2K bytes - Viewed (0) -
internal/s3select/sql/value.go
} } // FromFloat creates a Value from a number func FromFloat(f float64) *Value { return &Value{value: f} } // FromInt creates a Value from an int func FromInt(f int64) *Value { return &Value{value: f} } // FromString creates a Value from a string func FromString(str string) *Value { return &Value{value: str} } // FromBool creates a Value from a bool
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Feb 25 20:31:19 UTC 2022 - 20.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Callables.java
@ElementTypesAreNonnullByDefault public final class Callables { private Callables() {} /** Creates a {@code Callable} which immediately returns a preset value each time it is called. */ public static <T extends @Nullable Object> Callable<T> returning(@ParametricNullness T value) { return () -> value; } /** * Creates an {@link AsyncCallable} from a {@link Callable}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 4.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
* */ public class BasedirBeanConfigurationPathTranslator implements BeanConfigurationPathTranslator { private final File basedir; /** * Creates a new path translator using the specified base directory. * * @param basedir The base directory to resolve relative paths against, may be {@code null} to disable path * translation. */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0)