Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 1,338 for defaults (0.04 seconds)

  1. tests/test_multi_query_errors.py

    from fastapi import FastAPI, Query
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/items/")
    def read_items(q: list[int] = Query(default=None)):
        return {"q": q}
    
    
    client = TestClient(app)
    
    
    def test_multi_query():
        response = client.get("/items/?q=5&q=6")
        assert response.status_code == 200, response.text
        assert response.json() == {"q": [5, 6]}
    
    
    def test_multi_query_incorrect():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. cmd/postpolicyform.go

    					Min:   minLen,
    					Max:   maxLen,
    					Valid: true,
    				}
    			default:
    				// Condition should be valid.
    				return parsedPolicy, fmt.Errorf("Unknown type %s of conditional field value %s found in POST policy form",
    					reflect.TypeOf(condt).String(), condt)
    			}
    		default:
    			return parsedPolicy, fmt.Errorf("Unknown field %s of type %s found in POST policy form",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 23 15:10:12 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. helm/minio/README.md

    Install this chart using:
    
    ```bash
    helm install --namespace minio --set rootUser=rootuser,rootPassword=rootpass123 --generate-name minio/minio
    ```
    
    The command deploys MinIO on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.
    
    ### Installing the Chart (toy-setup)
    
    Minimal toy setup for testing purposes can be deployed using:
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                    "Method com.example.TaskInterface.getIsFailOnError(): Is not annotated with @since 2.0. Reason for accepting this: Upgraded property" to listOf("Method now provides default implementation"),
                    // see https://github.com/siom79/japicmp/issues/289
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  5. docs/iam/policies/deny-objects-with-invalid-sse-kms-key-id.json

             "Action":"s3:PutObject",
             "Resource":"arn:aws:s3:::multi-key-poc/*",
             "Condition":{
                "StringNotEquals":{
                   "s3:x-amz-server-side-encryption-aws-kms-key-id":"minio-default-key"
                }
             }
          }
       ]
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 14 15:43:07 GMT 2024
    - 439 bytes
    - Click Count (0)
  6. docs/select/README.md

    (*) Parquet is disabled on the MinIO server by default. See below how to enable it.
    
    ## Enabling Parquet Format
    
    Parquet is DISABLED by default since hostile crafted input can easily crash the server.
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. cmd/site-replication-utils_gen.go

    				return
    			}
    		case "cst":
    			err = z.TargetReplicationResyncStatus.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "TargetReplicationResyncStatus")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. docs_src/query_params_str_validations/tutorial012_py39.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: list[str] = Query(default=["foo", "bar"])):
        query_items = {"q": q}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 192 bytes
    - Click Count (0)
  9. docs_src/query_params_str_validations/tutorial005_py39.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: str = Query(default="fixedquery", min_length=3)):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 276 bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            // Get relativePath (default is "../pom.xml" if not specified)
            String relativePath = parentElement.childText(MavenPomElements.Elements.RELATIVE_PATH);
            if (relativePath == null || relativePath.trim().isEmpty()) {
                relativePath = DEFAULT_PARENT_RELATIVE_PATH; // Maven default
            }
    
            // Only infer artifactId if relativePath is the default and we have multiple POMs
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
Back to Top