Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,018 for afunction (0.1 sec)

  1. docs/en/docs/async.md

    ### Other utility functions
    
    Any other utility function that you call directly can be created with normal `def` or `async def` and FastAPI won't affect the way you call it.
    
    This is in contrast to the functions that FastAPI calls for you: *path operation functions* and dependencies.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:33:37 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

          ListenableFuture<O> transform(
              ListenableFuture<I> input, Function<? super I, ? extends O> function, Executor executor) {
        return AbstractTransformFuture.create(input, function, executor);
      }
    
      /**
       * Like {@link #transform(ListenableFuture, Function, Executor)} except that the transformation
       * {@code function} is invoked on each call to {@link Future#get() get()} on the returned future.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  3. misc/chrome/gophertool/background.js

    chrome.omnibox.onInputEntered.addListener(function(t) {
      var url = urlForInput(t);
      if (url) {
        chrome.tabs.query({ "active": true, "currentWindow": true }, function(tab) {
          if (!tab) return;
          chrome.tabs.update(tab.id, { "url": url, "selected": true });
        });
      }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Nov 18 18:14:37 UTC 2019
    - 286 bytes
    - Viewed (0)
  4. docs/en/docs/advanced/advanced-dependencies.md

    # Advanced Dependencies
    
    ## Parameterized dependencies
    
    All the dependencies we have seen are a fixed function or class.
    
    But there could be cases where you want to be able to set parameters on the dependency, without having to declare many different functions or classes.
    
    Let's imagine that we want to have a dependency that checks if the query parameter `q` contains some fixed content.
    
    But we want to be able to parameterize that fixed content.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:10:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. buildscripts/multipart-quorum-test.sh

    	exit 1
    fi
    
    trap 'catch $LINENO' ERR
    
    function purge() {
    	rm -rf "$1"
    }
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio || true
    	pkill -9 minio || true
    	purge "$WORK_DIR"
    	if [ $# -ne 0 ]; then
    		exit $#
    	fi
    }
    
    catch
    
    function start_minio_10drive() {
    	start_port=$1
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 10:51:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

    import me.champeau.gradle.japicmp.report.ViolationCheckContext;
    
    import java.util.AbstractMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.function.Function;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import static gradlebuild.binarycompatibility.upgrades.UpgradedProperties.CURRENT_ACCESSORS_OF_UPGRADED_PROPERTIES;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.function.Function;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.es.client.SearchEngineClient;
    import org.lastaflute.di.exception.IORuntimeException;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-params-str-validations.md

    ```
    
    ### Advantages of `Annotated`
    
    **Using `Annotated` is recommended** instead of the default value in function parameters, it is **better** for multiple reasons. 🤓
    
    The **default** value of the **function parameter** is the **actual default** value, that's more intuitive with Python in general. 😌
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/query-params.md

    # Query Parameters
    
    When you declare other function parameters that are not part of the path parameters, they are automatically interpreted as "query" parameters.
    
    ```Python hl_lines="9"
    {!../../docs_src/query_params/tutorial001.py!}
    ```
    
    The query is the set of key-value pairs that go after the `?` in a URL, separated by `&` characters.
    
    For example, in the URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/LoadingCache.java

      /**
       * @deprecated Provided to satisfy the {@code Function} interface; use {@link #get} or {@link
       *     #getUnchecked} instead.
       * @throws UncheckedExecutionException if an exception was thrown while loading the value. (As
       *     described in the documentation for {@link #getUnchecked}, {@code LoadingCache} should be
       *     used as a {@code Function} only with cache loaders that throw only unchecked exceptions.)
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 8.3K bytes
    - Viewed (0)
Back to top