Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,088 for instead (0.14 sec)

  1. docs/en/docs/advanced/async-tests.md

    ## HTTPX
    
    Even if your **FastAPI** application uses normal `def` functions instead of `async def`, it is still an `async` application underneath.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:43:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. cmd/object-api-putobject_test.go

    			t.Errorf("Test %d: %s: Expected to fail with error \"%s\", but passed instead.", i, instanceType, testCase.expectedError.Error())
    			continue
    		}
    		// Failed as expected, but does it fail for the expected reason.
    		if actualErr != nil && actualErr != testCase.expectedError {
    			t.Errorf("Test %d: %s: Expected to fail with error \"%v\", but instead failed with error \"%v\" instead.", i, instanceType, testCase.expectedError, actualErr)
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/index.md

    /// tip
    
    If you want to **learn FastAPI** in a structured way (recommended), go and read the [Tutorial - User Guide](../tutorial/index.md){.internal-link target=_blank} chapter by chapter instead.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 592 bytes
    - Viewed (0)
  4. internal/etag/etag.go

    // about HTTP headers, Set should be used instead of
    // http.Header.Set(...). Otherwise, some S3 clients will not
    // able to extract the ETag.
    func Set(etag ETag, h http.Header) {
    	// Some (broken) S3 clients expect the ETag header to
    	// literally "ETag" - not "Etag". Further, some clients
    	// expect an ETag in double quotes. Therefore, we set the
    	// ETag directly as map entry instead of using http.Header.Set
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. fastapi/security/api_key.py

                    automatically cancel the request and send the client an error.
    
                    If `auto_error` is set to `False`, when the query parameter is not
                    available, instead of erroring out, the dependency result will be
                    `None`.
    
                    This is useful when you want to have optional authentication.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 23 22:29:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. docs/en/docs/reference/dependencies.md

    ## `Security()`
    
    For many scenarios, you can handle security (authorization, authentication, etc.) with dependencies, using `Depends()`.
    
    But when you want to also declare OAuth2 scopes, you can use `Security()` instead of `Depends()`.
    
    You can import `Security()` directly from `fastapi`:
    
    ```python
    from fastapi import Security
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 671 bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                                + " (" + repository.getUrl() + ")");
            }
    
            if (file == null) {
                // TODO throw something instead?
                return true;
            }
    
            Date lastCheckDate;
    
            if (file.exists()) {
                lastCheckDate = new Date(file.lastModified());
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Ints.java

    public final class Ints extends IntsMethodsForWeb {
      private Ints() {}
    
      /**
       * The number of bytes required to represent a primitive {@code int} value.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#BYTES} instead.
       */
      public static final int BYTES = Integer.SIZE / Byte.SIZE;
    
      /**
       * The largest power of two that can be represented as an {@code int}.
       *
       * @since 10.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/UrlNormalizingPostProcessor.java

    import org.codehaus.plexus.interpolation.InterpolationPostProcessor;
    
    /**
     * Ensures that expressions referring to URLs evaluate to normalized URLs.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    class UrlNormalizingPostProcessor implements InterpolationPostProcessor {
    
        private static final Set<String> URL_EXPRESSIONS;
    
        static {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/ReportConfigurationExpander.java

    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Handles expansion of general report plugin configuration into individual report sets.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ReportConfigurationExpander {
    
        /**
         * Merges values from general report plugin configuration into the individual reports sets of the given model.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top