Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 1,477 for function (0.06 seconds)

  1. docs/en/docs/tutorial/path-params.md

    The value of the path parameter `item_id` will be passed to your function as the argument `item_id`.
    
    So, if you run this example and go to [http://127.0.0.1:8000/items/foo](http://127.0.0.1:8000/items/foo), you will see a response of:
    
    ```JSON
    {"item_id":"foo"}
    ```
    
    ## Path parameters with types { #path-parameters-with-types }
    
    You can declare the type of a path parameter in the function, using standard Python type annotations:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/Optional.java

       *
       * @throws NullPointerException if the function returns {@code null}
       * @since 12.0
       */
      public abstract <V> Optional<V> transform(Function<? super T, V> function);
    
      /**
       * Returns {@code true} if {@code object} is an {@code Optional} instance, and either the
       * contained references are {@linkplain Object#equals equal} to each other or both are absent.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        }
    
        @Override
        public Iterable<Entry<String, String>> order(List<Entry<String, String>> insertionOrder) {
          return insertionOrder;
        }
    
        static final Function<String, String> FUNCTION =
            new Function<String, String>() {
              @Override
              public String apply(String value) {
                return Ascii.toLowerCase(value);
              }
            };
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Sep 24 22:52:18 GMT 2025
    - 28.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/CoreUtils.java

     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.util.Collection;
    import java.util.List;
    import java.util.Objects;
    import java.util.function.Function;
    import java.util.stream.Collectors;
    
    class CoreUtils {
    
        public static <T> T cast(Class<T> clazz, Object o, String name) {
            if (!clazz.isInstance(o)) {
                if (o == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. docs/en/docs/reference/parameters.md

    # Request Parameters
    
    Here's the reference information for the request parameters.
    
    These are the special functions that you can put in *path operation function* parameters or dependency functions with `Annotated` to get data from the request.
    
    It includes:
    
    * `Query()`
    * `Path()`
    * `Body()`
    * `Cookie()`
    * `Header()`
    * `Form()`
    * `File()`
    
    You can import them all directly from `fastapi`:
    
    ```python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 603 bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/SuppressSignatureCheck.kt

    import kotlin.annotation.AnnotationTarget.CLASS
    import kotlin.annotation.AnnotationTarget.CONSTRUCTOR
    import kotlin.annotation.AnnotationTarget.FUNCTION
    
    @Retention(BINARY)
    @MustBeDocumented
    @Target(CONSTRUCTOR, CLASS, FUNCTION)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 09:36:53 GMT 2026
    - 957 bytes
    - Click Count (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.native.js

    Platform.getDeclaringClassOrNullForJ2cl = function(e) {
      return null;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri May 26 21:15:08 GMT 2023
    - 73 bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/hash/HashTestUtils.java

       * bit(i) can alter output bit(j).
       */
      static void checkNoFunnels(HashFunction function) {
        Random rand = new Random(0);
        int keyBits = 32;
        int hashBits = function.bits();
    
        // output loop tests input bit
        for (int i = 0; i < keyBits; i++) {
          int same = 0x0; // bitset for output bits with same values
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  9. fastapi/param_functions.py

                    function* ends, but **before** the response is sent back to the client.
                    So, the dependency function will be executed **around** the *path operation
                    **function***.
                * `"request"`: start the dependency before the *path operation function*
                    that handles the request (similar to when using `"function"`), but end
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 68K bytes
    - Click Count (0)
  10. doc/next/6-stdlib/99-minor/testing/synctest/77169.md

    The new [Sleep] helper function combines [time.Sleep] and [testing/synctest.Wait]....
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Feb 02 22:43:36 GMT 2026
    - 83 bytes
    - Click Count (0)
Back to Top