Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5071 - 5080 of 6,918 for RETURN (0.13 sec)

  1. docs_src/path_params/tutorial004.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/files/{file_path:path}")
    async def read_file(file_path: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 27 16:15:26 UTC 2020
    - 156 bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/dependencies/sub-dependencies.md

        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.6+ без Annotated
    
    /// tip | "Подсказка"
    
    Предпочтительнее использовать версию с аннотацией, если это возможно.
    
    ///
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/dependencies/sub-dependencies.md

        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip | "Dica"
    
    Utilize a versão com `Annotated` se possível.
    
    ///
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. cmd/streaming-signature-v4_test.go

    			[]byte("10000"),
    			[]byte("ad80c730a21e5b8d04586a2213dd63b9a0e99e0e2307b0ade35a65485a288648"),
    		},
    		// Test - 2 no chunk extension, return same buffer.
    		{
    			[]byte("10000;"),
    			[]byte("10000;"),
    			nil,
    		},
    		// Test - 3 no chunk size, return error.
    		{
    			[]byte(";chunk-signature="),
    			nil,
    			nil,
    		},
    		// Test - 4 removes trailing slash.
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  5. bin/init.sh

          DOWNLOAD_COMMAND="curl -fLSs --retry 5 --retry-delay 1 --retry-connrefused"
          return
        fi
        echo curl does not support https, will try wget for downloading files.
      else
        echo curl is not installed, will try wget for downloading files.
      fi
    
      # Try wget.
      if command -v wget > /dev/null; then
        DOWNLOAD_COMMAND="wget -qO -"
        return
      fi
      echo wget is not installed.
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jan 25 19:11:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. docs_src/body_nested_models/tutorial009_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.post("/index-weights/")
    async def create_index_weights(weights: dict[int, float]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 154 bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/MediaType.kt

       * specify a charset, or if its charset is unsupported by the current runtime.
       */
      @JvmOverloads
      fun charset(defaultValue: Charset? = null): Charset? {
        val charset = parameter("charset") ?: return defaultValue
        return try {
          Charset.forName(charset)
        } catch (_: IllegalArgumentException) {
          defaultValue // This charset is invalid or unsupported. Give up.
        }
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Predicate.java

      /**
       * Indicates whether another object is equal to this predicate.
       *
       * <p>Most implementations will have no reason to override the behavior of {@link Object#equals}.
       * However, an implementation may also choose to return {@code true} whenever {@code object} is a
       * {@link Predicate} that it considers <i>interchangeable</i> with this one. "Interchangeable"
       * <i>typically</i> means that {@code this.apply(t) == that.apply(t)} for all {@code t} of type
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. api/maven-api-cli/src/main/mdo/core-extensions.mdo

              <code>
                <![CDATA[
        /**
         * Gets the identifier of the extension.
         *
         * @return The extension id in the form {@code <groupId>:<artifactId>:<version>}, never {@code null}.
         */
        public String getId() {
            return (getGroupId() == null ? "[unknown-group-id]" : getGroupId())
                + ":" + (getArtifactId() == null ? "[unknown-artifact-id]" : getArtifactId())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. src/cmd/addr2line/addr2line_test.go

    	for scanner.Scan() {
    		f := strings.Fields(scanner.Text())
    		if len(f) < 3 {
    			continue
    		}
    		syms[f[2]] = f[0]
    	}
    	if err := scanner.Err(); err != nil {
    		t.Fatalf("error reading symbols: %v", err)
    	}
    	return syms
    }
    
    func runAddr2Line(t *testing.T, dbgExePath, addr string) (funcname, path, lineno string) {
    	cmd := testenv.Command(t, testenv.Executable(t), dbgExePath)
    	cmd.Stdin = strings.NewReader(addr)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top