Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 878 for prefer (0.04 sec)

  1. docs_src/bigger_applications/app_py39/routers/items.py

    from fastapi import APIRouter, Depends, HTTPException
    
    from ..dependencies import get_token_header
    
    router = APIRouter(
        prefix="/items",
        tags=["items"],
        dependencies=[Depends(get_token_header)],
        responses={404: {"description": "Not found"}},
    )
    
    
    fake_items_db = {"plumbus": {"name": "Plumbus"}, "gun": {"name": "Portal Gun"}}
    
    
    @router.get("/")
    async def read_items():
        return fake_items_db
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1011 bytes
    - Viewed (0)
  2. cmd/batch-expire.go

    	ctx, cancelCause := context.WithCancelCause(ctx)
    	defer cancelCause(nil)
    
    	results := make(chan itemOrErr[ObjectInfo], workerSize)
    	go func() {
    		prefixes := r.Prefix.F()
    		if len(prefixes) == 0 {
    			prefixes = []string{""}
    		}
    		for _, prefix := range prefixes {
    			prefixResultCh := make(chan itemOrErr[ObjectInfo], workerSize)
    			err := api.Walk(ctx, r.Bucket, prefix, prefixResultCh, WalkOptions{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle_test.go

    			expectedErr: errInvalidStorageClass,
    		},
    		{
    			// no transition rule
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
  4. tests/test_infer_param_optionality.py

        if user_id is None:
            return {"item_id": item_id}
        else:
            return {"item_id": item_id, "user_id": user_id}
    
    
    app.include_router(user_router, prefix="/users")
    app.include_router(item_router, prefix="/items")
    
    app.include_router(item_router, prefix="/users/{user_id}/items")
    
    
    client = TestClient(app)
    
    
    def test_get_users():
        """Check that /users returns expected data"""
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. docs/extensions/s3zip/examples/aws-js/main.js

        endpoint: 'http://127.0.0.1:9000' ,
        s3ForcePathStyle: true,
        signatureVersion: 'v4'
    });
    
    // List all contents stored in the zip archive
    s3.listObjectsV2({Bucket : 'your-bucket', Prefix: 'path/to/file.zip/'}).
        on('build', function(req) { req.httpRequest.headers['X-Minio-Extract'] = 'true'; }).
        send(function(err, data) {
            if (err) {
                console.log("Error", err);
            } else {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jun 10 15:17:03 UTC 2021
    - 1K bytes
    - Viewed (0)
  6. helm/minio/templates/console-ingress.yaml

        {{- range .Values.consoleIngress.hosts }}
        - http:
            paths:
              - path: {{ $ingressPath }}
                {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
                pathType: Prefix
                backend:
                  service:
                    name: {{ $fullName }}
                    port: 
                      number: {{ $servicePort }}
                {{- else }}
                backend:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 03 06:27:17 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. helm/minio/templates/ingress.yaml

      rules:
        {{- range .Values.ingress.hosts }}
        - http:
            paths:
              - path: {{ $ingressPath }}
                {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
                pathType: Prefix
                backend:
                  service:
                    name: {{ $fullName }}
                    port: 
                      number: {{ $servicePort }}
                {{- else }}
                backend:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 03 06:27:17 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

    import java.net.URL;
    import java.util.Arrays;
    import java.util.Objects;
    import java.util.function.Consumer;
    import java.util.logging.Logger;
    
    import static org.codelibs.curl.io.ContentOutputStream.PREFIX;
    import static org.codelibs.curl.io.ContentOutputStream.SUFFIX;
    import static org.junit.Assert.assertEquals;
    
    public class IOIntegrationTest {
    
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ViewHelper.java

             *
             * @param prefix optional prefix text
             * @param textStart start of the target text
             * @param textEnd optional end of the target text
             * @param suffix optional suffix text
             */
            TextFragment(final String prefix, final String textStart, final String textEnd, final String suffix) {
                this.prefix = prefix;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  10. internal/http/headers.go

    	// An error will be printed to console instead.
    	MinIOSnowballIgnoreErrors = "X-Amz-Meta-Minio-Snowball-Ignore-Errors"
    	// MinIOSnowballPrefix will apply this prefix (plus / at end) to all extracted objects
    	MinIOSnowballPrefix = "X-Amz-Meta-Minio-Snowball-Prefix"
    
    	// Object lock enabled
    	AmzObjectLockEnabled = "x-amz-bucket-object-lock-enabled"
    
    	// Multipart parts count
    	AmzMpPartsCount = "x-amz-mp-parts-count"
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top