Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 868 for users2 (0.05 seconds)

  1. docs/ko/docs/tutorial/bigger-applications.md

    from .routers.items import router
    from .routers.users import router
    ```
    
    `users`의 `router`가 `items`의 `router`를 덮어써서 동시에 사용할 수 없게 됩니다.
    
    따라서 같은 파일에서 둘 다 사용할 수 있도록 submodule들을 직접 import합니다:
    
    {* ../../docs_src/bigger_applications/app_an_py310/main.py hl[5] title["app/main.py"] *}
    
    ### `users`와 `items`용 `APIRouter` 포함하기 { #include-the-apirouters-for-users-and-items }
    
    이제 submodule `users`와 `items`의 `router`를 포함해 봅시다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  2. docs/multi-user/README.md

    # MinIO Multi-user Quickstart Guide [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io)
    
    MinIO supports multiple long term users in addition to default user created during server startup. New users can be added after server starts up, and server can be configured to deny or allow access to buckets and resources to each of these users. This document explains how to add/remove users and modify their access rights.
    
    ## Get started
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/openapi-webhooks.md

    # OpenAPI Webhooks { #openapi-webhooks }
    
    There are cases where you want to tell your API **users** that your app could call *their* app (sending a request) with some data, normally to **notify** of some type of **event**.
    
    This means that instead of the normal process of your users sending requests to your API, it's **your API** (or your app) that could **send requests to their system** (to their API, their app).
    
    This is normally called a **webhook**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  4. tests/update_has_one_test.go

    	CheckUser(t, user2, user)
    
    	user.Account.Number += "new"
    	if err := DB.Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user3 User
    	DB.Preload("Account").Find(&user3, "id = ?", user.ID)
    
    	CheckUser(t, user2, user3)
    	lastUpdatedAt := user2.Account.UpdatedAt
    	time.Sleep(time.Second)
    
    	if err := DB.Session(&gorm.Session{FullSaveAssociations: true}).Save(&user).Error; err != nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Jul 14 06:55:54 GMT 2022
    - 3.6K bytes
    - Click Count (0)
  5. helm/minio/README.md

    - `policies[].statements[].actions[]` - list of actions granted
    
    ### Create user after install
    
    Install the chart, specifying the users you want to create after install:
    
    ```bash
    helm install --set users[0].accessKey=accessKey,users[0].secretKey=secretKey,users[0].policy=none,users[1].accessKey=accessKey2,users[1].secretRef=existingSecret,users[1].secretKey=password,users[1].policy=none minio/minio
    ```
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. clause/returning_test.go

    				[]clause.Column{clause.PrimaryColumn},
    			}},
    			"SELECT * FROM `users` RETURNING `users`.`id`", nil,
    		}, {
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Returning{
    				[]clause.Column{clause.PrimaryColumn},
    			}, clause.Returning{
    				[]clause.Column{{Name: "name"}, {Name: "age"}},
    			}},
    			"SELECT * FROM `users` RETURNING `users`.`id`,`name`,`age`", nil,
    		},
    		{
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Jan 12 10:18:04 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  7. clause/joins_test.go

    				},
    			},
    			sql: "INNER JOIN `user` USING (`id`)",
    		},
    	}
    	for _, result := range results {
    		t.Run(result.name, func(t *testing.T) {
    			user, _ := schema.Parse(&tests.User{}, &sync.Map{}, db.NamingStrategy)
    			stmt := &gorm.Statement{DB: db, Table: user.Table, Schema: user, Clauses: map[string]clause.Clause{}}
    			result.join.Build(stmt)
    			if result.sql != stmt.SQL.String() {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Nov 03 13:03:13 GMT 2022
    - 2.6K bytes
    - Click Count (0)
  8. schema/relationship_test.go

    	type User struct {
    		ID        int32 `gorm:"primaryKey"`
    		Name      string
    		CreatorID *int32
    		Creator   *User
    	}
    
    	checkStructRelation(t, &User{}, Relation{
    		Name: "Creator", Type: schema.BelongsTo, Schema: "User", FieldSchema: "User",
    		References: []Reference{{"ID", "User", "CreatorID", "User", "", false}},
    	})
    }
    
    func TestSelfReferentialBelongsToOverrideReferences(t *testing.T) {
    	type User struct {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Aug 18 11:44:52 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  9. clause/select_test.go

    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}},
    			"SELECT * FROM `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Select{
    				Columns: []clause.Column{clause.PrimaryColumn},
    			}, clause.From{}},
    			"SELECT `users`.`id` FROM `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Select{
    				Columns: []clause.Column{clause.PrimaryColumn},
    			}, clause.Select{
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Feb 18 01:06:43 GMT 2023
    - 1.7K bytes
    - Click Count (0)
  10. tests/test_security_api_key_query.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyQuery(name="key")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    client = TestClient(app)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2K bytes
    - Click Count (0)
Back to Top