Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 6,440 for with (0.02 sec)

  1. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    ### Qué son los "Context Managers"
    
    Los "Context Managers" son aquellos objetos de Python que puedes usar en una declaración `with`.
    
    Por ejemplo, <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">puedes usar `with` para leer un archivo</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    /// tip
    
    You can use `async` or regular functions.
    
    **FastAPI** will do the right thing with each, the same as with normal dependencies.
    
    ///
    
    ## A dependency with `yield` and `try` { #a-dependency-with-yield-and-try }
    
    If you use a `try` block in a dependency with `yield`, you'll receive any exception that was thrown when using the dependency.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md

    ## 컨텍스트 관리자
    
    ### "컨텍스트 관리자"란?
    
    "컨텍스트 관리자"는 Python에서 `with` 문에서 사용할 수 있는 모든 객체를 의미합니다.
    
    예를 들어, <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)
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Feb 09 14:54:09 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. docs/site-replication/run-replication-with-checksum-header.sh

    # sleep for replication to complete
    sleep 30
    
    # Create bucket in source cluster
    echo "Create bucket in source MinIO instance"
    ./mc mb minio1/test-bucket --insecure
    
    # Load objects to source site with checksum header
    echo "Loading objects to source MinIO instance"
    OBJ_CHKSUM=$(openssl dgst -sha256 -binary </tmp/data/obj | base64)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            @Test
            @DisplayName("Should fixup host with FQDN")
            void testFixupHost() {
                String fqdn = "server.example.com";
    
                // Test with mock
                doNothing().when(mockReferralData).fixupHost(fqdn);
                mockReferralData.fixupHost(fqdn);
                verify(mockReferralData, times(1)).fixupHost(fqdn);
    
                // Test with concrete implementation - requires server to be set
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  6. .github/workflows/build.yml

            uses: actions/setup-java@v5
            with:
              distribution: 'zulu'
              java-version: 8.0.242
    
          - name: Configure JDK
            uses: actions/setup-java@v5
            with:
              distribution: 'zulu'
              java-version: 11
    
          - name: Configure JDK
            uses: actions/setup-java@v5
            with:
              distribution: 'zulu'
              java-version: 17
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 07:15:58 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/bufio/scan.go

    		return 1, data[0:1], nil
    	}
    
    	// Fast path 2: Correct UTF-8 decode without error.
    	_, width := utf8.DecodeRune(data)
    	if width > 1 {
    		// It's a valid encoding. Width cannot be one for a correctly encoded
    		// non-ASCII rune.
    		return width, data[0:width], nil
    	}
    
    	// We know it's an error: we have width==1 and implicitly r==utf8.RuneError.
    	// Is the error because there wasn't a full rune to be decoded?
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 21 18:05:26 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/security/oauth2-scopes.md

    <img src="/img/tutorial/security/image11.png">
    
    ## JWT token with scopes { #jwt-token-with-scopes }
    
    Now, modify the token *path operation* to return the scopes requested.
    
    We are still using the same `OAuth2PasswordRequestForm`. It includes a property `scopes` with a `list` of `str`, with each scope it received in the request.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            // Test constructor with null cause
            String message = "Test with null cause";
            FessSystemException exception = new FessSystemException(message, null);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with both null message and cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

        }
    
        // Test getBucketOrder with count.desc
        public void test_getBucketOrder_countDesc() {
            facetInfo.sort = "count.desc";
            BucketOrder order = facetInfo.getBucketOrder();
            assertNotNull(order);
            assertEquals(BucketOrder.count(false), order);
        }
    
        // Test getBucketOrder with count.asc
        public void test_getBucketOrder_countAsc() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top