- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 896 for toOptional (0.07 sec)
-
cmd/batch-expire_test.go
expireYaml := ` expire: # Expire objects that match a condition apiVersion: v1 bucket: mybucket # Bucket where this batch job will expire matching objects from prefix: myprefix # (Optional) Prefix under which this job will expire objects matching the rules below. rules: - type: object # regular objects with zero or more older versions name: NAME # match object names that satisfy the wildcard expression.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 5.5K bytes - Viewed (0) -
tests/test_security_http_digest_optional.py
from typing import Optional from fastapi import FastAPI, Security from fastapi.security import HTTPAuthorizationCredentials, HTTPDigest from fastapi.testclient import TestClient app = FastAPI() security = HTTPDigest(auto_error=False) @app.get("/users/me") def read_current_user( credentials: Optional[HTTPAuthorizationCredentials] = Security(security), ): if credentials is None:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Platform.java
* class could be unloaded after the above call to `getEnumConstants` but before we call * `get()`, but that is vanishingly unlikely. */ return ref == null ? Optional.absent() : Optional.fromNullable(enumClass.cast(ref.get())); } static String formatCompact4Digits(double value) { return String.format(Locale.ROOT, "%.4g", value); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 15 22:32:14 UTC 2024 - 3.9K bytes - Viewed (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t08/p0/pom.xml
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t08-d</artifactId> <version>1.2</version> <scope>test</scope> <optional>false</optional> </dependency> </dependencies> </dependencyManagement>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 992 bytes - Viewed (0) -
internal/config/ilm/help.go
Type: "number", Description: `set the number of transition workers` + defaultHelpPostfix(transitionWorkers), Optional: true, }, config.HelpKV{ Key: expirationWorkers, Type: "number", Description: `set the number of expiration workers` + defaultHelpPostfix(expirationWorkers), Optional: true, }, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 30 08:14:58 UTC 2024 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/RangeMap.java
/** Puts all the associations from {@code rangeMap} into this range map (optional operation). */ void putAll(RangeMap<K, ? extends V> rangeMap); /** Removes all associations from this range map (optional operation). */ void clear(); /** * Removes all associations from this range map in the specified range (optional operation). *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 7.7K bytes - Viewed (0) -
tensorflow/c/c_api_experimental_test.cc
} // Checks the expected result of shape inference for the given `op`. void CheckOutputShapes( TFE_Op* op, const std::vector<absl::optional<std::vector<int64_t>>>& input_shapes_vec, const std::vector<TF_Tensor*>& input_tensors, const absl::optional<std::vector<int64_t>>& expected_shape) { // Create input_shapes. TF_ShapeAndTypeList* input_shapes =
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java
return Objects.equals(p, packaging); } private static Optional<String> getActivationPackaging(org.apache.maven.model.Profile profile) { return Optional.ofNullable(profile) .map(org.apache.maven.model.Profile::getDelegate) .map(Profile::getActivation) .map(Activation::getPackaging);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/MojoExecution.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.api; import java.util.Optional; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.model.PluginExecution; import org.apache.maven.api.plugin.descriptor.MojoDescriptor;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.8K bytes - Viewed (0) -
docs/nl/docs/python-types.md
``` //// #### Gebruik van `Union` of `Optional` Als je een Python versie lager dan 3.10 gebruikt, is dit een tip vanuit mijn **subjectieve** standpunt: * 🚨 Vermijd het gebruik van `Optional[EenType]`. * Gebruik in plaats daarvan **`Union[EenType, None]`** ✨.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.3K bytes - Viewed (0)