Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 804 for valid1 (0.04 sec)

  1. docs/en/docs/tutorial/body.md

        "name": "Foo",
        "description": "An optional description",
        "price": 45.2,
        "tax": 3.5
    }
    ```
    
    ...as `description` and `tax` are optional (with a default value of `None`), this JSON "`object`" would also be valid:
    
    ```JSON
    {
        "name": "Foo",
        "price": 45.2
    }
    ```
    
    ## Declare it as a parameter { #declare-it-as-a-parameter }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. tests/helper_test.go

    	t.Run("Account", func(t *testing.T) {
    		AssertObjEqual(t, user.Account, expect.Account, "ID", "CreatedAt", "UpdatedAt", "DeletedAt", "UserID", "Number")
    
    		if user.Account.Number != "" {
    			if !user.Account.UserID.Valid {
    				t.Errorf("Account's foreign key should be saved")
    			} else {
    				var account Account
    				db(unscoped).First(&account, "user_id = ?", user.ID)
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/sql-databases.md

    ```
    
    </div>
    
    Então, vá para a interface `/docs`, você verá que o **FastAPI** está usando esses **modelos** para **documentar** a API, e ele também os usará para **serializar** e **validar** os dados.
    
    <div class="screenshot">
    <img src="/img/tutorial/sql-databases/image01.png">
    </div>
    
    ## Atualizar o App com Múltiplos Modelos { #update-the-app-with-multiple-models }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            byte[] dst = new byte[100];
    
            int result = querySecurityDesc.writeSetupWireFormat(dst, 10);
    
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat with valid FID and security information")
        void testWriteParametersWireFormat() {
            int fid = 0xABCD;
            int securityInfo = DACL_SECURITY_INFORMATION | OWNER_SECURITY_INFORMATION;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                assertNotNull(result);
                assertSame(response1, result);
                assertSame(response2, result.getNext());
            }
    
            @Test
            @DisplayName("setResponse should accept valid response")
            void testSetResponse() {
                TestServerMessageBlock2Response response = new TestServerMessageBlock2Response(mockConfig);
    
                testRequest.setResponse(response);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

        /**
         * Parses a robots.txt file from the given input stream using the specified character encoding.
         *
         * <p>This method is designed to be resilient to malformed robots.txt files.
         * It will parse valid directives and ignore invalid ones, ensuring that partial
         * content can be extracted even from poorly formatted files.</p>
         *
         * <p>The following errors are handled gracefully (line is skipped, parsing continues):</p>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java

            when(dataHelper.getAccessResultMap(sessionId)).thenReturn(accessResultMap);
    
            // Execute
            service.offerAll(sessionId, newUrlList);
    
            // Verify - only valid URL should be added
            assertEquals(1, existingQueue.size());
        }
    
        public void test_visited() {
            // Setup
            String sessionId = "session123";
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/path-params.md

    ```JSON
    {
      "detail": [
        {
          "type": "int_parsing",
          "loc": [
            "path",
            "item_id"
          ],
          "msg": "Input should be a valid integer, unable to parse string as an integer",
          "input": "foo"
        }
      ]
    }
    ```
    
    из-за того, что параметр пути `item_id` имеет значение `"foo"`, которое не является типом `int`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. cmd/update.go

    	fields := strings.Split(releaseTag, ".")
    	if len(fields) < 2 || len(fields) > 4 {
    		return releaseTime, fmt.Errorf("%s is not a valid release tag", releaseTag)
    	}
    	if fields[0] != "RELEASE" {
    		return releaseTime, fmt.Errorf("%s is not a valid release tag", releaseTag)
    	}
    	return time.Parse(MinioReleaseTagTimeLayout, fields[1])
    }
    
    // getModTime - get the file modification time of `path`
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

        private static final int RESERVED_BYTES = 4;
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create instance with valid parameters")
            void testConstructorWithValidParameters() {
                // Given
                long sourceOffset = 1024L;
                long targetOffset = 2048L;
                int length = 4096;
    
                // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top