- Sort Score
- Result 10 results
- Languages All
Results 971 - 980 of 1,509 for case1 (0.02 sec)
-
docs/en/docs/tutorial/path-operation-configuration.md
### Tags with Enums If you have a big application, you might end up accumulating **several tags**, and you would want to make sure you always use the **same tag** for related *path operations*. In these cases, it could make sense to store the tags in an `Enum`. **FastAPI** supports that the same way as with plain strings: ```Python hl_lines="1 8-10 13 18" {!../../docs_src/path_operation_configuration/tutorial002b.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java
* * @param localRepository the local repository * @param remoteRepository the remote repository it came from * @throws RepositoryMetadataStoreException in case of issue */ void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws RepositoryMetadataStoreException; String extendedToString();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
docs/en/docs/advanced/response-directly.md
For example, you cannot put a Pydantic model in a `JSONResponse` without first converting it to a `dict` with all the data types (like `datetime`, `UUID`, etc) converted to JSON-compatible types. For those cases, you can use the `jsonable_encoder` to convert your data before passing it to a response: ```Python hl_lines="6-7 21-22" {!../../docs_src/response_directly/tutorial001.py!} ``` /// note | "Technical Details"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3K bytes - Viewed (0) -
docs/en/docs/tutorial/middleware.md
``` /// tip Here we use <a href="https://docs.python.org/3/library/time.html#time.perf_counter" class="external-link" target="_blank">`time.perf_counter()`</a> instead of `time.time()` because it can be more precise for these use cases. 🤓 /// ## Other middlewares You can later read more about other middlewares in the [Advanced User Guide: Advanced Middleware](../advanced/middleware.md){.internal-link target=_blank}.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource2.java
* <ul> * <li>use either / or \ file path separator</li> * <li>have .. parent directory references</li> * <li>point either at file or directory, in the latter case POM file name 'pom.xml' needs to be used by the * requested model source.</li> * </ul> * * @param relPath is the path of the requested model source relative to this model source POM.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
docs/en/docs/how-to/conditional-openapi.md
* Implement and use well-known cryptographic tools, like Passlib and JWT tokens, etc. * Add more granular permission controls with OAuth2 scopes where needed. * ...etc. Nevertheless, you might have a very specific use case where you really need to disable the API docs for some environment (e.g. for production) or depending on configurations from environment variables. ## Conditional OpenAPI from settings and env vars
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 11:21:54 UTC 2024 - 2.3K bytes - Viewed (0) -
ci/official/envs/rbe
# A local firewall rule for the container is added in # ci/official/utilities/setup_docker.sh. else # The volume mapping flag below shares the user's gcloud credentials, if any, # with the container, in case the user has credentials stored there. # This would allow Bazel to authenticate for RBE. # Note: TF's CI does not have any credentials stored there.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Aug 09 16:05:18 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/MathBenchmarking.java
* limitations under the License. */ package com.google.common.math; import java.math.BigInteger; import java.util.Random; /** * Utilities for benchmarks. * * <p>In many cases, we wish to vary the order of magnitude of the input as much as we want to vary * the input itself, so most methods which generate values use an exponential distribution varying
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
* {@link * com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder#withFeatures(Feature...)}), * this annotation specifies each of the different sizes for which a test suite should be built. (In * a typical case, the features should include {@link CollectionSize#ANY}.) These semantics are thus * a little different from those of other Collection-related features such as {@link * CollectionFeature} or {@link SetFeature}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
/* * For example, if concentration=2.0, the following takes the square root of * the uniformly-distributed random integer, then truncates any fractional * part, so higher integers would appear (in this case linearly) more often * than lower ones. */ return (int) Math.pow(a, 1.0 / concentration); } @AfterExperiment void tearDown() { double req = requests.get();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0)