- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 1,510 for EXAMPLE (0.08 seconds)
-
docs_src/schema_extra_example/tutorial005_py310.py
@app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Item = Body( openapi_examples={ "normal": { "summary": "A normal example", "description": "A **normal** item works correctly.", "value": { "name": "Foo", "description": "A very nice Item", "price": 35.4,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Aug 26 18:03:13 GMT 2023 - 1.3K bytes - Click Count (0) -
fastapi/security/api_key.py
## Usage Create an instance object and use that object as the dependency in `Depends()`. The dependency result will be a string containing the key value. ## Example ```python from fastapi import Depends, FastAPI from fastapi.security import APIKeyQuery app = FastAPI() query_scheme = APIKeyQuery(name="api_key") @app.get("/items/")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 9.6K bytes - Click Count (1) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Aug 29 10:12:17 GMT 2025 - 7.2K bytes - Click Count (0) -
docs/en/docs/advanced/additional-status-codes.md
If you want to return additional status codes apart from the main one, you can do that by returning a `Response` directly, like a `JSONResponse`, and set the additional status code directly. For example, let's say that you want to have a *path operation* that allows to update items, and returns HTTP status codes of 200 "OK" when successful.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Range.java
* Returns the maximal range {@linkplain #encloses enclosed} by both this range and {@code * connectedRange}, if such a range exists. * * <p>For example, the intersection of {@code [1..5]} and {@code (3..7)} is {@code (3..5]}. The * resulting range may be empty; for example, {@code [1..5)} intersected with {@code [5..7)} * yields the empty range {@code [5..5)}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 28K bytes - Click Count (0) -
docs/distributed/DESIGN.md
- Choice of erasure set size is automatic based on the number of drives available, let's say for example if there are 32 servers and 32 drives which is a total of 1024 drives. In this scenario 16 becomes the erasure set size. This is decided based on the greatest common divisor (GCD) of acceptable erasure set sizes ranging from *4 to 16*.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 26 09:25:50 GMT 2025 - 8K bytes - Click Count (2) -
android/guava/src/com/google/common/util/concurrent/ParametricNullness.java
import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * Annotates a "top-level" type-variable usage that takes its nullness from the type argument * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns * {@code @ParametricNullness E}, which means: * * <ul> * <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull * String}.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0) -
guava/src/com/google/common/cache/ParametricNullness.java
import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * Annotates a "top-level" type-variable usage that takes its nullness from the type argument * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns * {@code @ParametricNullness E}, which means: * * <ul> * <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull * String}.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java
* <p> * This annotation allows you to limit which types of a bean should be available * for injection. It can be used to prevent unintended automatic binding of implemented * interfaces or extended classes. * <p> * Example usage: * <pre> * {@literal @}Typed(ServiceImpl.class) * public class ServiceImpl implements Service { * // Implementation * } * </pre> * * @since 4.0.0 */ @Target({FIELD, METHOD, TYPE})
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 2.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
""" package com.example; import org.gradle.api.Incubating; $v1 """ ) }, v2 = { withJavaFile( "java/com/example/Source.java", """ package com.example;Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jan 19 11:30:48 GMT 2026 - 18.3K bytes - Click Count (0)