- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 1,018 for afunction (0.14 sec)
-
docs/en/docs/tutorial/encoder.md
For example, if you need to store it in a database. For that, **FastAPI** provides a `jsonable_encoder()` function. ## Using the `jsonable_encoder` Let's imagine that you have a database `fake_db` that only receives JSON compatible data. For example, it doesn't receive `datetime` objects, as those are not compatible with JSON.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 23:31:16 UTC 2024 - 1.6K bytes - Viewed (0) -
docs/en/docs/advanced/response-change-status-code.md
For those cases, you can use a `Response` parameter. ## Use a `Response` parameter You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies and headers). And then you can set the `status_code` in that *temporal* response object. ```Python hl_lines="1 9 12" {!../../docs_src/response_change_status_code/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.5K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/strings/61901.md
The [strings] package adds several functions that work with iterators: - [Lines] returns an iterator over the newline-terminated lines in the string s. - [SplitSeq] returns an iterator over all substrings of s separated by sep. - [SplitAfterSeq] returns an iterator over substrings of s split after each instance of sep. - [FieldsSeq] returns an iterator over substrings of s split around runs of whitespace characters, as defined by unicode.IsSpace.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:23:13 UTC 2024 - 580 bytes - Viewed (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* asynchronous operations. You can chain them together manually with calls to methods like {@link * Futures#transform(ListenableFuture, com.google.common.base.Function, Executor) Futures.transform} * (or {@link FluentFuture#transform(com.google.common.base.Function, Executor) * FluentFuture.transform}), but you will often find it easier to use a framework. Frameworks
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 26 21:13:41 UTC 2023 - 8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenableFuture.java
* asynchronous operations. You can chain them together manually with calls to methods like {@link * Futures#transform(ListenableFuture, com.google.common.base.Function, Executor) Futures.transform} * (or {@link FluentFuture#transform(com.google.common.base.Function, Executor) * FluentFuture.transform}), but you will often find it easier to use a framework. Frameworks
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 26 21:13:41 UTC 2023 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java
import static java.util.Arrays.asList; import static java.util.concurrent.TimeUnit.DAYS; import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.Assert.assertThrows; import com.google.common.base.Function; import com.google.common.cache.CacheBuilderFactory.DurationSpec; import com.google.common.cache.LocalCache.Strength; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterables;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* asynchronous operations. You can chain them together manually with calls to methods like {@link * Futures#transform(ListenableFuture, com.google.common.base.Function, Executor) Futures.transform} * (or {@link FluentFuture#transform(com.google.common.base.Function, Executor) * FluentFuture.transform}), but you will often find it easier to use a framework. Frameworks
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 26 21:13:41 UTC 2023 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/EmptyCachesTest.java
import static java.util.Arrays.asList; import static java.util.concurrent.TimeUnit.DAYS; import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.Assert.assertThrows; import com.google.common.base.Function; import com.google.common.cache.CacheBuilderFactory.DurationSpec; import com.google.common.cache.LocalCache.Strength; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterables;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 11.5K bytes - Viewed (0) -
internal/config/identity/openid/provider/provider.go
type User struct { Name string `json:"username"` ID string `json:"id"` Enabled bool `json:"enabled"` } // Standard errors. var ( ErrNotImplemented = errors.New("function not implemented") ErrAccessTokenExpired = errors.New("access_token expired or unauthorized") ) // Provider implements identity provider specific admin operations, such as
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ImmutableValueGraph.java
package com.google.common.graph; import static com.google.common.base.Preconditions.checkNotNull; import static java.util.Objects.requireNonNull; import com.google.common.annotations.Beta; import com.google.common.base.Function; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Maps; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.Immutable; /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.7K bytes - Viewed (0)