- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 1,854 for Parameter (0.06 seconds)
-
docs/en/docs/advanced/advanced-dependencies.md
In this case, this `__call__` is what **FastAPI** will use to check for additional parameters and sub-dependencies, and this is what will be called to pass a value to the parameter in your *path operation function* later. ## Parameterize the instance { #parameterize-the-instance } And now, we can use `__init__` to declare the parameters of the instance that we can use to "parameterize" the dependency:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9K bytes - Click Count (0) -
docs/en/docs/reference/response.md
# `Response` class You can declare a parameter in a *path operation function* or dependency to be of type `Response` and then you can set data for the response like headers or cookies. You can also use it directly to create an instance of it and return it from your *path operations*. Read more about it in the [FastAPI docs about returning a custom Response](https://fastapi.tiangolo.com/advanced/response-directly/#returning-a-custom-response)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:41:54 GMT 2026 - 559 bytes - Click Count (0) -
fastapi/dependencies/utils.py
if is_path_param: # We might check here that `default_value is RequiredParam`, but the fact is that the same # parameter might sometimes be a path parameter and sometimes not. See # `tests/test_infer_param_optionality.py` for an example. field_info = params.Path(annotation=use_annotation)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 38.7K bytes - Click Count (3) -
src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java
} private void validateParameters() { if (min < 0) { throw new IllegalArgumentException("The min parameter cannot be negative."); } if (max < 0) { throw new IllegalArgumentException("The max parameter cannot be negative."); } if (max < min) { throw new IllegalArgumentException("The length cannot be negative."); } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Ordering.java
// Natural order /** * Returns a serializable ordering that uses the natural order of the values. The ordering throws * a {@link NullPointerException} when passed a null parameter. * * <p>The type specification is {@code <C extends Comparable>}, instead of the technically correct * {@code <C extends Comparable<? super C>>}, to support legacy types from before Java 5. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 39.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/SuccessorsFunction.java
/** * A functional interface for <a * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data. * * <p>This interface is meant to be used as the type of a parameter to graph algorithms (such as * breadth first traversal) that only need a way of accessing the successors of a node in a graph. * * <h3>Usage</h3> * * Given an algorithm, for example: * * {@snippet :
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 4.2K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
// TODO(cgdecker): Should check for a generic parameter type and error out Class<?>[] parameterTypes = method.getParameterTypes(); checkArgument( parameterTypes.length == 1, "Method %s has @Subscribe annotation but has %s parameters. " + "Subscriber methods must have exactly 1 parameter.", method, parameterTypes.length);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
fastapi/routing.py
from Starlette and supported for compatibility. --- A list of routes to serve incoming HTTP and WebSocket requests. """ ), deprecated( """ You normally wouldn't use this parameter with FastAPI, it is inheritedCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 193K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/package-info.java
* specific language governing permissions and limitations * under the License. */ /** * Provides annotations for Maven plugin development, including mojo configuration, * parameter definitions, and lifecycle bindings. These annotations are used to * generate plugin descriptors and configure plugin behavior. * * @since 4.0.0 */
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Nov 16 22:51:39 GMT 2025 - 1.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/mail/TestmailPostcard.java
// -------------------- /** * Set the value of hostname, used in parameter comment. <br> * Even if empty string, treated as empty plainly. So "IF pmb != null" is false if empty. * @param hostname The parameter value of hostname. (NotNull) */ public void setHostname(String hostname) { registerVariable("hostname", hostname); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 3.9K bytes - Click Count (0)