- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 330 for redeclare (0.07 sec)
-
docs/zh/docs/features.md
如果你需要2分钟来学习如何使用 Python 类型(即使你不使用 FastAPI ),看看这个简短的教程:[Python Types](python-types.md){.internal-link target=_blank}。 编写带有类型标注的标准 Python: ```Python from datetime import date from pydantic import BaseModel # Declare a variable as a str # and get editor support inside the function def main(user_id: str): return user_id # A Pydantic model class User(BaseModel): id: int name: str joined: date ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 8.9K bytes - Viewed (0) -
docs/pt/docs/features.md
Você escreve Python padrão com tipos: ```Python from datetime import date from pydantic import BaseModel # Declare uma variável como str # e obtenha suporte do editor dentro da função def main(user_id: str): return user_id # Um modelo do Pydantic class User(BaseModel): id: int name: str joined: date
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
abstract void handleAllCompleted(); /** Adds the chain to the seen set, and returns whether all the chain was new to us. */ private static boolean addCausalChain(Set<Throwable> seen, Throwable param) { // Declare a "true" local variable so that the Checker Framework will infer nullness. Throwable t = param; for (; t != null; t = t.getCause()) { boolean firstTimeSeen = seen.add(t); if (!firstTimeSeen) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 16.2K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
/// ### Create the `Settings` object Import `BaseSettings` from Pydantic and create a sub-class, very much like with a Pydantic model. The same way as with Pydantic models, you declare class attributes with type annotations, and possibly default values. You can use all the same validation features and tools you use for Pydantic models, like different data types and additional validations with `Field()`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 12.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
: new ImmutableLongArray(array, start + startIndex, start + endIndex); } @SuppressWarnings("Java7ApiChecker") @IgnoreJRERequirement // used only from APIs that use streams /* * We declare this as package-private, rather than private, to avoid generating a synthetic * accessor method (under -target 8) that would lack the Android flavor's @IgnoreJRERequirement. */ Spliterator.OfLong spliterator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 22.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
return startIndex == endIndex ? EMPTY : new ImmutableIntArray(array, start + startIndex, start + endIndex); } /* * We declare this as package-private, rather than private, to avoid generating a synthetic * accessor method (under -target 8) that would lack the Android flavor's @IgnoreJRERequirement. */ Spliterator.OfInt spliterator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
checkNotNull(fromKey); return newView(sortedDelegate.tailMap(fromKey)); } public ImmutableSortedMap<K, V> tailMap(K fromKeyParam, boolean inclusive) { // Declare a "true" local variable so that the Checker Framework will infer nullness. K fromKey = fromKeyParam; checkNotNull(fromKey); if (!inclusive) { fromKey = higher(fromKey); if (fromKey == null) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 19:19:19 UTC 2024 - 16.4K bytes - Viewed (0) -
common/scripts/kind_provisioner.sh
} # Now deploy the specified number of KinD clusters and # wait till they are provisioned successfully. declare -a DEPLOY_KIND_JOBS for i in "${!CLUSTER_NAMES[@]}"; do deploy_kind "${i}" & DEPLOY_KIND_JOBS+=("${!}") done for pid in "${DEPLOY_KIND_JOBS[@]}"; do wait "${pid}" || exit 1 done
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 21 04:47:23 UTC 2024 - 17.2K bytes - Viewed (0) -
src/cmd/cgo/ast.go
f.Preamble += commentText(cg) + "\n" f.Preamble += "#line 1 \"cgo-generated-wrapper\"\n" } } case *ast.FuncDecl: // Also, reject attempts to declare methods on C.T or *C.T. // (The generated code would otherwise accept this // invalid input; see issue #57926.) if decl.Recv != nil && len(decl.Recv.List) > 0 { recvType := decl.Recv.List[0].Type
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 14 15:47:06 UTC 2024 - 14.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
} } } }, /* * This one comes last to work around b/367716565. (One *possible* alternative would be to not * declare any methods in this enum, converting assertFailsToDecode into a static method that is * implemented with a `switch`. I haven't tested that.) */ @GwtIncompatible // decodingStream(Reader) DECODING_STREAM {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 16:27:30 UTC 2024 - 24.6K bytes - Viewed (0)