Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 923 for Function (0.04 sec)

  1. docs/en/docs/advanced/response-headers.md

    # Response Headers { #response-headers }
    
    ## Use a `Response` parameter { #use-a-response-parameter }
    
    You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies).
    
    And then you can set headers in that *temporal* response object.
    
    {* ../../docs_src/response_headers/tutorial002.py hl[1, 7:8] *}
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/first-steps.md

    {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *}
    
    This dependency will provide a `str` that is assigned to the parameter `token` of the *path operation function*.
    
    **FastAPI** will know that it can use this dependency to define a "security scheme" in the OpenAPI schema (and the automatic API docs).
    
    /// info | Technical Details
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.Beta;
    import com.google.common.base.Function;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.Maps;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.Immutable;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Task.kt

     */
    package okhttp3.internal.concurrent
    
    /**
     * A unit of work that can be executed one or more times.
     *
     * Recurrence
     * ----------
     *
     * Tasks control their recurrence schedule. The [runOnce] function returns -1L to signify that the
     * task should not be executed again. Otherwise it returns a delay until the next execution.
     *
     * A task has at most one next execution. If the same task instance is scheduled multiple times, the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

            {{test}, {compile, test, provided, system}},
            {{runtime}, {compile, runtime, system}},
            {{provided}, {compile, test, provided}}
        };
    
        /**
         * scope relationship function. Used by the graph conflict resolution policies
         *
         * @param scope a scope
         * @return true is supplied scope is an inclusive sub-scope of current one.
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. cmd/signals.go

    	go func() {
    		globalMRFState.shutdown()
    		close(finished)
    	}()
    	select {
    	case <-time.After(shutdownTimeout):
    	case <-finished:
    	}
    }
    
    func handleSignals() {
    	// Custom exit function
    	exit := func(success bool) {
    		if globalLoggerOutput != nil {
    			globalLoggerOutput.Close()
    		}
    
    		// If global profiler is set stop before we exit.
    		globalProfilerMu.Lock()
    		defer globalProfilerMu.Unlock()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Sep 04 17:02:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/dependencies/sub-dependencies.md

    ## Segunda dependencia, "dependable" y "dependant"
    
    Luego puedes crear otra función de dependencia (un "dependable") que al mismo tiempo declare una dependencia propia (por lo que también es un "dependant"):
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[13] *}
    
    Centrémonos en los parámetros declarados:
    
    * Aunque esta función es una dependencia ("dependable") en sí misma, también declara otra dependencia (depende de algo más).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/response-change-status-code.md

    For those cases, you can use a `Response` parameter.
    
    ## Use a `Response` parameter { #use-a-response-parameter }
    
    You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies and headers).
    
    And then you can set the `status_code` in that *temporal* response object.
    
    {* ../../docs_src/response_change_status_code/tutorial001.py hl[1,9,12] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. ci/official/containers/ml_build_arm64/builder.devtoolset/gcc9-fixups.patch

    -  extern __typeof (name) aliasname __attribute__ ((alias (#name)));
    +  extern __typeof (name) aliasname __attribute__ ((alias (#name))) \
    +    __attribute_copy__ (name);
     
     /* This comes between the return type and function name in
        a function definition to make that definition weak.  */
    @@ -125,14 +131,16 @@
        If weak aliases are not available, this defines a strong alias.  */
     # define weak_alias(name, aliasname) _weak_alias (name, aliasname)
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Nov 11 19:25:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. ci/official/utilities/windows.sh

    # Thus, the drive letter is replaced with the passed prefix.
    # If no prefix is passed, by default, it's replaced with C:\, in case it's
    # something else (ex. T:), which is a volume used in internal CI.
    function replace_drive_letter_with_prefix () {
      local path_prefix
      if [[ -z "$2" ]]; then
        path_prefix="C:"
      else
        path_prefix="$2"
      fi
      sed -E "s|^[a-zA-Z]:|${path_prefix}|g" <<< "$1"
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jan 09 18:37:25 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top