Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,166 for contexto (0.08 sec)

  1. cmd/batch-rotate.go

    type BatchJobKeyRotateEncryption struct {
    	Type       BatchKeyRotationType `yaml:"type" json:"type"`
    	Key        string               `yaml:"key" json:"key"`
    	Context    string               `yaml:"context" json:"context"`
    	kmsContext kms.Context          `msg:"-"`
    }
    
    // Validate validates input key rotation encryption options.
    func (e BatchJobKeyRotateEncryption) Validate() error {
    	if e.Type != sses3 && e.Type != ssekms {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_files/test_tutorial002_an.py

                    }
                ]
            }
        )
    
    
    def test_post_files(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    ๐Ÿ–ผ, <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">๐Ÿ‘† ๐Ÿ’ช โš™๏ธ `with` โœ ๐Ÿ“</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    ๐Ÿ”˜, `open("./somefile.txt")` โœ ๐ŸŽš ๐Ÿ‘ˆ ๐Ÿค™ "๐Ÿ”‘ ๐Ÿ‘จโ€๐Ÿ’ผ".
    
    ๐Ÿ•โ” `with` ๐Ÿซ ๐Ÿ, โšซ๏ธ โš’ ๐Ÿ’ญ ๐Ÿ” ๐Ÿ“, ๐Ÿšฅ ๐Ÿ“ค โš .
    
    ๐Ÿ•โ” ๐Ÿ‘† โœ ๐Ÿ”— โฎ๏ธ `yield`, **FastAPI** ๐Ÿ”œ ๐Ÿ”˜ ๐Ÿ—œ โšซ๏ธ ๐Ÿ”‘ ๐Ÿ‘จโ€๐Ÿ’ผ, &amp; ๐ŸŒ€ โšซ๏ธ โฎ๏ธ ๐ŸŽ ๐Ÿ”— ๐Ÿงฐ.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/QueryCommandTest.java

            assertQueryBuilder("content", "test", MatchPhraseQueryBuilder.class);
            assertQueryBuilder("content", "a", MatchPhraseQueryBuilder.class);
            assertQueryBuilder("content", "ใ‚", PrefixQueryBuilder.class);
            assertQueryBuilder("content", "ใ‚ใ‚", MatchPhraseQueryBuilder.class);
            assertQueryBuilder("content", "ใ‚ข", PrefixQueryBuilder.class);
            assertQueryBuilder("content", "ใ‚ขใ‚ข", MatchPhraseQueryBuilder.class);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py

                ]
            }
        )
    
    
    @needs_py39
    def test_post_files(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

        }
    
        private void assertQuery(QueryBuilder query1, QueryContext context) {
            assertQuery(query1, null, null, context);
        }
    
        private void assertQuery(QueryBuilder query1, Map<String, List<String>> fieldLogMap, Set<String> highlightedQuerySet,
                QueryContext context) {
            assertEquals(query1.toString(), context.getQueryBuilder().toString());
            assertFieldLogs(fieldLogMap);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  7. cmd/signature-v4_test.go

    				"X-Amz-SignedHeaders":   "host;x-amz-content-sha256;x-amz-date",
    				"X-Amz-Credential":      fmt.Sprintf(credentialTemplate, accessKeyID, now.Format(yyyymmdd), region),
    				"X-Amz-Content-Sha256":  payloadSHA256,
    				"response-content-type": "application/json",
    			},
    			headers: map[string]string{
    				"X-Amz-Date":           now.Format(iso8601Format),
    				"X-Amz-Content-Sha256": payloadSHA256,
    			},
    			region:   "",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/custom-response.md

    Vocรช poderia criar uma classe `CustomORJSONResponse`. A principal coisa a ser feita รฉ sobrecarregar o mรฉtodo render da classe Response, `Response.render(content)`, que retorna o conteรบdo em bytes, para retornar o conteรบdo que vocรช deseja:
    
    ```Python hl_lines="9-14  17"
    {!../../docs_src/custom_response/tutorial009c.py!}
    ```
    
    Agora em vez de retornar:
    
    ```json
    {"message": "Hello World"}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:47:10 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. internal/etag/etag_test.go

    }
    
    var readerTests = []struct { // Reference values computed by: echo <content> | md5sum
    	Content string
    	ETag    ETag
    }{
    	{
    		Content: "", ETag: ETag{212, 29, 140, 217, 143, 0, 178, 4, 233, 128, 9, 152, 236, 248, 66, 126},
    	},
    	{
    		Content: " ", ETag: ETag{114, 21, 238, 156, 125, 157, 194, 41, 210, 146, 26, 64, 232, 153, 236, 95},
    	},
    	{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    	}
    	return false
    }
    
    func readAllXL(ctx context.Context, disks []StorageAPI, bucket, object string, readData, inclFreeVers bool) ([]FileInfo, []error) {
    	rawFileInfos, errs := readAllRawFileInfo(ctx, disks, bucket, object, readData)
    	return pickLatestQuorumFilesInfo(ctx, rawFileInfos, errs, bucket, object, readData, inclFreeVers)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top