Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,345 for friend (0.06 sec)

  1. tests/test_serialize_response_model.py

    from typing import Optional
    
    from fastapi import FastAPI
    from pydantic import BaseModel, Field
    from starlette.testclient import TestClient
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str = Field(alias="aliased_name")
        price: Optional[float] = None
        owner_ids: Optional[list[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return Item(aliased_name="valid", price=1.0)
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. tests/benchmark_test.go

    	user := *GetUser("bench", Config{})
    
    	for x := 0; x < b.N; x++ {
    		user.ID = 0
    		DB.Create(&user)
    	}
    }
    
    func BenchmarkFind(b *testing.B) {
    	user := *GetUser("find", Config{})
    	DB.Create(&user)
    
    	for x := 0; x < b.N; x++ {
    		DB.Find(&User{}, "id = ?", user.ID)
    	}
    }
    
    func BenchmarkScan(b *testing.B) {
    	user := *GetUser("scan", Config{})
    	DB.Create(&user)
    
    	var u User
    	b.ResetTimer()
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Jun 01 03:50:57 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsFailureUrl.java

                addFieldToSource(sourceMap, "url", url);
            }
            return sourceMap;
        }
    
        protected void addFieldToSource(Map<String, Object> sourceMap, String field, Object value) {
            sourceMap.put(field, value);
        }
    
        // ===================================================================================
        //                                                                      Basic Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

     * that package-private fields and constants can be accessed directly.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbComCloseTest {
    
        /**
         * Ensure the constructor sets the {@code command} field of the
         * {@link ServerMessageBlock} superclass to {@link ServerMessageBlock#SMB_COM_CLOSE}.
         */
        @Test
        @DisplayName("happy: constructor sets command correctly")
        void testConstructorSetsCommand() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. tests/soft_delete_test.go

    	}
    
    	sql = DB.Session(&gorm.Session{DryRun: true}).Table("user u").Select("name").Find(&User{}).Statement.SQL.String()
    	if !regexp.MustCompile(`SELECT .name. FROM user u WHERE .u.\..deleted_at. IS NULL`).MatchString(sql) {
    		t.Errorf("Table with escape character, got %v", sql)
    	}
    
    	if DB.First(&User{}, "name = ?", user.Name).Error == nil {
    		t.Errorf("Can't find a soft deleted record")
    	}
    
    	count = 0
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/elevateword/EditForm.java

         * Creates a new EditForm instance.
         */
        public EditForm() {
            super();
        }
    
        /**
         * The unique identifier of the elevate word configuration being edited.
         * This is a required field for identifying which elevate word entry to update.
         */
        @Required
        @Size(max = 1000)
        public String id;
    
        /**
         * The username of the user who last updated this elevate word configuration.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/reqheader/EditForm.java

         * Creates a new EditForm instance.
         */
        public EditForm() {
            super();
        }
    
        /**
         * The unique identifier of the request header configuration being edited.
         * This is a required field for identifying which request header entry to update.
         */
        @Required
        @Size(max = 1000)
        public String id;
    
        /**
         * The username of the user who last updated this request header configuration.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java

    import java.util.Map;
    
    /**
     * Lifecycle definition for a packaging (multiple packagings share the same lifecycle id = usually "default").
     */
    public class Lifecycle {
        /**
         * Field id
         */
        private String id;
    
        /**
         * Field phases
         */
        private Map<String, LifecyclePhase> lifecyclePhases;
    
        /**
         * Method getId
         */
        public String getId() {
            return this.id;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/request-form-models.md

    {* ../../docs_src/request_form_models/tutorial001_an_py39.py hl[9:11,15] *}
    
    **FastAPI** will **extract** the data for **each field** from the **form data** in the request and give you the Pydantic model you defined.
    
    ## Check the Docs { #check-the-docs }
    
    You can verify it in the docs UI at `/docs`:
    
    <div class="screenshot">
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/JdkPattern.java

        }
    
        @Override
        public boolean matches() {
          return matcher.matches();
        }
    
        @Override
        public boolean find() {
          return matcher.find();
        }
    
        @Override
        public boolean find(int index) {
          return matcher.find(index);
        }
    
        @Override
        public String replaceAll(String replacement) {
          return matcher.replaceAll(replacement);
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top