Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2481 - 2490 of 7,900 for usen (0.09 seconds)

  1. tests/test_filter_pydantic_sub_model_pv2.py

                if not name.endswith("A"):
                    raise ValueError("name must end in A")
                return name
    
        async def get_model_c() -> ModelC:
            return ModelC(username="test-user", password="test-password")
    
        @app.get("/model/{name}", response_model=ModelA)
        async def get_model_a(name: str, model_c=Depends(get_model_c)):
            return {
                "name": name,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  2. LICENSES/third_party/forked/gotestsum/LICENSE

                               Version 2.0, January 2004
                            http://www.apache.org/licenses/
    
       TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
    
       1. Definitions.
    
          "License" shall mean the terms and conditions for use, reproduction,
          and distribution as defined by Sections 1 through 9 of this document.
    
          "Licensor" shall mean the copyright owner or entity authorized by
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Fri Apr 01 18:49:15 GMT 2022
    - 11.1K bytes
    - Click Count (0)
  3. tests/create_test.go

    	user.CreatedAt = curTime
    	user.UpdatedAt = curTime
    	DB.Save(&user)
    
    	AssertEqual(t, user.CreatedAt, curTime)
    	AssertEqual(t, user.UpdatedAt, curTime)
    
    	var newUser User
    	DB.First(&newUser, user.ID)
    
    	AssertEqual(t, newUser.CreatedAt, curTime)
    	AssertEqual(t, newUser.UpdatedAt, curTime)
    }
    
    func TestCreateWithNowFuncOverride(t *testing.T) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 09:55:20 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  4. helm/minio/templates/post-job.yaml

              {{- if .Values.makeUserJob.exitCommand }}
              command: [ "/bin/sh", "-c" ]
              args: [ "/bin/sh /config/add-user; EV=$?; {{ .Values.makeUserJob.exitCommand }} && exit $EV" ]
              {{- else }}
              command: [ "/bin/sh", "/config/add-user" ]
              {{- end }}
              env:
                - name: MINIO_ENDPOINT
                  value: {{ template "minio.fullname" . }}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 10 15:48:31 GMT 2024
    - 10.4K bytes
    - Click Count (0)
  5. docs/uk/llm-prompt.md

    ### Target language
    
    Translate to Ukrainian (українська).
    
    Language code: uk.
    
    ### Grammar and tone
    
    1) Use polite/formal address consistent with existing Ukrainian docs (use “ви/ваш”).
    2) Keep the tone concise and technical.
    
    ### Headings
    
    1) Follow existing Ukrainian heading style; keep headings short and instructional.
    2) Do not add trailing punctuation to headings.
    
    ### Quotes
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 19 12:51:53 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/body-nested-models.md

    ### Define a submodel { #define-a-submodel }
    
    For example, we can define an `Image` model:
    
    {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[7:9] *}
    
    ### Use the submodel as a type { #use-the-submodel-as-a-type }
    
    And then we can use it as the type of an attribute:
    
    {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[18] *}
    
    This would mean that **FastAPI** would expect a body similar to:
    
    ```JSON
    {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  7. schema/schema_test.go

    			References: []Reference{{"ID", "Company", "CompanyID", "User", "", false}},
    		},
    		{
    			Name: "Manager", Type: schema.BelongsTo, Schema: "User", FieldSchema: "User",
    			References: []Reference{{"ID", "User", "ManagerID", "User", "", false}},
    		},
    		{
    			Name: "Team", Type: schema.HasMany, Schema: "User", FieldSchema: "User",
    			References: []Reference{{"ID", "User", "ManagerID", "User", "", true}},
    		},
    		{
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Aug 28 02:57:17 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  8. schema/constraint_test.go

    	type UserUnique struct {
    		Name1 string `gorm:"unique"`
    		Name2 string `gorm:"uniqueIndex"`
    	}
    
    	user, err := schema.Parse(&UserUnique{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("failed to parse user unique, got error %v", err)
    	}
    	constraints := user.ParseUniqueConstraints()
    
    	results := map[string]schema.UniqueConstraint{
    		"uni_user_uniques_name1": {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  9. tests/soft_delete_test.go

    )
    
    func TestSoftDelete(t *testing.T) {
    	user := *GetUser("SoftDelete", Config{})
    	DB.Save(&user)
    
    	var count int64
    	var age uint
    
    	if DB.Model(&User{}).Where("name = ?", user.Name).Count(&count).Error != nil || count != 1 {
    		t.Errorf("Count soft deleted record, expects: %v, got: %v", 1, count)
    	}
    
    	if DB.Model(&User{}).Select("age").Where("name = ?", user.Name).Scan(&age).Error != nil || age != user.Age {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Feb 01 06:40:55 GMT 2023
    - 5.7K bytes
    - Click Count (0)
  10. docs/site-replication/run-multi-site-ldap.sh

    ./mc ready minio2
    ./mc ready minio3
    
    ./mc admin replicate add minio1 minio2 minio3
    
    ./mc idp ldap policy attach minio1 consoleAdmin --user="uid=dillon,ou=people,ou=swengg,dc=min,dc=io"
    sleep 5
    
    ./mc admin user info minio2 "uid=dillon,ou=people,ou=swengg,dc=min,dc=io"
    ./mc admin user info minio3 "uid=dillon,ou=people,ou=swengg,dc=min,dc=io"
    ./mc admin policy create minio1 rw ./docs/site-replication/rw.json
    
    sleep 5
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 10.1K bytes
    - Click Count (0)
Back to Top