Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 1,912 for dakota (0.07 sec)

  1. docs/en/docs/advanced/response-change-status-code.md

    ## Use case
    
    For example, imagine that you want to return an HTTP status code of "OK" `200` by default.
    
    But if the data didn't exist, you want to create it, and return an HTTP status code of "CREATED" `201`.
    
    But you still want to be able to filter and convert the data you return with a `response_model`.
    
    For those cases, you can use a `Response` parameter.
    
    ## Use a `Response` parameter
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. cmd/format-erasure.go

    // migration fails upon any error.
    func formatErasureMigrateV1ToV2(data []byte, version string) ([]byte, error) {
    	if version != formatErasureVersionV1 {
    		return nil, fmt.Errorf(`format version expected %s, found %s`, formatErasureVersionV1, version)
    	}
    
    	formatV1 := &formatErasureV1{}
    	if err := json.Unmarshal(data, formatV1); err != nil {
    		return nil, err
    	}
    
    	formatV2 := &formatErasureV2{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/DefaultEventSpyContext.java

    /**
     * DefaultEventSpyContext
     */
    public class DefaultEventSpyContext implements EventSpy.Context {
    
        private final Map<String, Object> data = new HashMap<>();
    
        public Map<String, Object> getData() {
            return data;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. tests/test_param_in_path_and_dependency.py

    def test_read_users():
        response = client.get("/users/42")
        assert response.status_code == 200, response.text
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        data = response.json()
        assert data == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/users/{user_id}": {
                    "get": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. cmd/metrics-v3-replication.go

    		"Average replication data transfer rate in bytes/sec")
    	replicationCurrentActiveWorkersMD = NewGaugeMD(replicationCurrentActiveWorkers,
    		"Total number of active replication workers")
    	replicationCurrentDataTransferRateMD = NewGaugeMD(replicationCurrentDataTransferRate,
    		"Current replication data transfer rate in bytes/sec")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. README.md

    You can register crawling targets in the Admin UI on the (Web, File, Data Store) crawler configuration pages, and then start the Crawler manually on the [Scheduler page](https://fess.codelibs.org/14.17/admin/scheduler-guide.html).
    
    ## Migration from another search provider
    
    Please see [MIGRATION.md](MIGRATION.md).
    
    ## Data Store
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 07:19:47 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. cmd/signature-v4-parser.go

    	}
    	signedHeaders := strings.Split(signedHdrFields[1], ";")
    	return signedHeaders, ErrNone
    }
    
    // signValues data type represents structured form of AWS Signature V4 header.
    type signValues struct {
    	Credential    credentialHeader
    	SignedHeaders []string
    	Signature     string
    }
    
    // preSignValues data type represents structured form of AWS Signature V4 query string.
    type preSignValues struct {
    	signValues
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_body/test_tutorial001.py

            "name": "Foo",
            "description": None,
            "price": 50.5,
            "tax": None,
        }
    
    
    def test_wrong_headers(client: TestClient):
        data = '{"name": "Foo", "price": 50.5}'
        response = client.post(
            "/items/", content=data, headers={"Content-Type": "text/plain"}
        )
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body/test_tutorial001_py310.py

            "description": None,
            "price": 50.5,
            "tax": None,
        }
    
    
    @needs_py310
    def test_wrong_headers(client: TestClient):
        data = '{"name": "Foo", "price": 50.5}'
        response = client.post(
            "/items/", content=data, headers={"Content-Type": "text/plain"}
        )
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15K bytes
    - Viewed (1)
  10. src/main/java/jcifs/pac/PacCredentialType.java

    public class PacCredentialType {
    
        private static final int MINIMAL_BUFFER_SIZE = 32;
    
        private byte[] credentialType;
    
    
        public PacCredentialType ( byte[] data ) throws PACDecodingException {
            this.credentialType = data;
            if ( !isCredentialTypeCorrect() ) {
                throw new PACDecodingException("Invalid PAC credential type");
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
Back to top