Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 690 for pure (0.23 sec)

  1. docs/en/docs/advanced/middleware.md

    ```Python
    from unicorn import UnicornMiddleware
    
    app = SomeASGIApp()
    
    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    But FastAPI (actually Starlette) provides a simpler way to do it that makes sure that the internal middlewares handle server errors and custom exception handlers work properly.
    
    For that, you use `app.add_middleware()` (as in the example for CORS).
    
    ```Python
    from fastapi import FastAPI
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:59:07 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

     * overriding going on amongst the models being used in this test:
     * each model in the lineage is providing a value that is not present
     * anywhere else in the lineage. We are just making sure that values
     * down in the lineage are bubbling up where they should.
     *
     */
    @Deprecated
    @SuppressWarnings("checkstyle:UnusedLocalVariable")
    class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 04 10:35:11 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    			err = removeAll(filePath)
    		} else {
    			err = Remove(filePath)
    		}
    		return err // Avoid the immediate purge since not needed
    	}
    
    	if err != nil {
    		return err
    	}
    
    	if !immediatePurge && s.diskAlmostFilled() {
    		immediatePurge = true
    	}
    
    	// immediately purge the target
    	if immediatePurge {
    		for _, target := range []string{
    			targetPath,
    			targetPath2,
    		} {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

            }
            // The region before offset and after the payload must remain untouched.
            for (int i = 0; i < offset; i++) {
                final int idx = i;
                assertEquals(0, dst[i], () -> "pre-offset byte " + idx + " modified");
            }
            for (int i = offset + 8; i < dst.length; i++) {
                final int idx = i;
                assertEquals(0, dst[i], () -> "post-payload byte " + idx + " modified");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. cmd/api-router.go

    				host, _, err := net.SplitHostPort(getHost(r))
    				if err != nil {
    					host = r.Host
    				}
    				// Make sure to skip matching minio.<domain>` this is
    				// specifically meant for operator/k8s deployment
    				// The reason we need to skip this is for a special
    				// usecase where we need to make sure that
    				// minio.<namespace>.svc.<cluster_domain> is ignored
    				// by the bucketDNS style to ensure that path style
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        /** The key of the message: Purge Bots */
        public static final String LABELS_PURGE_BY_BOTS = "{labels.purgeByBots}";
    
        /** The key of the message: Log Level */
        public static final String LABELS_LOG_LEVEL = "{labels.logLevel}";
    
        /** The key of the message: Purge Search Log */
        public static final String LABELS_PURGE_SEARCH_LOG_DAY = "{labels.purgeSearchLogDay}";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 02:36:47 UTC 2025
    - 146.4K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/custom-response.md

    For large responses, returning a `Response` directly is much faster than returning a dictionary.
    
    This is because by default, FastAPI will inspect every item inside and make sure it is serializable as JSON, using the same [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank} explained in the tutorial. This is what allows you to return **arbitrary objects**, for example database models.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

    /**
     * Tester for {@code Collector} implementations.
     *
     * <p>Example usage:
     *
     * <pre>
     * CollectorTester.of(Collectors.summingInt(Integer::parseInt))
     *     .expectCollects(3, "1", "2")
     *     .expectCollects(10, "1", "4", "3", "2")
     *     .expectCollects(5, "-3", "0", "8");
     * </pre>
     *
     * @author Louis Wasserman
     * @since NEXT (but since 21.0 in the JRE flavor)
     */
    @GwtCompatible
    @NullMarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/path-operation-configuration.md

    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### Tags with Enums { #tags-with-enums }
    
    If you have a big application, you might end up accumulating **several tags**, and you would want to make sure you always use the **same tag** for related *path operations*.
    
    In these cases, it could make sense to store the tags in an `Enum`.
    
    **FastAPI** supports that the same way as with plain strings:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. docs/features/caching.md

          if (urlIterator.next().startsWith("https://www.google.com/")) {
            urlIterator.remove()
          }
        }
    ```
    
    ### Troubleshooting
    
    1. Valid cacheable responses are not being cached
    
    Make sure you are reading responses fully as unless they are read fully, cancelled or stalled Responses will not be cached.
    
    ### Overriding normal cache behaviour
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
Back to top