Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 1,018 for afunction (0.23 sec)

  1. util/deploy_snapshot.sh

    #!/bin/bash
    
    # see https://coderwall.com/p/9b_lfq
    
    set -e -u
    
    function mvn_deploy() {
      ./mvnw clean deploy -DskipTests=true "$@"
    }
    
    echo "Publishing Maven snapshot..."
    
    mvn_deploy
    mvn_deploy -f android/pom.xml
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 16 20:48:20 UTC 2023
    - 245 bytes
    - Viewed (0)
  2. docs/en/docs/reference/dependencies.md

    # Dependencies - `Depends()` and `Security()`
    
    ## `Depends()`
    
    Dependencies are handled mainly with the special function `Depends()` that takes a callable.
    
    Here is the reference for it and its parameters.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Depends
    ```
    
    ::: fastapi.Depends
    
    ## `Security()`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 671 bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/MediaType.kt

        @JvmStatic
        @JvmName("parse")
        fun String.toMediaTypeOrNull(): MediaType? = commonToMediaTypeOrNull()
    
        @JvmName("-deprecated_get")
        @Deprecated(
          message = "moved to extension function",
          replaceWith =
            ReplaceWith(
              expression = "mediaType.toMediaType()",
              imports = ["okhttp3.MediaType.Companion.toMediaType"],
            ),
          level = DeprecationLevel.ERROR,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.util.Arrays.asList;
    
    import com.google.common.base.Function;
    import com.google.common.collect.testing.SafeTreeSet;
    import com.google.common.collect.testing.SortedSetTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringSortedSetGenerator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/path-params.md

    So, if you run this example and go to <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, you will see a response of:
    
    ```JSON
    {"item_id":"foo"}
    ```
    
    ## Path parameters with types
    
    You can declare the type of a path parameter in the function, using standard Python type annotations:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. 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.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.util.Arrays.asList;
    
    import com.google.common.base.Function;
    import com.google.common.collect.testing.MinimalSet;
    import com.google.common.collect.testing.SetTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringSetGenerator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/templates.md

    So, the section with:
    
    {% raw %}
    
    ```jinja
    <a href="{{ url_for('read_item', id=id) }}">
    ```
    
    {% endraw %}
    
    ...will generate a link to the same URL that would be handled by the *path operation function* `read_item(id=id)`.
    
    For example, with an ID of `42`, this would render:
    
    ```html
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. docs/en/docs/reference/uploadfile.md

    # `UploadFile` class
    
    You can define *path operation function* parameters to be of the type `UploadFile` to receive files from the request.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import UploadFile
    ```
    
    ::: fastapi.UploadFile
        options:
            members:
                - file
                - filename
                - size
                - headers
                - content_type
                - read
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 472 bytes
    - Viewed (0)
  10. docs/fr/docs/async.md

    Contrairement aux fonctions que **FastAPI** appelle pour vous : les *fonctions de chemin* et dépendances.
    
    Si votre fonction utilitaire est une fonction classique définie avec `def`, elle sera appelée directement (telle qu'écrite dans votre code), pas dans une threadpool, si la fonction est définie avec `async def` alors vous devrez attendre (avec `await`) que cette fonction se termine avant de passer à la suite du code.
    
    ---
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top