Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1001 - 1010 of 3,794 for Done (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/associations_has_one_test.go

    }
    
    func TestPolymorphicHasOneAssociationForSlice(t *testing.T) {
    	pets := []Pet{
    		{Name: "hasone-1", Toy: Toy{Name: "toy-has-one"}},
    		{Name: "hasone-2", Toy: Toy{}},
    		{Name: "hasone-3", Toy: Toy{Name: "toy-has-one"}},
    	}
    
    	DB.Create(&pets)
    
    	// Count
    	AssertAssociationCount(t, pets, "Toy", 2, "")
    
    	// Find
    	var toys []Toy
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jun 12 10:49:45 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/query-params.md

    ## Parámetros opcionales { #optional-parameters }
    
    De la misma manera, puedes declarar parámetros de query opcionales, estableciendo su valor por defecto en `None`:
    
    {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *}
    
    En este caso, el parámetro de función `q` será opcional y será `None` por defecto.
    
    /// check | Revisa
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/query-params.md

    ## Parâmetros opcionais { #optional-parameters }
    
    Da mesma forma, você pode declarar parâmetros de consulta opcionais, definindo o valor padrão para `None`:
    
    {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *}
    
    Nesse caso, o parâmetro da função `q` será opcional, e `None` será o padrão.
    
    /// check | Verifique
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 5K bytes
    - Click Count (0)
  4. docs/tr/docs/tutorial/metadata.md

    OpenAPI şemasını tamamen kapatmak isterseniz `openapi_url=None` ayarlayabilirsiniz; bu, onu kullanan dokümantasyon arayüzlerini de devre dışı bırakır.
    
    ## Doküman URL'leri { #docs-urls }
    
    Dahil gelen iki dokümantasyon arayüzünü yapılandırabilirsiniz:
    
    * **Swagger UI**: `/docs` adresinden sunulur.
        * URL'sini `docs_url` parametresiyle ayarlayabilirsiniz.
        * `docs_url=None` ayarlayarak devre dışı bırakabilirsiniz.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  5. tests/named_polymorphic_test.go

    	if hamsterToy.Name != hamster.PreferredToy.Name {
    		t.Errorf("Should find has one polymorphic association")
    	}
    
    	hamsterToy = Toy{}
    	DB.Model(&hamster).Association("OtherToy").Find(&hamsterToy)
    	if hamsterToy.Name != hamster.OtherToy.Name {
    		t.Errorf("Should find has one polymorphic association")
    	}
    
    	// Append
    	DB.Model(&hamster).Association("PreferredToy").Append(&Toy{
    		Name: "bike 2",
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jul 08 09:59:40 GMT 2020
    - 4.2K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/Collections2Test.java

        assertTrue("Expected another permutation, but there was none.", permutations.hasNext());
        assertEquals(expectedPermutation, permutations.next());
      }
    
      private <T> void assertNoMorePermutations(Iterator<List<T>> permutations) {
        assertFalse("Expected no more permutations, but there was one.", permutations.hasNext());
        try {
          permutations.next();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  7. cmd/erasure-metadata-utils.go

    // corresponding error value. NB When there is more than one error value that
    // occurs maximum number of times, the error value returned depends on how
    // golang's map orders keys. This doesn't affect correctness as long as quorum
    // value is greater than or equal to simple majority, since none of the equally
    // maximal values would occur quorum or more number of times.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditTask.java

        public Configuration getForbiddenAPIsConfiguration() {
            return getProject().getConfigurations().getByName("forbiddenApisCliJar");
        }
    
        @InputFile
        @PathSensitive(PathSensitivity.NONE)
        public File getSignatureFile() {
            return signatureFile;
        }
    
        public void setSignatureFile(File signatureFile) {
            this.signatureFile = signatureFile;
        }
    
        @Input
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 17 08:59:22 GMT 2021
    - 16.2K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/query-params.md

    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    查询参数的值就是:
    
    * `skip=20`:在 URL 中设定的值
    * `limit=10`:使用默认值
    
    ## 可选参数 { #optional-parameters }
    
    同理,把默认值设为 `None` 即可声明可选的查询参数:
    
    {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *}
    
    本例中,查询参数 `q` 是可选的,默认值为 `None`。
    
    /// check | 检查
    
    注意,**FastAPI** 可以识别出 `item_id` 是路径参数,`q` 不是路径参数,而是查询参数。
    
    ///
    
    ## 查询参数类型转换 { #query-parameter-type-conversion }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_body/test_tutorial003.py

        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 123,
            "name": "Foo",
            "price": 50.1,
            "description": None,
            "tax": None,
        }
    
    
    def test_put_with_no_data(client: TestClient):
        response = client.put("/items/123", json={})
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 6.1K bytes
    - Click Count (0)
Back to Top