Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2481 - 2490 of 3,176 for Then (0.39 seconds)

  1. docs/en/docs/advanced/using-request-directly.md

    As **FastAPI** is actually **Starlette** underneath, with a layer of several tools on top, you can use Starlette's [`Request`](https://www.starlette.dev/requests/) object directly when you need to.
    
    It would also mean that if you get data from the `Request` object directly (for example, read the body) it won't be validated, converted or documented (with OpenAPI, for the automatic API user interface) by FastAPI.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  2. tests/test_dependency_after_yield_streaming.py

        with pytest.raises((ValueError, Exception)):
            client.get("/broken-session-stream")
    
    
    def test_broken_session_stream_no_raise():
        """
        When a dependency with yield raises after the streaming response already started
        the 200 status code is already sent, but there's still an error in the server
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  3. tests/distinct_test.go

    		*GetUser("distinct", Config{}),
    		*GetUser("distinct-2", Config{}),
    		*GetUser("distinct-3", Config{}),
    	}
    	users[0].Age = 20
    
    	if err := DB.Create(&users).Error; err != nil {
    		t.Fatalf("errors happened when create users: %v", err)
    	}
    
    	var names []string
    	DB.Table("users").Where("name like ?", "distinct%").Order("name").Pluck("name", &names)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 2.5K bytes
    - Click Count (0)
  4. internal/amztime/parse.go

    		t, err := time.Parse(dateFormat, timeStr)
    		if err == nil {
    			return t, nil
    		}
    	}
    	return time.Time{}, ErrMalformedDate
    }
    
    // ParseReplicationTS parse http.TimeFormat first
    // will try time.RFC3339Nano when parse http.TimeFormat failed
    func ParseReplicationTS(str string) (time.Time, error) {
    	tm, err := time.Parse(http.TimeFormat, str)
    	if tm.IsZero() || err != nil {
    		tm, err = time.Parse(time.RFC3339Nano, str)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

         */
        public OpenSearchAccessResultData() {
        }
    
        /**
         * Creates a new instance of OpenSearchAccessResultData from a source map.
         * This constructor is used when loading data from OpenSearch.
         *
         * @param src The source map containing the access result data fields.
         * @throws OpenSearchAccessException if the data cannot be decoded.
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      @CanIgnoreReturnValue
      protected C resetContainer() {
        return resetContainer(getSubjectGenerator().createTestSubject());
      }
    
      /**
       * Replaces the existing container under test with a new container. This is useful when a single
       * test method needs to create multiple containers while retaining the ability to use {@link
       * #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

        }
    
        @Test
        @DisplayName("Test getInfo when info is null")
        void testGetInfoWhenNull() {
            response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);
    
            assertNull(response.getInfo());
        }
    
        @Test
        @DisplayName("Test getInfo with type when info is null")
        void testGetInfoWithTypeWhenNull() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java

        @Test
        public void test_addIncludeUrlFilter_emptyListTx() {
            final String sessionId = "session5";
            final List<String> emptyList = Collections.emptyList();
    
            // Should not throw exception when adding empty list
            // This validates the early return optimization
            try {
                urlFilterService.addIncludeUrlFilter(sessionId, emptyList);
            } catch (final Exception e) {
                fail();
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Jan 14 23:48:16 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/groovy/elasticsearch.ide.gradle

          xmlFragment.module.each { treeWalker.append(it) }
    
          // Change the checkstyle config to inline the path to the
          // suppressions config. This removes a configuration step when using
          // the checkstyle config in an IDE.
          Node suppressions = xml.module.find { it.'@name' == 'SuppressionFilter' }
          suppressions.property.findAll { it.'@name' == 'file' }.each { it.'@value' = checkstyleSuppressions }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 19:34:12 GMT 2021
    - 8.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/NtStatus.java

                "The filename, directory name, or volume label syntax is incorrect.", "The system cannot find the file specified.",
                "Cannot create a file when that file already exists.", "The handle is invalid.", "The specified path is invalid.",
                "The system cannot find the path specified.", "The specified path is invalid.",
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 14.9K bytes
    - Click Count (0)
Back to Top